API Reference
Supported Chains
Returns every configured chain available to xPath.
Header Parameters
api-key*string
Required API key used for authenticated access and account-based rate limits. Missing or invalid keys return 401.
Response Body
application/json
text/plain
text/plain
curl -X GET "https://api.xpath.rath.fi/supported-chains" \ -H "api-key: YOUR_API_KEY"{
"code": 0,
"message": "success",
"data": [
{
"id": 8453,
"name": "base",
"displayName": "Base",
"logoUrl": "https://assets.coingecko.com/coins/images/31164/small/base.png",
"explorerUrl": "https://basescan.org",
"publicRpcUrl": "https://mainnet.base.org",
"xpathContract": "0xbaDdAD91Dad69477cA73185882dFeCB3BDC1B03A",
"chainType": "evm",
"isTestnet": false,
"nativeToken": {
"symbol": "ETH",
"name": "Ethereum",
"decimals": 18,
"logoUrl": "https://assets.coingecko.com/coins/images/279/small/ethereum.png",
"coingeckoId": "ethereum"
},
"features": {
"gaslessSwaps": true,
"crossChain": true,
"permit2": true
}
},
{
"id": 42161,
"name": "arbitrum",
"displayName": "Arbitrum One",
"logoUrl": "https://assets.coingecko.com/coins/images/16547/small/photo_2023-03-29_21.47.00.jpeg",
"explorerUrl": "https://arbiscan.io",
"publicRpcUrl": "https://arb1.arbitrum.io/rpc",
"xpathContract": "0xc48E29e5bf20D26Cd5D52CC381C15CA598582f2f",
"chainType": "evm",
"isTestnet": false,
"nativeToken": {
"symbol": "ETH",
"name": "Ethereum",
"decimals": 18,
"logoUrl": "https://assets.coingecko.com/coins/images/279/small/ethereum.png",
"coingeckoId": "arbitrum-one"
},
"features": {
"gaslessSwaps": true,
"crossChain": true,
"permit2": true
}
},
{
"id": 999,
"name": "hyperevm",
"displayName": "HyperEVM",
"logoUrl": "https://d1tmxgi96tgufh.cloudfront.net/chains/HyperEvm.png",
"explorerUrl": "https://hyperevmscan.io",
"publicRpcUrl": "https://rpc.hypurrscan.io",
"xpathContract": "0xbaDdAD91Dad69477cA73185882dFeCB3BDC1B03A",
"chainType": "evm",
"isTestnet": false,
"nativeToken": {
"symbol": "HYPE",
"name": "HYPE",
"decimals": 18,
"logoUrl": "https://d1tmxgi96tgufh.cloudfront.net/chains/HyperEvm.png",
"coingeckoId": "hyperevm"
},
"features": {
"gaslessSwaps": true,
"crossChain": true,
"permit2": true
}
}
]
}"Invalid request""Internal server error"