Skip to main content
POST
Surf Polymarket OHLCV Candlesticks

Request contract

  • Method and path: POST /apis/v1/surf/prediction-market/polymarket/price-ohlcv
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/surf/prediction-market/polymarket/price-ohlcv
  • Runtime facts: 986d7b557d4db8647aee169884ac6410895d723df086210d7e098b01fc34c6c5
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
condition_id
string
required

Polymarket condition ID. Example: 0x6fefc0438c7598b23531457c8c60541990d0786bd4bd9dfc3eabc8d95c291092.

Minimum string length: 1
end_time
integer

End time (Unix seconds). 0 means current time. Cache aligns to 5-minute buckets, so two requests within the same bucket return the same cached result.

Required range: 0 <= x <= 9007199254740991
interval
integer
default:60

Candle interval in minutes: 1=1min, 60=1hour, 1440=1day. Defaults to 60.

Required range: 1 <= x <= 1440
start_time
integer

Start time (Unix seconds). 0 means no lower bound. Cache aligns to 5-minute buckets, so two requests within the same bucket return the same cached result.

Required range: 0 <= x <= 9007199254740991

Response

Normalized successful response

data
object
required