books

How to get Fliff odds with an API

By · Published · Updated · 5 min read

Fliff (social book) has prices for 584 events in 60 leagues in the PricedOdds coverage file generated 2026-11-28 17:22 UTC, pre-match and live, with 38 player prop types. You can get them as JSON with 4 calls: pick the book, list the games, request the odds, request the props. Fliff 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 Fliff. This guide covers the PricedOdds API only.

What Fliff data can you get?

60 leagues, 13 game markets and 38 player prop types, with data in the coverage file generated 2026-11-28 17:22 UTC.

FieldFliff
Book idfliff
TypeSocial book
Leagues60, including NFL, NCAA Football, NBA, NCAA Basketball, NHL, English Premier League, UEFA Champions League, LaLiga, Serie A, MLS, Liga MX
Game markets13: btts, cards_total, corners_total, corners_totals_2h, double_chance, moneyline, moneyline_3way, odd_even, overtime, spread, team_total, total and 1 more on the Fliff page
Player prop types38
Periods1h, 1p, 1q, 2h, 2p, 2q, 3p, 3q, 4q, game
Live oddsYes
Events with prices584
Coverage noteSocial / sweepstakes sportsbook.

Source: coverage.json, generated 2026-11-28 17:22 UTC. The full row is on the Fliff page.

What is specific to Fliff 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, Fliff ranks 10th by events with prices (584), 12th by leagues (60) and 3rd by player prop types (38). Equal values share a rank.

Fliff leagues by sport

SportLeagues with Fliff pricesExamples
Soccer40English Premier League, LaLiga, Bundesliga
Basketball8NCAA Basketball, NCAA Women's Basketball, NBA
Football (American)7NCAA Football, NFL, USA Atlantic Coast Conference Championship
Hockey2NHL, NCAA Hockey
Boxing1Boxing
MMA1UFC
Tennis1Davis Cup

Examples are the leagues with the most events in the file.

Where is Fliff one of few books?

2 of the 60 Fliff leagues have 3 books or fewer in the file: Davis Cup (2 books) and Jamaica Premier League (3 books). In those leagues there is little to compare Fliff against.

Of the 52 Fliff market types, 3 are priced by 3 books or fewer in the file: player_sacks (2 books), cards_total (3 books) and fight_to_go_the_distance (3 books). Those with named results (fight_to_go_the_distance) carry the selection in the outcome field.

Fliff's 38 player prop types by sport (a prop type can apply to more than one sport): Football (American) 18, Basketball 14, Hockey 8 and Soccer 5.

Delivery of the 52 Fliff market types, as the file gives it: 47 with delivery: websocket, 1 with delivery: mixed and 4 with delivery: rest, which refresh on the schedule in rest_refresh_minutes. Fliff is priced pre-match and live, delivered over REST, WebSocket and MCP.

Step 1: add Fliff 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":["fliff","draftkings"]}'

Step 2: find a game

List events for a league that Fliff prices. Each event has an id that starts with evt_. Steps 2 and 3 go in one file, for example fliff-odds.mjs, run with node fliff-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 Fliff prices

Request the odds of each game in turn, filtered by book, and stop at the first game that has Fliff 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=fliff&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;   // fliff 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:42 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  fliff -145
moneyline 1h away  fliff 100
moneyline 1q home  fliff -135
moneyline 1q away  fliff -105
moneyline game home  fliff -135
moneyline game away  fliff 110
... (12 more lines)

Those are the Fliff 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 Fliff 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 Fliff player props

Fliff has 38 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 Fliff 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":["fliff"],"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 fliff 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 Fliff 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 Fliff through the API?

No. PricedOdds is a data API and not a sportsbook. The Terms prohibit using the data to accept or price wagers.