Get the latest fungible token contract rate

Get the latest rate for a fungible token by its contract package hash.

GET /ft/{contract_package_hash}/rates/latest

Query params

Query param
Description

currency_id

Currency identifier (required)

dex_id

DEX identifier

Sorting

None

Optional properties

None

Response

FTRate

Example

curl -X 'GET' \
  'https://api.cspr.cloud/ft/F5E3729B502597FDD7BE9ECEDB6F73E4530F5E8A4C809F269D757677CBE49B78/rates/latest?currency_id=1' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": {
    "amount": "0.00012126881",
    "transaction_hash": "3124a6f8b33bde9754e37bfb87b5104aaad96678fcb5a6389614860bc41d657d",
    "token_contract_package_hash": "f5e3729b502597fdd7be9ecedb6f73e4530f5e8a4c809f269d757677cbe49b78",
    "dex_id": 2,
    "currency_id": 1,
    "timestamp": "2025-11-12T09:47:18Z"
  }
}

Last updated