Skip to main content

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.

NetworkId
Ethereumethereum
Optimismoptimism
Binance Smart Chain(BSC)bsc
Polygonpolygon
Sonicsonic
Basebase
Arbitrumarbitrum
Avalancheavalanche
Trontron
Ethereum Classicethereum-classic
Tonton
Bitcoinbitcoin
Litecoinlitecoin
Solanasolana
Suisui
Aptosaptos
Dogecoindogecoin
Ripple(Xrp)ripple
Cardanocardano
Bitcoin Cashbch
Polkadotpolkadot

Developer Info

  • Built and maintained by the EXTRA WALLET team.
  • Source: API