Get the exchange rate for two assets
GET/v1/exchange-rate/:sourceAssetId/:targetAssetId
The endpoint returns the exchange rate from source to target asset.
Request
Responses
- 200
- 401
- 404
- 429
- 500
- 503
Success Response
Unauthorized
Not Found
Too Many Requests
Response Headers
x-ratelimit-limit
The rate limit ceiling for the current time window. Envoy may include multiple limits and window metadata.
Example:
50, 50;w=1x-ratelimit-remaining
The number of requests remaining in the current rate limit window.
Example:
0x-ratelimit-reset
The number of seconds until the current rate limit window resets.
Example:
1x-envoy-ratelimited
Indicates the request was rate limited by the Envoy proxy.
Example:
trueError
Maintenance or Service unavailable