POST /spreads

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/polymarket/spreadsCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Get bid/ask spreads for many outcome tokens (batch read POST).

Parameters

nameintypedescription
bodybodylist[dict]requiredJSON array of objects carrying a token_id
example: [{"token_id":"17640596861394454242836532536014033416733783473450136742726948856144855149507"}]

Response

type: object
pagination: none
sample: {
  "17640596861394454242836532536014033416733783473450136742726948856144855149507": "str"
}

Safe request

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

curl -sX POST "https://openapihub.dev/run/polymarket/spreads" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"body": [{"token_id": "17640596861394454242836532536014033416733783473450136742726948856144855149507"}]}'