Get historical fungible token contract rates

Get a paginated list of historical daily rates for a fungible token within the given time range by its contract package hash.

GET /ft/{contract_package_hash}/daily-rates

Query params

Query param
Description

currency_id

Currency identifier (required)

dex_id

DEX identifier

from

Start of the range in the ISO 8601 format

to

End of the range in the ISO 8601 format

Sorting

Property
Description

date

Sort rates by date

Default sorting is date DESC

Optional properties

None

Response

PaginatedResponse<FTDailyRate>

Example

curl -X 'GET' \
  'https://api.cspr.cloud/ft/F5E3729B502597FDD7BE9ECEDB6F73E4530F5E8A4C809F269D757677CBE49B78/daily-rates?currency_id=1' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": [
    {
      "date": "2025-11-12T00:00:00Z",
      "amount": "0.00005880702226729934",
      "token_contract_package_hash": "f5e3729b502597fdd7be9ecedb6f73e4530f5e8a4c809f269d757677cbe49b78",
      "dex_id": 2,
      "currency_id": 1
    },
    {
      "date": "2025-11-10T00:00:00Z",
      "amount": "0.00003157395985908806",
      "token_contract_package_hash": "f5e3729b502597fdd7be9ecedb6f73e4530f5e8a4c809f269d757677cbe49b78",
      "dex_id": 2,
      "currency_id": 1
    },
    ...
    {
      "date": "2025-10-21T00:00:00Z",
      "amount": "0.000386411469662562",
      "token_contract_package_hash": "f5e3729b502597fdd7be9ecedb6f73e4530f5e8a4c809f269d757677cbe49b78",
      "dex_id": 2,
      "currency_id": 1
    }
  ],
  "item_count": 217,
  "page_count": 22
}

Last updated