Get Token Series

Get a series of data points representing historical market or ledger data for a specific token. Either specify the time range or the sequence range. Not both.

Path Parameters

A string uniquely identifying the token by concatenating the currency code with the issuing address using a colon, for example: "USD:rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B".

The type of metric you want to fetch.

Query Parameters

A unix timestamp specifying the first data point. Negative values are interpreted as time back from now.

A unix timestamp specifying the last data point. Negative values are interpreted as time back from now.

The time interval between data points in seconds.

The ledger sequence specifying the first data point. Negative values are interpreted as ledgers back from current.

The ledger sequence specifying the last data point. Negative values are interpreted as ledgers back from current.

The ledger interval between data points.

Response

The unix timestamp of the data point. Only present if a time range was specified.

The ledger sequence of the data point. Only present if a sequence range was specified.

The value of the data point.