Get Chains
Returns the full list of supported chains with their chain IDs and metadata.
GET/chains
Returns the full list of supported chains with their chain IDs and metadata. The Nordstern API is live on 100+ EVM-compatible chains.
Response
A JSON object keyed by chain ID. Each entry describes one supported chain. See the Supported Chains page for a searchable list of all entries.
[chainId].ChainIDstringChain ID as a string.
[chainId].ChainNamestringLowercase internal chain identifier.
[chainId].RouterAddressstringGuard Contract address for this chain (same as tx.to in swap responses).
[chainId].DefillamaNamestringDeFiLlama chain identifier, useful for cross-referencing TVL and price data.
Example request
curl 'https://api.nordstern.finance/chains' \
-H "Referer: https://yourdomain.com"const response = await fetch(
"https://api.nordstern.finance/chains",
{ headers: { "Referer": "https://yourdomain.com" } }
);
const chains = await response.json();
console.log(chains);import requests
headers = {"Referer": "https://yourdomain.com"}
response = requests.get("https://api.nordstern.finance/chains", headers=headers)
print(response.json())Example response
Status 200 — chain map (truncated):
{
"1": {
"ChainID": "1",
"ChainName": "ethereum",
"RouterAddress": "0xa929c559E5e6537359680F39CB4E3708E1a14dd1",
"DefillamaName": "ethereum"
},
"8453": {
"ChainID": "8453",
"ChainName": "base",
"RouterAddress": "0xC87De04e2EC1F4282dFF2933A2D58199f688fC3d",
"DefillamaName": "base"
}
}Note:
Don't see your chain? Reach out on Telegram and we'll prioritize adding support for your project.