Skip to content

Oracle Price

Get Trading Pair Oracle Information

Get the Oracle price identifier for a specified trading pair.

HTTP Request

GET
/api/perp-market-api/oracle

Request Frequency Restriction:

  • Recommended: no more than 3 times per second

Request Parameters

Name Type Required Description
symbol string Yes Trading pair symbol, e.g., ETH-PERP

Response Fields Description

Name Type Description
data string Oracle price identifier ID

Response Example

{
  "code": 200,
  "message": "success",
  "data": "0xef0d6b6f8c8d8c8d8c8d8c8d8c8d8c8d8c8d8c8d8c8d8c8d8c8d8c8d8c8d"
}

Description

Oracle price identifier is used to obtain oracle price data on-chain.