The POST /
endpoint is your primary tool for fetching real time exchange rates for specific token pairs, supporting batch requests for efficiency
POST /
Returns real time exchange rates for one or more token pairs across specified blockchains. This is the primary endpoint for fetching price data
Description
- Provides the current exchange rate (
price
) for requested token pairs - Supports batch requests, allowing you to query up to 25 pairs in a single API call for optimized performance
- Requires
domestic_blockchain
,domestic_token
,foreign_blockchain
andforeign_token
for each pair
- 400 Bad Request: Invalid request payload (eg: missing required fields, malformed JSON)
- 500 Server Error: An unexpected error occurred on the server