API
About
The EXTRA WALLET API provides a comprehensive suite of endpoints for interacting with multiple blockchain networks, querying balances, fetching token prices, estimating gas fees, checking transaction histories, and managing user payment credits.
This page contains general principles, conventions, and information that should be understood before exploring specific API modules.
Authentication
Certain endpoints — such as Wallet Recovery Tool — require authentication via an API Key.
When calling protected endpoints, you must include your API key in the request headers:
x-api-key: your_api_key_here
Endpoints regarding public data (like gas, prices, and balances) generally do not require API key authentication.
Request & Response Format
- Content-Type: All POST and PUT requests expect a JSON payload (
application/json). - Standard Responses: A successful request typically returns a JSON object with the requested information mapped to corresponding fields. Error responses will have a clear description and return a standard HTTP error code (e.g., 400 Bad Request, 500 Internal Server Error).
Rate Limiting
The API includes middleware rate limiters. If you submit too many requests in a short time frame, you will receive an HTTP 429 Too Many Requests status code. Please respect rate limits to avoid being temporarily blocked.
Networks
Most of the routes require you to specify the network(s) you want to interact with. For that the network_ids are used.
Here is the list of supported networks and their respectful ids.
| Network | Id |
|---|---|
| Ethereum | ethereum |
| Optimism | optimism |
| Binance Smart Chain(BSC) | bsc |
| Polygon | polygon |
| Sonic | sonic |
| Base | base |
| Arbitrum | arbitrum |
| Avalanche | avalanche |
| Tron | tron |
| Ethereum Classic | ethereum-classic |
| Ton | ton |
| Bitcoin | bitcoin |
| Litecoin | litecoin |
| Solana | solana |
| Sui | sui |
| Aptos | aptos |
| Dogecoin | dogecoin |
| Ripple(Xrp) | ripple |
| Cardano | cardano |
| Bitcoin Cash | bch |
| Polkadot | polkadot |
Developer Info
- Built and maintained by the EXTRA WALLET team.
- Source: API