Skip to content

List Chains

GET /chains | Auth: None

List all supported blockchain networks. This endpoint is public and does not require authentication.

Request

No parameters required.

Response

Status: 200 OK

Fields

FieldTypeDescription
successbooleanAlways true.
chainsarrayList of supported chains.
chains[].idnumberNumeric chain ID (EVM chain ID, or internal ID for non-EVM chains).
chains[].keystringShort lowercase identifier used in other endpoints (e.g., "base", "solana").
chains[].namestringHuman-readable chain name.
chains[].native_tokenstringSymbol of the chain's native gas token.
chains[].typestringChain type: "evm" or "solana".

Example

{

"hl-key">"success": true,

"hl-key">"chains": [

{

"hl-key">"id": 1,

"hl-key">"key": "ethereum",

"hl-key">"name": "Ethereum",

"hl-key">"native_token": "ETH",

"hl-key">"type": "evm"

},

{

"hl-key">"id": 10,

"hl-key">"key": "optimism",

"hl-key">"name": "Optimism",

"hl-key">"native_token": "ETH",

"hl-key">"type": "evm"

},

{

"hl-key">"id": 56,

"hl-key">"key": "bsc",

"hl-key">"name": "BNB Smart Chain",

"hl-key">"native_token": "BNB",

"hl-key">"type": "evm"

},

{

"hl-key">"id": 137,

"hl-key">"key": "polygon",

"hl-key">"name": "Polygon",

"hl-key">"native_token": "MATIC",

"hl-key">"type": "evm"

},

{

"hl-key">"id": 42161,

"hl-key">"key": "arbitrum",

"hl-key">"name": "Arbitrum One",

"hl-key">"native_token": "ETH",

"hl-key">"type": "evm"

},

{

"hl-key">"id": 8453,

"hl-key">"key": "base",

"hl-key">"name": "Base",

"hl-key">"native_token": "ETH",

"hl-key">"type": "evm"

},

{

"hl-key">"id": 43114,

"hl-key">"key": "avalanche",

"hl-key">"name": "Avalanche C-Chain",

"hl-key">"native_token": "AVAX",

"hl-key">"type": "evm"

},

{

"hl-key">"id": 900,

"hl-key">"key": "solana",

"hl-key">"name": "Solana",

"hl-key">"native_token": "SOL",

"hl-key">"type": "solana"

}

]

}

Errors

This endpoint has no endpoint-specific errors. Standard server errors (500) may still occur.

Code Examples

curl

-kw">curl https://api.suwappu.bot/v1/agent/chains

Python

import requests

response = requests.get(class="hl-str">"https:class="hl-commentclass="hl-str">">//api.suwappu.bot/v1/agent/chains")

chains = response.json()[class="hl-str">"chains"]

for chain in chains:

print(fclass="hl-str">"{chain[class="hl-str">'name']} ({chain[class="hl-str">'key']}) - {chain[class="hl-str">'type']}")

TypeScript

const response = await fetch(class="hl-str">"https:class="hl-commentclass="hl-str">">//api.suwappu.bot/v1/agent/chains");
const { chains } = await response.json();

chains.forEach((chain) => {

console.log(${chain.name} (${chain.key}) - ${chain.type});

});