Markets

Settlement window for a crypto up/down market

Min tier: free. Every Chainlink observation across the window that settles this market, plus their mean and an explicit coverage verdict.

window is your input, not something derived from the market. Polymarket uses 30 seconds for 5-minute markets and 60 for 15-minute ones, but start_date is null or wrong on all but a handful of catalog rows, so the market cannot say which kind it is. Inferring it would silently return the wrong window for half the surface; the default is 30 and the response always echoes what was used.

The {slug} segment also accepts a raw condition_id, though symbol resolution reads the slug, so a condition_id only works for markets that have a catalog row.

Equity and index up/down markets (aapl-, spx-) return 404: they settle on Pyth feeds that are not recorded here.

get/v1/markets/{slug}/twap

Request

  • Base URL: https://crowdintel.xyz/api
  • URL: https://crowdintel.xyz/api/v1/markets/{slug}/twap
  • Auth: HTTP bearer

Path parameters

slugstring required

Polymarket market slug.

Query parameters

window30 | 60

Settlement window in seconds. 30 for 5-minute markets, 60 for 15-minute.

Response

Observations across the settlement window, oldest first.

condition_idstring
slugstring
symbolstring

The feed symbol this market settles against.

settles_atinteger

Market close, unix ms — the instant the settlement TWAP is taken.

window30 | 60

The window used, echoing your request.

window_meannumber nullable

Mean of value across the returned observations; null when nothing was captured.

coverage'none' | 'partial' | 'complete'

none = the market settled before recording began (permanent for anything before capture start — the feed has no history). partial = fewer observations than the feed's ~1/s cadence implies. complete = the window is covered. An empty data array on its own cannot distinguish "unrecorded" from "flat".

next_cursorstring nullable

Example response

{
  "symbol": "btc/usd",
  "data": [
    {
      "symbol": "btc/usd",
      "value_e18": "64260125233995673763840"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.