GET
/
transactions
/
metrics
/
historical
Transaction Metrics Historical
curl --request GET \
  --url https://api.amberdata.com/blockchains/transactions/metrics/historical \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "records": [
      {
        "timestamp": "2022-11-08T00:00:00.000Z",
        "confirmationTimeAverage": "951.8686480374737522",
        "feesAverage": "5121434280204636.9542",
        "feesAverageUSD": "8.02809306",
        "feesTotal": "5797709434037098854730",
        "feesTotalUSD": "9088186.68973826",
        "gasPriceAverage": "56990615164.07242714",
        "pendingValueTotal": "6433693181859762014619483",
        "pendingTransactionsTotal": "2817570",
        "transactionsTotal": "1132048",
        "transfersTotal": "1295600",
        "valueAverage": "4736497943222167371",
        "valueAverageUSD": "7424.68694806",
        "valueTotal": "5361943023628768128505703",
        "valueTotalUSD": "8405102010.18226"
      }
    ],
    "metadata": {
      "feesUnit": "wei",
      "valueUnit": "wei"
    },
    "totalRecords": 744
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-amberdata-blockchain-id
enum<string>
default:ethereum-mainnet

The id of the blockchain

Available options:
bitcoin-mainnet,
bitcoin-abc-mainnet,
ethereum-mainnet,
litecoin-mainnet

Query Parameters

startDate
string<date-time>

Filter by data after this date.

endDate
string<date-time>

Filter by data before this date.

timeFrame
string
default:1d

time frame to return the historical data in, options: (1m, 5m, 1h, 1d, 1w)

timeFormat
string

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

Response

200
application/json

OK

The response is of type object.