stablecoin

Get Price

🚧 Deprecation notice

This endpoint will be deprecated on 4 November 2026. Use GET /defi/v1/oracle/getprice instead.

Retrieves the latest USDT-denominated market price for supported stablecoins (e.g., USDT, USDC), including round ID, price, and recorded timestamps.

💡 Compute Unit Value: 25 (Fixed)

get/defi/v1/stablecoin/getprice

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/stablecoin/getprice
  • Auth
    API key in header X-API-Key

Query parameters

assetstring required

The name of the stablecoin whose price needs to be fetched.

Example:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
stablecoinIdstring

The stablecoinId parameter specifies the unique identifier for the requested stablecoin. Use 700 for USDT or 800 for USDC when querying data on the Ethereum chain.

Example:700

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "roundId": "36893488147419104052",
    "answer": "0.99999",
    "startedAt": "1675316735",
    "updatedAt": "1675316735",
    "answeredInRound": "36893488147419104052"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.