Assets
Get an asset's metric history
GEThttps://api.arzdigital.com/v1/assets/{slug}/metrics
X-API-Key headerHow credits workSend type, plus either range or all of from, to and interval. With from, to and interval the window can hold at most 1000 points.
Credit use: Each successful call costs 1 credit for every 100 points it returns, rounded up. For example, 250 points cost 3 credits.
An empty result and any error cost nothing.
Parameters
slugstringPathRequiredAsset slug, such asbitcoin.typestringQueryRequiredThe metric.volume_market_cap_ratiois returned as a percentage.circulating_supplydominancevolumemarket_capvolume_market_cap_ratiorangestringQueryWindow ending now. Cannot be combined withfrom,toorinterval.1d7d1m3m6m1yallfromintegerQueryWindow start, in Unix seconds. Requirestoandinterval.tointegerQueryWindow end, in Unix seconds. Requiresfromandinterval.intervalstringQueryPoint spacing. Requiresfromandto.Allowed values (11)
5m30m2h6h12h1d2d3d7d30d60d
Request headers
X-API-KeystringRequiredYour API key. Send it in this header on every call; it is not accepted in the URL.
Response
Metric points.
Response fields (4)
statusstringdataarraydata[].timeintegerUnix seconds.data[].valuenumber
Response headers
X-Credits-ChargedCredits this call cost.0on every non-200 response.X-Credits-RemainingAccount 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-LimitRequests per minute allowed for this key.X-RateLimit-RemainingRequests left in the current window.X-RateLimit-ResetUnix seconds at which the window has room again.
Errors
bad_requesterror_code 1001A parameter is missing
Errors are never charged. Errors