Polymarket API

Polymarket Markets API

Discover Polymarket prediction markets (question, outcome prices, volume, liquidity, and end dates) by keyword or sorted by activity, as normalized JSON.

POST/v1/run/polymarket.markets
Uptime
100.00%
30d · 11 calls
Requests
14
30d · weekly, last 12 wks
Response
7.6s
median · 30d

Call it

Make your first request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/polymarket.markets",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "query": ""
    },
)
print(res.json())
Open in
Get a free key
Sample response
{
  "data": {
    "items": [
      {
        "endsUtc": 12.5,
        "eventTitle": "Example title",
        "id": "a1b2c3d4",
        "image": "https://example.com/image.jpg",
        "liquidityUsd": 1024,
        "outcomes": [
          {
            "name": "Example title",
            "price": 19.99
          }
        ],
        "status": "active",
        "title": "Example title",
        "url": "https://example.com/page",
        "volume24hUsd": 12500,
        "volumeUsd": 12500
      }
    ]
  },
  "found": true
}
Response interface
interface PolymarketMarketsResponse {
  data: {
    items: {
      endsUtc?: number;
      eventTitle?: string;
      id: string;
      image?: string;
      liquidityUsd?: number;
      outcomes?: {
        name?: string;
        price?: number;
      }[];
      status?: string;
      title: string;
      url: string;
      volume24hUsd?: number;
      volumeUsd?: number;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/polymarket.markets
curl -X POST https://api.getanyapi.com/v1/run/polymarket.markets \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":10,"query":"election"}'
FieldTypeExample value
Request body
querystring"election"Search term for markets (e.g. election, bitcoin, super bowl).
limitinteger10Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.
sortByenumHow discovered markets are ordered before results are returned (e.g. volume_24hr for recent momentum).
statusenumReturn "active" markets for current prices and volume, or "resolved" markets for historical outcomes.
Response
dataobjectThe result wrapper, or null when nothing was found.
data.itemsobject[]Prediction-market records: market question, outcomes with current prices, volume, liquidity, and end date. Populated whenever the provider has data for the entity.
data.items[].endsUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the market resolves/ends.
data.items[].eventTitlestringTitle of the parent event grouping this market.
data.items[].idstringPolymarket market identifier. Populated whenever the provider has data for the entity.
data.items[].imagestringEvent image URL.
data.items[].liquidityUsdnumberAvailable liquidity in USD.
data.items[].outcomesobject[]Market outcomes with their current implied prices.
data.items[].outcomes[].namestringOutcome label, e.g. Yes or No.
data.items[].outcomes[].pricenumberCurrent implied probability price for the outcome (0 to 1).
data.items[].statusstringMarket status, e.g. active or closed.
data.items[].titlestringThe market question. Populated whenever the provider has data for the entity.
data.items[].urlstringPolymarket URL for the market event. Populated whenever the provider has data for the entity.
data.items[].volume24hUsdnumberTraded volume in USD over the past 24 hours.
data.items[].volumeUsdnumberTotal traded volume in USD.
foundbooleanTrue when at least one market record was returned.
Price
Price per request (ceiling)USD$0.132
Price /1k resultsUSD$5.28

FAQ

About the Polymarket Markets API

The AnyAPI Polymarket Markets API returns Polymarket markets data as normalized JSON from one POST call to /v1/run/polymarket.markets. Discover Polymarket prediction markets (question, outcome prices, volume, liquidity, and end dates) by keyword or sorted by activity, as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs $5.28 per 1,000 results, and never more than $0.132 for a single request, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Polymarket markets calls through AnyAPI succeeded, with a median response time of 7.6 seconds across 11 measured calls.

It costs $5.28 per 1,000 results, and never more than $0.132 for a single request, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Discover Polymarket prediction markets (question, outcome prices, volume, liquidity, and end dates) by keyword or sorted by activity, as normalized JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Polymarket markets calls through AnyAPI succeeded, with a median response time of 7.6 seconds across 11 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.