fetchapi

Get prices for every open PredictIt prediction market API

One call returns every open PredictIt market (about 220 on 2026-10-22: House, Senate and governor races, control of Congress, the presidency, world events). One item in the answer is a market with its contracts; each contract carries the last trade price and the best price to buy or sell Yes and No, in dollars per $1 share, so 0.92 means a 92% implied chance. There is no paging: the whole list comes in one answer. Prices move about once a minute and the gateway caches the 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
List every open PredictIt market with its contracts' prices (PredictIt)GET marketdata/all$0.00$0.0e+00 / 1k calls✓ 2026-11-02pricing ↗

What it returns

From a real call to the route: PredictIt.

One call returns every open PredictIt market (about 220 on 2026-10-22: House, Senate and governor races, control of Congress, the presidency, world events). One item in the answer is a market with its contracts; each contract carries the last trade price and the best price to buy or sell Yes and No, in dollars per $1 share, so 0.92 means a 92% implied chance. There is no paging: the whole list comes in one answer. Prices move about once a minute and the gateway caches the answer for 60 seconds.
markets[].idMarket id, for marketdata/markets/{id}markets[].nameThe question the market asksmarkets[].urlMarket page on predictit.orgmarkets[].timeStampWhen prices were read, US Eastern timemarkets[].contracts[].nameThe outcome (a party, candidate or range)markets[].contracts[].lastTradePriceLast traded price per $1 share (0 if never traded)markets[].contracts[].bestBuyYesCostCheapest Yes offer (ask)markets[].contracts[].bestSellYesCostBest Yes bidmarkets[].contracts[].bestBuyNoCostCheapest No offermarkets[].contracts[].lastClosePricePrevious day's closing price

Call it

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

GET /api/gw/predictit/marketdata/all$0.00 / call✓ working · tested 2026-11-020.13 s latency
Parameters

No parameters.

HTTP
curl "https://fetchapi.co/api/gw/predictit/marketdata/all" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("predictit.marketdata_all", {})
Real example answer (trimmed) · 2026-10-22
{
  "markets": [
    {
      "id": 7589,
      "url": "https://www.predictit.org/markets/detail/7589/How-many-House-seats-will-Republicans-win-in-the-2026-midterm-election",
      "name": "How many House seats will Republicans win in the 2026 midterm election?",
      "image": "https://cdn1.predictit.org/images/Markets/b2def0a6-92a1-4247-bc77-ec76ebea642f.jpg",
      "status": "Open",
      "contracts": [
        {
          "id": 28361,
          "name": "192 or fewer",
          "image": "https://cdn1.predictit.org/images/Contracts/small_dd478de0-c068-44c0-8aaf-0d93ee3edd0e.png",
          "status": "Open",
          "dateEnd": "NA",
          "shortName": "192 or fewer",
          "displayOrder": 0,
          "bestBuyNoCost": 0.63,
          "bestBuyYesCost": 0.43,
          "bestSellNoCost": 0.57,
          "lastClosePrice": 0.43,
          "lastTradePrice": 0.43,
          "bestSellYesCost": 0.37
        },
        {
          "id": 28362,
          "name": "193 to 197",
          "image": "https://cdn1.predictit.org/images/Contracts/small_dd478de0-c068-44c0-8aaf-0d93ee3edd0e.png",
          "status": "Open",
          "dateEnd": "NA",
          "shortName": "193 to 197",
          "displayOrder": 0,
          "bestBuyNoCost": 0.83,
          "bestBuyYesCost": 0.18,
          "bestSellNoCost": 0.82,
          "lastClosePrice": 0.18,
          "lastTradePrice": 0.17,
          "bestSellYesCost": 0.17
        },
        "… 1 more"
      ],
      "shortName": "Republican House Seats won in midterms?",
      "timeStamp": "2026-10-22T15:05:37.576912"
    },
    {
      "id": 8152,
      "url": "https://www.predictit.org/markets/detail/8152/Who-will-win-the-2028-Republican-presidential-nomination",
      "name": "Who will win the 2028 Republican presidential nomination?",
      "image": "https://cdn1.predictit.org/images/Markets/a1ebadde-6092-43b0-ac0e-c5f30ac7c9b3.png",
      "status": "Open",
      "contracts": [
        {
          "id": 31925,
          "name": "JD Vance",
          "image": "https://cdn1.predictit.org/images/Contracts/small_290dd98c-cef9-44ab-94bf-c106acf2e636.png",
          "status": "Open",
          "dateEnd": "NA",
          "shortName": "Vance",
          "displayOrder": 0,
          "bestBuyNoCost": 0.61,
          "bestBuyYesCost": 0.4,
          "bestSellNoCost": 0.6,
          "lastClosePrice": 0.4,
          "lastTradePrice": 0.4,
          "bestSellYesCost": 0.39
        },
        {
          "id": 31930,
          "name": "Marco Rubio",
          "image": "https://cdn1.predictit.org/images/Contracts/small_a86fcf68-a2a2-4c37-b345-9e32ed134a1c.png",
          "status": "Open",
          "dateEnd": "NA",
          "shortName": "Rubio",
          "displayOrder": 0,
          "bestBuyNoCost": 0.82,
          "bestBuyYesCost": 0.19,
          "bestSellNoCost": 0.81,
          "lastClosePrice": 0.19,
          "lastTradePrice": 0.19,
          "bestSellYesCost": 0.18
        },
        "… 1 more"
      ],
      "shortName": "Republican presidential nominee in 2028?",
      "timeStamp": "2026-10-22T15:05:37.576912"
    },
    "… 1 more"
  ]
}

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.