Assets

Get an asset's highs and lows

GEThttps://api.arzdigital.com/v1/assets/{slug}/ath-atl
X-API-Key headerHow credits work

The high and low per range, in USD and Toman. The all entry holds the all-time high and low.

Credit use: Each successful call costs 1 credit, whatever it returns.

An empty result and any error cost nothing.

Parameters

  • slugstringPathRequired
    Asset slug, such as bitcoin.
    Example: bitcoin

Request headers

  • X-API-KeystringRequired

    Your API key. Send it in this header on every call; it is not accepted in the URL.

Response

Highs and lows keyed by range.
Response fields (2)
  • statusstring
  • dataobject
    Keyed by range. all holds the all-time values.

Response headers

  • X-Credits-Charged
    Credits this call cost. 0 on every non-200 response.
  • X-Credits-Remaining
    Account balance after this call, not counting what calls still in flight have set aside. Negative only for an account in debt after an adjustment.
  • X-RateLimit-Limit
    Requests per minute allowed for this key.
  • X-RateLimit-Remaining
    Requests left in the current window.
  • X-RateLimit-Reset
    Unix seconds at which the window has room again.

Errors

  • bad_requesterror_code 1001
    A parameter is missing

Errors are never charged. Errors