Skip to main content
GET
/
v1
/
prices
/
{centos_id}
Get Prices
curl --request GET \
  --url https://api.centosfi.com/v1/prices/{centos_id}
{
  "centos_id": 123,
  "exchange": "<string>",
  "type": "candlesticks",
  "candlesticks": [
    {
      "timestamp": 123,
      "open": 123,
      "high": 123,
      "low": 123,
      "close": 123,
      "volume": 123
    }
  ],
  "history": [
    {
      "timestamp": 123,
      "price": 123
    }
  ]
}

Path Parameters

centos_id
integer
required

Centos market ID

Query Parameters

type
enum<string>
default:candlesticks

Response type

Available options:
candlesticks,
history
interval
enum<string>
default:1d

Time range

Available options:
1d,
1w,
1m,
max
fidelity
integer
default:60

Minutes per data point (for Polymarket history)

Required range: 1 <= x <= 60

Response

Successful Response

Response for price queries.

centos_id
integer
required
exchange
string
required
type
enum<string>
required
Available options:
candlesticks,
history
candlesticks
PriceCandlestick · object[] | null
history
PricePoint · object[] | null