Networks List
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/onchain/networks \
--header 'x-cg-pro-api-key: <api-key>'{
"data": [
{
"id": "eth",
"type": "network",
"attributes": {
"name": "Ethereum",
"coingecko_asset_platform_id": "ethereum"
}
},
{
"id": "bsc",
"type": "network",
"attributes": {
"name": "BNB Chain",
"coingecko_asset_platform_id": "binance-smart-chain"
}
}
]
}ID Map
Networks List
To retrieve a list of all supported networks on GeckoTerminal
GET
/
onchain
/
networks
Networks List
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/onchain/networks \
--header 'x-cg-pro-api-key: <api-key>'{
"data": [
{
"id": "eth",
"type": "network",
"attributes": {
"name": "Ethereum",
"coingecko_asset_platform_id": "ethereum"
}
},
{
"id": "bsc",
"type": "network",
"attributes": {
"name": "BNB Chain",
"coingecko_asset_platform_id": "binance-smart-chain"
}
}
]
}Use this endpoint to get network IDs for other endpoints that require a
network parameter.SDK Examples
const response = await client.onchain.networks.get();
console.log(JSON.stringify(response, null, 2));
Authorizations
headerAuthqueryAuth
Learn how to set up your API key
Query Parameters
Page through results. Default value: 1
Response
200 - application/json
List of supported networks
Show child attributes
Show child attributes
Was this page helpful?
⌘I

