Polymarket API endpoint
Returns the current midpoint price for one Polymarket outcome token, identified by the required `token_id`, as a single `midpoint` number such as 0.285. It is a read-only snapshot, returned with a `fetched_at` time and the `token_id`, and is not investment advice.
/polymarket/token/{token_id}/midpointPath parameters:
token_id: required Polymarket CLOB token id.Notable response behavior:
| Field | In the sample | Value in the sample |
|---|---|---|
| token_id | Has a value | |
| midpoint | Has a value | 0.5 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| token_id (path) | string | Yes | Polymarket CLOB token id | 81927025054404355287140018940169293739219157042658469116956164881873598220211 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/polymarket/token/81927025054404355287140018940169293739219157042658469116956164881873598220211/midpoint" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"token_id": "81927025054404355287140018940169293739219157042658469116956164881873598220211",
"midpoint": 0.285
}
}Request schema
No body schema
Response schema
#/definitions/polymarket.tokenMidpointResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | polymarket.TokenMidpointResponse | No | ||||
| data.fetched_at | string | No | 2026-06-07T11:00:00Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.midpoint | number | No | 0.285 | Midpoint between the best bid and best ask for the token. | ||
| data.source_url | string | No | https://clob.polymarket.com/midpoint?token_id=81927025054404355287140018940169293739219157042658469116956164881873598220211 | URL the data was read from. | ||
| data.token_id | string | No | 81927025054404355287140018940169293739219157042658469116956164881873598220211 | Token id of the outcome that was requested. | ||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/polymarket/token/81927025054404355287140018940169293739219157042658469116956164881873598220211/midpoint" \
-H "x-api-key: $CRAWLORA_API_KEY"