GET /v2/tokens

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/polymarket/v2/tokensCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Resolve outcome token ids or condition ids to condition, outcome and market references.

Parameters

nameintypedescription
token_idquerystroptionalComma-separated outcome token ids (exactly one selector per request)
example: 88628571294043584642769521373166326587735244942541119761020769172384836921620
conditionquerystroptionalComma-separated condition ids (at most 20 distinct values)
example: 0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe

Response

type: object
pagination: none
sample: {
  "data": "array[1]"
}

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/v2/tokens?token_id=88628571294043584642769521373166326587735244942541119761020769172384836921620&condition=0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe"