Sleeper picks API

Sleeper picks API for real-time Sleeper pick’em lines with each line’s variant, set next to sportsbook player props on one player id.

Sleeper runs fantasy leagues and a pick'em product, Sleeper Picks, in the same app. That combination is why its player lines get attention from developers: the people who build fantasy league tools, start/sit assistants and Discord bots often want pick'em projections next to the league data they already handle. Others want Sleeper's lines for the usual reasons, to compare against sportsbook props, to track where one app is out of step with the market, or to power a research page. This page explains what Sleeper data you can get from Sleeper itself, what PreciseAPI's Sleeper Picks API adds, and how Max and Flex payouts translate into prices you can compare.

Any payout figures below are illustrative. Sleeper's multipliers vary by pick, entry and state and can change, so check the app for current numbers.

Does Sleeper have a public API?

Partly, and the distinction matters. Sleeper publishes a read-only API for its fantasy platform. Its documentation describes access to leagues, rosters, users, drafts, matchups, transactions and player information, and asks for usage within a rate limit; it also says the API is free for non-commercial use and that commercial use requires contacting Sleeper. That API does not include Sleeper Picks lines, projections used for pick'em, or any odds.

So for pick'em data the answer is no: there is no public Sleeper Picks API, and Sleeper does not offer an odds API for its pick lines. PreciseAPI collects Sleeper's pick'em player lines and normalizes them alongside sportsbooks, exchanges and other DFS apps. This is our own collection, not an official or partner feed.

If you are building a fantasy tool, the two complement each other. The Sleeper API tells you who is on a roster. A Sleeper odds feed from PreciseAPI tells you what line Sleeper is posting for that player tonight and how it compares to the market.

The two systems use different player identifiers, so plan for a one-time mapping step. PreciseAPI's /v1/players endpoint returns every player with prop coverage, along with team and position, and its player ids are stable across seasons and across all 36 sources. Match Sleeper's roster entries to those ids once by name, team and position, store the mapping, and re-check only when a player changes teams or a new rookie appears. After that, every pick'em line and sportsbook prop for a rostered player is a lookup instead of a fuzzy match, and the mapping keeps working when you add more DFS apps or books to the request.

Put simply, a Sleeper odds API fills the gap the fantasy API leaves. People sometimes search for a Sleeper sports betting odds API expecting the fantasy API to cover pick lines; PreciseAPI's Sleeper odds data is a separate, normalized source with the same ids and timestamps as every sportsbook in the feed.

What Sleeper data is included

According to Sleeper's support pages, a Player Picks entry has two to eight players from at least two teams, and users predict whether each player finishes above or below the listed projection. Payouts depend on the number of picks and on a payout multiplier attached to each pick. Max entries need every pick to hit; Flex entries can still pay with one or two misses at a lower top multiplier.

In PreciseAPI each Sleeper line is a player prop market:

FieldMeaning
keyStat, e.g. player_pass_yds, player_assists, player_hits
lineSleeper's projection
outcomesover and under on standard lines
variantstandard, goblin or demon (easier or harder alternates, where offered)
player.idStable id shared with every sportsbook and DFS app
updated_at, suspendedFreshness and stale-price protection

Goblin and demon markets carry the over outcome only. Outcomes also include a price field so the market fits the shared schema, but the payout comes from Sleeper's entry and per-pick multipliers, not from a price on the selection.

Sleeper also runs in-game contests. In PreciseAPI, a Sleeper line stays on the feed only while Sleeper keeps posting it, so check suspended before you show one after kickoff.

Sleeper lines by league

PreciseAPI carries Sleeper lines for these five leagues.

NFL

The overlap with fantasy football is total: the same players people are setting lineups for are on the pick'em board. Passing, rushing and receiving yards and receptions are the core markets. See NFL odds API.

NBA

Large slates, many stat types per player, and frequent late news. Fantasy basketball leagues create the same roster-to-line use case as football. See NBA odds API.

WNBA

Shorter slates and fewer sportsbook props, so pick'em lines carry relatively more weight as reference points. See WNBA odds API.

MLB

Pitcher strikeouts and batter hits. Starting lineups are posted close to first pitch, so lines and availability shift late. See MLB odds API.

NHL

Shots on goal and points. Low counts call for Poisson-style probability estimates rather than a normal curve. See NHL odds API.

Max or Flex: reading the payout structure

A pick'em payout is easier to compare with a sportsbook when you turn it into an equivalent price per pick. Here is an illustrative four-pick entry: Max pays 10x if all four hit; Flex pays 5x for four hits and 1.5x for three.

EntryPayoutsEquivalent price per pickImplied per pick
Max (4 picks)10x for 4/4about -12856.23%
Flex (4 picks)5x for 4/4, 1.5x for 3/4about -13256.89%

What Flex changes is how often an entry returns nothing: it can still pay with one miss, at a lower multiplier. An app can show the equivalent price next to the sportsbook prices for the same player and line, converted to implied probability, and leave the interpretation to the user.

