v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Liquidity Pool

Get Rate History

Retrieves historical snapshots for a specific rate.

Use this endpoint to fetch the rate’s history over time (for an asset pair), typically used for auditing, analytics, or charting.


Endpoint

GET https://api.blockradar.co/v1/rates/:id/history


Path Parameters

KeyRequiredTypeDescription
idtruestringThe unique identifier of the rate to retrieve history for.
get/v1/rates/{id}/history

Response

200

messagestring
statusCodenumber

Example response

{
  "data": [
    {
      "id": "d69078ef-2467-40f4-bb00-63394efe32c0",
      "fromAsset": "BNB",
      "toAsset": "USDC",
      "network": "testnet",
      "rate": "1",
      "minAmount": "0.000005",
      "isActive": false,
      "maxAmount": null,
      "status": "deactivated",
      "version": 1,
      "previousRateId": null,
      "rootRateId": null,
      "createdBy": "86964e42-79dc-4267-a2ca-3612c4b095a8",
      "deactivatedBy": "86964e42-79dc-4267-a2ca-3612c4b095a8",
      "deactivatedAt": "2026-02-25T18:13:48.113Z",
      "deactivationReason": "re",
      "createdAt": "2026-02-19T07:50:17.042Z",
      "updatedAt": "2026-02-25T18:13:48.101Z"
    }
  ],
  "message": "Rate history retrieved successfully",
  "meta": {
    "totalItems": 1,
    "itemCount": 1,
    "itemsPerPage": 10,
    "totalPages": 1,
    "currentPage": 1
  },
  "statusCode": 200
}