Skip to main content

Documentation Index

Fetch the complete documentation index at: https://polyfeed.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Timeseries endpoints (snapshots, quotes, prices) use cursor pagination. Lightweight resource lists (markets, tiers) use unpaginated skip style.

Cursor format

The cursor query param is an opaque base64url string — do not parse. Encodes (timestamp_ms, id) for stable keyset pagination.

Request

GET /v1/btc/markets/{conditionId}/snapshots?from=2026-04-01T00:00:00Z&limit=100

Response

{
  "data": [
    { "timestamp": "2026-04-01T00:00:00.000Z", ... },
    ...
  ],
  "nextCursor": "eyJ0IjoxNzQzNTUwNDAwMDAwLCJpIjo0Mn0"
}

Continuation

GET /v1/btc/markets/{conditionId}/snapshots?cursor=eyJ0IjoxNzQzNTUwNDAwMDAwLCJpIjo0Mn0&limit=100
When nextCursor is null or absent, you have reached the end.

Limits

  • limit: 1 to 1000, default 100.
  • Combine cursor with from/to to constrain time window.

At-timestamp lookups

For “closest snapshot to time X” use the /at/{ts} sibling routes — they return a single nearest record by abs(timestamp - target), no cursor.
GET /v1/btc/markets/{conditionId}/snapshots/at/2026-04-01T12:00:00Z