GET /markets-by-token/{token_id}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/polymarket/markets-by-token/{token_id}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Get CLOB market info by outcome token id.

Parameters

nameintypedescription
token_idpathstrrequiredCLOB outcome token id
example: 36088210133441631881314822267289702467350647371635978758429075305586609425677

Response

type: object
pagination: none
sample: {
  "condition_id": "str",
  "primary_token_id": "str",
  "secondary_token_id": "str"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/markets-by-token/36088210133441631881314822267289702467350647371635978758429075305586609425677"