Two practical notes. First, Sleeper attaches multipliers to individual picks, so real entries are not uniform; convert each pick with its own multiplier rather than a single figure. Second, picks from the same game are correlated, so treating them as independent legs is a simplification. Our guide to pick'em lines vs sportsbook props covers more entry sizes, and the odds formats guide handles the American, decimal and probability conversions.

How to use PreciseAPI's Sleeper Picks API

Request Sleeper's lines with sportsbook props for the same stat:

curl -s "https://api.preciseapi.com/v1/props?league=nfl&markets=player_pass_yds&books=sleeper,pinnacle,fanduel&format=american" \
  -H "Authorization: Bearer $PRECISEAPI_KEY"

The Python below lines up each Sleeper standard line with the line and over/under prices each sportsbook posts for the same player, so differences in the line itself stand out:

import os, requests
from collections import defaultdict

r = requests.get(
    "https://api.preciseapi.com/v1/props",
    params={"league": "nfl", "markets": "player_pass_yds",
            "books": "sleeper,pinnacle,fanduel", "format": "american"},
    headers={"Authorization": f"Bearer {os.environ['PRECISEAPI_KEY']}"},
    timeout=10,
)
r.raise_for_status()

for event in r.json()["data"]:
    books = defaultdict(list)   # player_id -> [(book, line, over, under)]
    sleeper = []
    for bm in event["bookmakers"]:
        for m in bm["markets"]:
            pid = m["player"]["id"]
            if bm["id"] == "sleeper" and m["variant"] == "standard":
                sleeper.append((m["player"]["name"], pid, m["line"]))
            elif bm["type"] == "sportsbook" and len(m["outcomes"]) == 2:
                o = {x["side"]: x["price"] for x in m["outcomes"]}
                books[pid].append((bm["id"], m["line"], o["over"], o["under"]))
    for name, pid, line in sleeper:
        for book, book_line, over, under in books[pid]:
            print(f"{name:24} sleeper {line:>6}  {book:10} {book_line:>6}  o{over:+} u{under:+}")

The props endpoint costs 3 credits per call and returns up to 25 events. Parameters are documented in the props reference. On the Syndicate plan you can replace polling with the WebSocket stream, which sends a snapshot and then only the changed markets; see streaming. Markets from a source that stops reporting are flagged suspended and excluded unless you pass include_suspended=true.

Used this way, the props endpoint is a Sleeper Picks API sitting inside a broader sports betting API. A note on Sleeper live odds: the feed is current and timestamped, delivered through a real-time odds API, but the pick'em lines in it are pre-game.

Why not scrape Sleeper?

Sleeper's public API is a good example of the right way to get data: documented, rate-limited and governed by stated terms. Its pick'em lines are not part of it, and searches for "scrape Sleeper odds" usually lead to the same problems as any scraper:

PreciseAPI handles collection, timestamps and id mapping, so the work left to you is the analysis.

Getting started

The free Sandbox includes 50 credits and needs no card; spend them in the Sandbox chat in your dashboard asking about Sleeper lines in plain English. The same credits work on /v1/props with your free key. Paid plans are on the pricing page, and you can get access in a couple of minutes.

Sleeper is a trademark of its owner and is used here for identification only. PreciseAPI is not affiliated with or endorsed by Sleeper.

Frequently asked questions

Does Sleeper have an API?

Sleeper publishes a read-only API for fantasy league data such as leagues, rosters, drafts and players, but it does not include Sleeper Picks lines or odds. PreciseAPI collects Sleeper's pick'em lines and returns them through its own documented API.

Can I use Sleeper's API and PreciseAPI together?

Yes. A natural pattern is to use Sleeper's API for league and roster data and PreciseAPI for pick'em lines and sportsbook props, subject to each provider's terms.

How fast do Sleeper odds update?

PreciseAPI publishes in-play updates in under 500 ms and pre-match updates every 1 to 2 seconds. Sleeper pick'em lines are mostly pre-game markets, so they follow the pre-match cadence, and a line leaves the feed when Sleeper stops posting it.

Does the feed include Sleeper's payout multipliers?

Yes. Each side carries Sleeper's per-pick multiplier in payout_multiplier (with payout_multiplier_type: "per_pick"), and price is that multiplier as American odds. The multiplier for a whole entry still depends on the picks and entry type, so check the final payout in the app.

Does the feed carry Sleeper's own line ids?

Yes. Each side's source_id is Sleeper's id for that side of the line (line_id), so the Over and the Under have different ids. Sleeper gives the line itself no id of its own, so Sleeper markets have no market-level source_id. Sleeper has no public link that opens a pick, so there is no betslip_url.

Which Sleeper stats are covered?

Player props for NFL, NBA, WNBA, MLB and NHL, using the same market keys as sportsbook props, such as passing yards, points, rebounds, strikeouts and shots on goal.

Is there a free trial?

Yes. The Sandbox plan is free, includes 50 credits for the Sandbox chat in your dashboard, where you can ask about Sleeper lines in plain English, and does not require a card. They also work on the API with your free key, at the same credit costs as paid plans.