Skip to content

Oracle API

OpenAPI reference for the Oracle REST API.

MCP endpoints are not included in this reference.

For live price streams, see Price WebSocket API.

Base URL

text
https://api.coinpost.ai/oracle

Authentication

Send the API key in the CP-X-API-KEY header.

Example format:

text
CP-X-API-KEY: <your-api-key>

Resource Groups

  • Health: service health check
  • Prices: latest asset prices and legacy price endpoints
  • Candles: historical and latest candle data
  • Assets: configured asset list
  • Fiat: fiat exchange rates
  • Crypto: crypto sectors and market overview
  • Rankings: token rankings

WebSocket

  • Production URL: wss://api.coinpost.ai/oracle/ws/prices
  • Streams live source ticks, aggregate updates, and finalized tick buckets
  • Authentication for the WebSocket upgrade is documented on the Price WebSocket API page

Response Convention

  • Response shapes are defined per operation page.
  • Deprecated endpoints are kept in the reference for compatibility.