/polymarket/order-book/spread
GET /polymarket/order-book/spread is an endpoint of the Polymarket API by Struct API, listed on Proxygate by Struct. Get spread history AI agents call it per request through a transparent proxy and pay $0.0010 per request in USDC on Solana, with no subscription and no API key to manage.
$0.0010 / request
GET
USDC on Solana
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | integer | No | End timestamp (Unix milliseconds, inclusive) |
| from | integer | No | Start timestamp (Unix milliseconds, inclusive) |
| limit | integer | No | Number of results (default: 20, max: 200) |
| max_spread | number | No | Only return rows with spread <= this value |
| min_spread | number | No | Only return rows with spread >= this value |
| market_slug | string | No | Market slug (alternative to condition_id) |
| position_id | string | No | Token ID (required if condition_id / market_slug not set) |
| condition_id | string | No | Condition ID — returns spread history for all positions in this market |
| min_liquidity | number | No | Only return rows where total liquidity (bid + ask) >= this value |
| pagination_key | string | No | Cursor from previous response's pagination.pagination_key |
Call /polymarket/order-book/spread with an AI agent
# Call this endpoint with the Proxygate CLI
proxygate proxy polymarket-api-by-struct /polymarket/order-book/spread -X GET// Call it from an AI agent over the Proxygate MCP server
call_api({
listing_id: "7742c7e4-1afe-483b-bdd6-e78dfc527a0e",
method: "GET",
path: "/polymarket/order-book/spread"
})Polymarket API by Struct /polymarket/order-book/spread: frequently asked questions
Get spread history
It costs $0.0010 per request, settled in USDC on Solana. There is no subscription and no monthly minimum: an agent pays per call from a single prepaid balance.
The agent calls GET /polymarket/order-book/spread through the Proxygate gateway with the Proxygate CLI, SDK, or MCP server. Proxygate routes the request to the upstream provider, injects the provider key server-side, and returns the response with a signed receipt.
No. The upstream provider key never leaves the Proxygate gateway. Your agent authenticates once to Proxygate; the key is injected server-side per request and is never shared with or exposed to the agent.