books
How to get Polymarket odds with an API
Polymarket (prediction market) has prices for 937 events in 112 leagues in the PricedOdds coverage file generated 2026-11-28 17:22 UTC, pre-match and live, with 16 player prop types. You can get them as JSON with 4 calls: pick the book, list the games, request the odds, request the props. Polymarket counts as one of your books on any plan, from $39 a month for any 2 books.
PricedOdds is a data API, not a sportsbook, and is not affiliated with Polymarket. This guide covers the PricedOdds API only.
What Polymarket data can you get?
112 leagues, 7 game markets and 16 player prop types, with data in the coverage file generated 2026-11-28 17:22 UTC.
| Field | Polymarket |
|---|---|
| Book id | polymarket |
| Type | Prediction market |
| Leagues | 112, including NFL, NCAA Football, NBA, NCAA Basketball, NHL, English Premier League, LaLiga, Serie A, MLS, Liga MX |
| Game markets | 7: 4th_map_ml, btts, moneyline, moneyline_3way, spread, team_total, total |
| Player prop types | 16 |
| Periods | 1h, 1q, 2h, 2q, 3q, 4q, game, map1, map2 |
| Live odds | Yes |
| Events with prices | 937 |
| Coverage note | Prediction market; US access varies. Shown as market data. |
Source: coverage.json, generated 2026-11-28 17:22 UTC. The full row is on the Polymarket page.
What is specific to Polymarket in the feed?
All figures in this section come from the same coverage file (generated 2026-11-28 17:22 UTC). Of the 16 books with data in it, Polymarket ranks 5th by events with prices (937), 7th by leagues (112) and 14th by player prop types (16). Equal values share a rank.
Polymarket leagues by sport
| Sport | Leagues with Polymarket prices | Examples |
|---|---|---|
| Soccer | 84 | English Premier League, LaLiga, Bundesliga |
| Hockey | 7 | NHL, AHL, Czechia Extraliga |
| Cricket | 5 | United Arab Emirates International League T20, International List-A ACC Asia Cup Rising Stars, Playoffs, International ODI Series South Africa vs Bangladesh |
| Basketball | 4 | NCAA Basketball, NCAA Women's Basketball, NBA |
| Football (American) | 4 | NCAA Football, NFL, USA Atlantic Coast Conference Championship |
| Tennis | 4 | ATP Challenger Tour, ITF Women, ITF Men |
| Esports | 3 | Counter-Strike 2, Valorant, Dota 2 |
| Boxing | 1 | Boxing |
Examples are the leagues with the most events in the file.
Where is Polymarket one of few books?
12 of the 112 Polymarket leagues have 3 books or fewer in the file, and in 4 of them Polymarket is the only one: Russia KHL (only Polymarket), Greece Greece Cup (only Polymarket), International ODI Series South Africa vs Bangladesh (only Polymarket), South Africa T20 Series South Africa, Women (only Polymarket), Russia Premier League (2 books), United Arab Emirates International League T20 (2 books), International List-A ACC Asia Cup Rising Stars, Playoffs (2 books) and International T20 Series Australia vs. England (2 books), and 4 more. In those leagues there is little to compare Polymarket against.
Of the 23 Polymarket market types, 1 is priced by 3 books or fewer in the file: 4th_map_ml (only Polymarket).
Polymarket's 16 player prop types by sport (a prop type can apply to more than one sport): Football (American) 9, Hockey 4, Soccer 4 and Basketball 4.
Delivery of the 23 Polymarket market types, as the file gives it: 20 with delivery: websocket, 1 with delivery: mixed and 2 with delivery: rest, which refresh on the schedule in rest_refresh_minutes. Polymarket is priced pre-match and live, delivered over REST, WebSocket and MCP.
Step 1: add Polymarket to your books
Start a trial at /signup, then set your book selection. You can change it once every 24 hours.
curl -s -X POST "https://api.pricedodds.com/v1/account/books" \
-H "Authorization: Bearer $PRICEDODDS_API_KEY" -H "Content-Type: application/json" \
-d '{"books":["polymarket","draftkings"]}'Step 2: find a game
List events for a league that Polymarket prices. Each event has an id that starts with evt_. Steps 2 and 3 go in one file, for example polymarket-odds.mjs, run with node polymarket-odds.mjs. It uses the built-in fetch of Node 18 or later and no packages; the .mjs extension allows await at the top level.
const BASE = "https://api.pricedodds.com/v1";
const HEADERS = { Authorization: `Bearer ${process.env.PRICEDODDS_API_KEY}` };
async function get(path) {
const res = await fetch(BASE + path, { headers: HEADERS });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
return (await res.json()).data;
}
const events = await get("/events?league=nfl");
for (const e of events.slice(0, 5)) console.log(e.id, e.away.name, "@", e.home.name, e.startsAt);Step 3: get the Polymarket prices
Request the odds of each game in turn, filtered by book, and stop at the first game that has Polymarket prices. Leave books out to get every book in your selection for the same game.
// Same file, after Step 2: get() reads from BASE = "https://api.pricedodds.com/v1".
for (const e of events) {
const odds = await get(`/events/${e.id}/odds?books=polymarket&markets=moneyline,spread,total`);
const lines = odds.markets.flatMap(market => market.selections.flatMap(sel => sel.prices.map(price =>
[market.market, market.period, sel.side, sel.line ?? "", price.book, price.american].join(" "))));
if (!lines.length) continue; // polymarket has no price on this game yet: try the next one
console.log(e.away.name, "@", e.home.name);
for (const line of lines) console.log(line);
break;
}We ran this script on November 25, 2026, at 07:43 UTC, with Node 24 and a key on the All-Access plan, which includes every book. Step 1 was not part of that run because it changes the book selection of the account. The first lines it printed:
evt_ew6b72finj7wgv4x Green Bay Packers @ Los Angeles Rams 2026-11-26T01:00:00.000Z
evt_krboe3oc45ookdj5 Chicago Bears @ Detroit Lions 2026-11-26T18:00:00.000Z
evt_ccjz5stem5ublioj Philadelphia Eagles @ Dallas Cowboys 2026-11-26T21:30:00.000Z
...
Green Bay Packers @ Los Angeles Rams
moneyline 1h home polymarket -127
moneyline 1h away polymarket 117
moneyline 1q home polymarket -113
moneyline 1q away polymarket 100
moneyline game home polymarket -127
moneyline game away polymarket 122
... (26 more lines)Those are the Polymarket prices of that moment, shown as an example; they change with the market. Nothing here is betting advice. A market key without a period, such as moneyline, returns every period Polymarket prices for it.
Every price has decimal, american, implied, updatedAt (last time the source confirmed the price) and changedAt (last time it changed). Every selection also has best and fair, a no-vig price. For one period only, add it to the market: markets=total@1h.
Step 4: get the Polymarket player props
Polymarket has 16 prop types in the feed. Ask for the ones you need by market key.
curl -s "https://api.pricedodds.com/v1/events/{id}/props?markets=player_anytime_td" \
-H "Authorization: Bearer $PRICEDODDS_API_KEY"Read market keys from GET /v1/markets and do not guess them. That endpoint works without a key. In the same run, this request for the game above, sent from Node, returned HTTP 200.
How do I stream Polymarket prices?
Open the WebSocket and subscribe with the book id. The server sends a snapshot, then each price change, pre-match and live.
{"type":"subscribe","leagues":["nfl"],"books":["polymarket"],"markets":["moneyline","spread","total"]}WebSocket is included in All-Access and is an add-on on the other plans. Without it, poll GET /v1/changes no faster than your plan's request rate. See the WebSocket docs.
Which error will I see first?
book_not_in_plan means polymarket is not in your book selection yet: add it with POST /v1/account/books. The other error codes are in the error reference.
What does it cost?
Solo covers any 2 books for $39 a month, so Polymarket plus one more book fits on the entry plan. Solo with the WebSocket add-on is $98 a month. Starter covers any 5 books for $99 a month. Every plan includes props and live odds and starts with a 3-day free trial. Signup takes a $1 card verification that is refunded immediately, and the plan you pick is charged from day 4 unless you cancel before the trial ends. See pricing.
Can I place bets on Polymarket through the API?
No. PricedOdds is a data API and not a sportsbook. The Terms prohibit using the data to accept or price wagers.
To turn a Polymarket share price into American or decimal odds, with the fee you enter, use the prediction market odds converter.