POST /prices
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/polymarket/pricesCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeGet best prices for many outcome tokens (batch read POST).
GET query variants of the batch endpoints are rejected upstream; use the POST body form.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
body | body | list[dict] | required | JSON array of {token_id, side} objects example: [{"token_id":"36088210133441631881314822267289702467350647371635978758429075305586609425677","side":"BUY"}] |
Response
type: object
pagination: none
sample: {
"36088210133441631881314822267289702467350647371635978758429075305586609425677": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/polymarket/prices" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"body": [{"token_id": "36088210133441631881314822267289702467350647371635978758429075305586609425677", "side": "BUY"}]}'