Networks
Enumerate supported blockchain networks. See Currencies & Networks for how network identifiers relate to currency codes.
List Networks
GET /network/
Request
curl -X GET "https://api.n.exchange/en/api/v2/network/" \
-H "Accept: application/json" \
-H "Authorization: ApiKey YOUR_API_KEY"
Authentication: API key required — see Authentication.
Parameters: none. The response is a plain array (no pagination).
Response
| Field | Type | Description |
|---|---|---|
network | string | Network name |
native_currency | string/null | Currency code of the network's main currency, or null when none is configured |
Example response:
[
{
"network": "Bitcoin",
"native_currency": "BTC"
},
{
"network": "Ethereum",
"native_currency": "ETH"
},
{
"network": "Binance Smart Chain",
"native_currency": "BNB"
},
{
"network": "Solana",
"native_currency": "SOL"
}
]
Identifier forms
This endpoint returns network display names (Ethereum, Binance Smart Chain). The network values used in currency objects and order requests are short codes (ETH, BSC). Enumerate GET /currency/ for the code-form mapping rather than hardcoding either list.
Get Network Details
GET /network/{name}/
Path parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Network name as returned by the list endpoint |
curl -X GET "https://api.n.exchange/en/api/v2/network/Ethereum/" \
-H "Accept: application/json" \
-H "Authorization: ApiKey YOUR_API_KEY"
{
"network": "Ethereum",
"native_currency": "ETH"
}
Errors
| Status | Meaning | Body |
|---|---|---|
401 | Missing/invalid API key | {"detail": "Authentication credentials were not provided."} |
404 | Unknown network name | {"detail": "Not found"} |
Next steps
- Currencies — which currencies live on each network
- Currencies & Networks concepts