Get historical fungible token daily DEX rates

Get a paginated list of historical daily DEX rates for a fungible token pair using the source token contract package hash and target token contract package hash.

GET /ft/{contract_package_hash}/daily-dex-rates

Query params

Query param
Description

target_contract_package_hash

Target token contract package hash for conversion (required)

dex_id

DEX identifier

from

Start of the range in the ISO 8601arrow-up-right format

to

End of the range in the ISO 8601arrow-up-right format

includes

Optional fields schema. Supports ft_daily_rate(currency_id,dex_id)

Sorting

Property
Description

date

Sort rates by date

Default sorting is date DESC

Optional properties

Property
Type
Description

ft_daily_rate

float32

Daily average rate of the source token in the specified fiat/crypto currency. It's a function includer that accepts currency_id and dex_id arguments.

Response

PaginatedResponse<DailyDexRate>

Example

Last updated