GET
/
{asset}
/
supply
/
historical
Historical
curl --request GET \
  --url https://api.amberdata.com/market/metrics/{asset}/supply/historical \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "metadata": {
      "startDate": "2021-01-22T00:00:00.000Z",
      "endDate": "2021-01-26T16:42:50.026Z"
    },
    "data": [
      {
        "timestamp": "2021-01-22T00:00:00.000Z",
        "issuance": "6.25",
        "totalSupply": "18607677.29497096",
        "circulatingSupply": "18607618",
        "maxSupply": "21000000"
      },
      {
        "timestamp": "2021-01-23T00:00:00.000Z",
        "issuance": "6.25",
        "totalSupply": "18608652.29497096",
        "circulatingSupply": "18608487",
        "maxSupply": "21000000"
      },
      {
        "timestamp": "2021-01-24T00:00:00.000Z",
        "issuance": "6.25",
        "totalSupply": "18609521.04497096",
        "circulatingSupply": "18609437",
        "maxSupply": "21000000"
      },
      {
        "timestamp": "2021-01-25T00:00:00.000Z",
        "issuance": "6.25",
        "totalSupply": "18610396.04497096",
        "circulatingSupply": "18610293",
        "maxSupply": "21000000"
      }
    ]
  }
}

Authorizations

x-api-key
string
header
default:API-KEY
required

Path Parameters

asset
string
default:btc
required

The symbol of the asset or token. <BR>[Example] BTC, ETH, MATIC, etc.

Query Parameters

startDate
string<date-time>

Returns data after this date. Accepts ISO8601 and Epoch/Unix timestamps

endDate
string<date-time>

Returns data before this date. Accepts ISO8601 and Epoch/Unix timestamps

timeFormat
string
default:iso

[Optional] Time format of the timestamps in the return payload.<BR/>[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200
application/json

200

The response is of type object.