fetchapi

Get one PredictIt prediction market's prices API

One call returns one PredictIt market by its id, with every contract's last trade price and best Yes and No buy and sell prices in dollars per $1 share (0.92 = 92% implied). The sample held the 2026 House control market with 2 contracts (Democratic, Republican). Prices move about once a minute; the gateway caches each answer for 60 seconds.

1 live route on PredictIt, from $0.00 per call. Every route below answered our last live test on 2026-11-02; the gateway re-tests them daily.

Get a keySee it in the catalogUse it from MCP

Price per call, by route

The upstream price you are metered at, cheapest first. A route without a published price says so.

ProviderEndpointPriceTested
Get one PredictIt market's contracts and prices (PredictIt)GET marketdata/markets/{id}$0.00$0.0e+00 / 1k calls✓ 2026-11-02pricing ↗

What it returns

From a real call to the route: PredictIt.

One call returns one PredictIt market by its id, with every contract's last trade price and best Yes and No buy and sell prices in dollars per $1 share (0.92 = 92% implied). The sample held the 2026 House control market with 2 contracts (Democratic, Republican). Prices move about once a minute; the gateway caches each answer for 60 seconds.
nameThe question the market askstimeStampWhen prices were read, US Eastern timecontracts[].nameThe outcomecontracts[].lastTradePriceLast traded price per $1 sharecontracts[].bestBuyYesCostCheapest Yes offer (ask)contracts[].bestSellYesCostBest Yes bidcontracts[].bestBuyNoCostCheapest No offercontracts[].bestSellNoCostBest No bid

Call it

HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.

GET /api/gw/predictit/marketdata/markets/{id}$0.00 / call✓ working · tested 2026-11-020.08 s latency
Parameters
ParameterTypeNotes
idstring · pathrequiredPredictIt market id, e.g. 8157 (the number in predictit.org/markets/detail/<id>/...).e.g. 8157
HTTP
curl "https://fetchapi.co/api/gw/predictit/marketdata/markets/8157" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("predictit.marketdata_market", {"id": "8157"})
Real example answer (trimmed) · 2026-10-22
{
  "id": 8157,
  "url": "https://www.predictit.org/markets/detail/8157/Which-party-will-win-the-House-in-the-2026-election",
  "name": "Which party will win the House in the 2026 election?",
  "image": "https://cdn1.predictit.org/images/Markets/71c780c4-fde9-41e3-8376-0399f0354378.png",
  "status": "Open",
  "contracts": [
    {
      "id": 31951,
      "name": "Democratic",
      "image": "https://cdn1.predictit.org/images/Contracts/small_dd7a25d1-8892-432c-9991-7047953ca799.png",
      "status": "Open",
      "dateEnd": "NA",
      "shortName": "Democratic",
      "displayOrder": 0,
      "bestBuyNoCost": 0.09,
      "bestBuyYesCost": 0.92,
      "bestSellNoCost": 0.08,
      "lastClosePrice": 0.93,
      "lastTradePrice": 0.92,
      "bestSellYesCost": 0.91
    },
    {
      "id": 31952,
      "name": "Republican",
      "image": "https://cdn1.predictit.org/images/Contracts/small_50585c92-15cf-424d-b497-1127cb3a6f5a.png",
      "status": "Open",
      "dateEnd": "NA",
      "shortName": "Republican",
      "displayOrder": 0,
      "bestBuyNoCost": 0.9,
      "bestBuyYesCost": 0.11,
      "bestSellNoCost": 0.89,
      "lastClosePrice": 0.08,
      "lastTradePrice": 0.1,
      "bestSellYesCost": 0.1
    }
  ],
  "shortName": "Which party will win the House in 2026?",
  "timeStamp": "2026-10-22T15:05:48.2461207"
}

Related PredictIt APIs

All 2 PredictIt jobs →

One key for every API on this page.

Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.