List Asset Rates
GET/b2b/assets/:asset/rates
Returns historical rates for a given asset.
This endpoint returns historical rates for a given asset. The response includes the timestamp for the period the rate is for and the median price of the asset during the period (daily).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 409
- 429
- 500
- 503
Response
Bad Request. Error codes:
ENexus:Unknown base asset— not retryableENexus:Unknown quote asset— not retryableENexus:Interval is too large— not retryableENexus:Invalid start time— not retryableENexus:Invalid end time— not retryable
Unauthorized — authentication failed or credentials are missing/invalid. Not retryable.
Forbidden — the authenticated user does not have permission to perform this action. Not retryable.
Not Found — the requested resource does not exist. Not retryable.
Request Timeout — the request took too long to process. Retryable.
Conflict — the request conflicts with the current state of the resource. Retryable in some cases (see error code).
Too Many Requests — rate limit exceeded. Retryable with backoff.
Internal Server Error — an unexpected error occurred. Generally retryable.
Service Unavailable — the service is temporarily unavailable. Retryable.