Don’t have an API key?
Go to console.chainbase.com to create an account and a new API key.
Supported chains by use case
When calling the Domain API, you can use the Network ID listed in the table below as the chain_id parameter. Domain API only supports EVM-compatible blockchains for now.
We will continue to add support for new blockchains. If there is a chain that you wish to support, but we do not, please let us know by reaching out to [email protected].
| Chain | Network ID | ENS | SPACE ID |
|---|---|---|---|
| Ethereum | 1 | ✅ | |
| Polygon | 137 | ||
| BNB | 56 | ✅ | |
| Avalanche | 43114 | ||
| Fantom | 250 | ||
| Arbitrum | 42161 | Coming soon | |
| Optimism | 10 |
Domain API Endpoints by use case
ENS
| Endpoint | What to use it for? |
|---|---|
| getAccountENS | Get ENS domains |
| getENSRecords | Resolve ENS domain |
| getENSReverse | Reverse resolve ENS domain |
SPACE ID
| Endpoint | What to use it for? |
|---|---|
| getSPACEIDRecords | Resolve SPACE ID domain |
| getSPACEIDReverse | Reverse resolve SPACE ID domain |
