# PrizePicks API SDKs: Python, JavaScript and MCP packages

> Install the PrizePicks API client: pip install prizepicksapi, npm install prizepicksapi, or npx -y prizepicksapi-mcp for a local MCP server. Source on GitHub, runs keyless on demo data.

PrizePicks API (prizepicksapi.com) is an independent REST API and MCP server for PrizePicks player props: live lines with goblin and demon tiers, recorded line moves since 28 Oct 2026, graded results and sportsbook price comparisons, as JSON or CSV. Not affiliated with or endorsed by PrizePicks.

**Free API key, no card: 100 credits a month, the current board, the last 7 days of line history and graded results.** Get a key: https://prizepicksapi.com/sign-up?ref=ai-claudebot

HTML version: https://prizepicksapi.com/sdks · Markdown: https://prizepicksapi.com/sdks.md · Full docs for agents: https://prizepicksapi.com/llms-full.txt

## Quickstart

1. Get a free API key (no card) at https://prizepicksapi.com/sign-up?ref=ai-claudebot. Coding agents can request one with the user's approval: POST https://prizepicksapi.com/api/v1/agent/signup (see https://prizepicksapi.com/agents.md). Try the shape first with no key: `curl 'https://prizepicksapi.com/api/v1/demo/projections?league=NBA&limit=5'`
2. Save it: `export PRIZEPICKS_API_KEY='your key'`
3. Call it with curl:

```bash
curl --fail-with-body 'https://prizepicksapi.com/api/v1/projections?league=NBA&view=compact&limit=5' \
  -H "Authorization: Bearer $PRIZEPICKS_API_KEY" \
  -H 'X-User-Request: NBA dashboard integration check'
```

4. Or from Python:

```python
import os, requests

r = requests.get(
    "https://prizepicksapi.com/api/v1/projections",
    params={"league": "NBA", "view": "compact", "limit": 5},
    headers={
        "Authorization": f"Bearer {os.environ['PRIZEPICKS_API_KEY']}",
        "X-User-Request": "NBA dashboard integration check",
    },
)
for p in r.json()["data"]:
    print(p)
```

## Use it from Claude (MCP)

```bash
claude mcp add --transport http --scope user prizepicks https://prizepicksapi.com/api/mcp \
  --header "Authorization: Bearer $PRIZEPICKS_API_KEY"
```

MCP endpoint: https://prizepicksapi.com/api/mcp (Streamable HTTP, same Bearer key). Setup for other clients: https://prizepicksapi.com/use-with-claude

## SDKs

- Python SDK: `pip install prizepicksapi` (PyPI: https://pypi.org/project/prizepicksapi/, source: https://github.com/prizepicksapi/prizepicksapi-python)
- JavaScript / TypeScript SDK: `npm install prizepicksapi` (npm: https://www.npmjs.com/package/prizepicksapi, source: https://github.com/prizepicksapi/prizepicksapi-js)
- Local MCP server: `npx -y prizepicksapi-mcp` (npm: https://www.npmjs.com/package/prizepicksapi-mcp, source: https://github.com/prizepicksapi/prizepicksapi-mcp)
- Source: https://github.com/prizepicksapi. Usage: https://prizepicksapi.com/sdks

## Pricing

| Plan | Price | Monthly credits | Includes |
| --- | --- | --- | --- |
| Free | $0 | 100 credits | Last 7 days of history; live feed 5 minutes behind |
| Developer | $49/month | 10,000 credits | Every line and move since 28 Oct 2026; live feed with no added plan delay |
| Pro | $99/month | 30,000 credits | Everything in Developer, three times the credits |
| Production | $149/month | 50,000 credits | More live connections; signed webhooks |
| Scale | $499/month | 250,000 credits | 15 live connections; everything in Production |

Errors and unchanged 304s cost zero credits. Details: https://prizepicksapi.com/pricing

---

## This page

[Docs](https://prizepicksapi.com/docs)/SDKs

SDKs and packages

# PrizePicks API SDKs.

Three packages call the PrizePicks API: `pip install prizepicksapi` for Python, `npm install prizepicksapi` for JavaScript and TypeScript, and `npx -y prizepicksapi-mcp` for a local MCP server. Each runs with no key against fictional demo rows; a free key (no card, 100 credits a month) reads the live board. Source is on GitHub at [github.com/prizepicksapi](https://github.com/prizepicksapi).

| Package                                                                                   | Install                   | Registry                                                                  | Source                                                                                      |
| ----------------------------------------------------------------------------------------- | ------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| Python SDKPython 3.9+, standard library only                                              | pip install prizepicksapi | [PyPI: prizepicksapi](https://pypi.org/project/prizepicksapi/)            | [prizepicksapi/prizepicksapi-python](https://github.com/prizepicksapi/prizepicksapi-python) |
| JavaScript / TypeScript SDKNode 18+, Deno and Bun; ESM, zero dependencies, types included | npm install prizepicksapi | [npm: prizepicksapi](https://www.npmjs.com/package/prizepicksapi)         | [prizepicksapi/prizepicksapi-js](https://github.com/prizepicksapi/prizepicksapi-js)         |
| Local MCP serverNode 18+, stdio, zero dependencies                                        | npx -y prizepicksapi-mcp  | [npm: prizepicksapi-mcp](https://www.npmjs.com/package/prizepicksapi-mcp) | [prizepicksapi/prizepicksapi-mcp](https://github.com/prizepicksapi/prizepicksapi-mcp)       |

## Python

Projections with cursor paging, line history, the change feed, the board as of a past time, graded results, hit rates, game logs, the training set, compare, CSV export and the keyless demo endpoints. Typed errors and Retry-After handling.

Shell

```
pip install prizepicksapi
```

demo.py

```
from prizepicksapi import PrizePicksAPI

api = PrizePicksAPI(api_key="")  # no key: keyless demo rows; set PRIZEPICKS_API_KEY for live data
for p in api.demo_projections(league="NBA", limit=3)["data"]:
    print(p["player"]["name"], p["market"]["stat"], p["line"], p["selections"][0]["tier"])

# With a key: every current NBA points line, cursors followed for you
# api = PrizePicksAPI()  # reads PRIZEPICKS_API_KEY
# for p in api.iter_projections(league="NBA", stat="Points", limit=200): ...
```

Output (demo rows, 15 Nov 2026)

```
Jordan Ellis Points 27.5 standard
Marcus Cole Rebounds 8.5 standard
Devin Brooks Assists 6.5 standard
```

[prizepicksapi on PyPI](https://pypi.org/project/prizepicksapi/) · [README and source](https://github.com/prizepicksapi/prizepicksapi-python) · [Python quickstart with requests and pandas](https://prizepicksapi.com/docs/python)

## JavaScript and TypeScript

The same surface as the Python SDK, with async iterators for cursor paging and a RateLimitError that carries the API code and Retry-After.

Shell

```
npm install prizepicksapi
```

demo.mjs

```
import {PrizePicksAPI} from 'prizepicksapi';

const api = new PrizePicksAPI({apiKey: ''}); // no key: keyless demo rows
const {data} = await api.demoProjections({league: 'NBA', limit: 3});
for (const p of data) console.log(p.player.name, p.market.stat, p.line);

// With a key (server side only):
// const live = new PrizePicksAPI({apiKey: process.env.PRIZEPICKS_API_KEY});
// for await (const p of live.iterProjections({league: 'NBA', limit: 200})) { ... }
```

[prizepicksapi on npm](https://www.npmjs.com/package/prizepicksapi) · [README and source](https://github.com/prizepicksapi/prizepicksapi-js) · [JavaScript guide with plain fetch](https://prizepicksapi.com/prizepicks-api-javascript)

## Local MCP server

A stdio MCP server for Claude Desktop, Claude Code, Cursor, Codex and Gemini CLI: five keyless tools, plus ten live-data tools when PRIZEPICKS\_API\_KEY is set. The hosted remote server at /api/mcp needs no install.

Shell

```
npx -y prizepicksapi-mcp
```

Claude Desktop / Cursor (mcpServers JSON)

```
{
  "mcpServers": {
    "prizepicksapi": {
      "command": "npx",
      "args": ["-y", "prizepicksapi-mcp"],
      "env": { "PRIZEPICKS_API_KEY": "YOUR_KEY" }
    }
  }
}
```

Claude Code

```
claude mcp add prizepicksapi --env PRIZEPICKS_API_KEY=YOUR_KEY -- npx -y prizepicksapi-mcp
```

[prizepicksapi-mcp on npm](https://www.npmjs.com/package/prizepicksapi-mcp) · [README and source](https://github.com/prizepicksapi/prizepicksapi-mcp) · [Remote MCP server setup](https://prizepicksapi.com/prizepicks-mcp-server) (no install, same key)

## SDK questions

Is there a PrizePicks API Python package?

Yes. pip install prizepicksapi installs the Python SDK for prizepicksapi.com (https://pypi.org/project/prizepicksapi/). It uses only the standard library, needs Python 3.9 or later, and its demo methods run with no key. PrizePicks itself publishes no developer API or SDK; this package is for the independent prizepicksapi.com service.

Is there an npm package for PrizePicks data?

Yes. npm install prizepicksapi installs the JavaScript and TypeScript SDK (https://www.npmjs.com/package/prizepicksapi): ESM, zero dependencies, types included, Node 18 or later, Deno and Bun. Keep your key on the server.

How do I run the PrizePicks MCP server locally?

Run npx -y prizepicksapi-mcp (https://www.npmjs.com/package/prizepicksapi-mcp). With no key it lists five keyless tools; set PRIZEPICKS\_API\_KEY to add ten live-data tools. Clients that support remote MCP servers can skip the install and connect to https://prizepicksapi.com/api/mcp.

Do I need an SDK to use the API?

No. The API is plain JSON over HTTPS with a Bearer key, so curl, requests or fetch work as well. The SDKs add cursor paging, typed errors and Retry-After handling.

Where is the source code?

In the https://github.com/prizepicksapi GitHub organization: prizepicksapi-python, prizepicksapi-js and prizepicksapi-mcp.

The packages are MIT-licensed and published by Stunning Couches LLC, the operator of prizepicksapi.com, an independent data service not affiliated with or endorsed by PrizePicks.

[Get free API key](https://prizepicksapi.com/sign-up?ref=ai-claudebot)

[Reference**API documentation**_Endpoints, filters, errors and limits._](https://prizepicksapi.com/docs)[Quickstart**First call in three steps**_curl, credits and rights._](https://prizepicksapi.com/docs/first-call)[MCP**PrizePicks MCP server**_Remote setup for Claude, Cursor, Codex and Gemini CLI._](https://prizepicksapi.com/prizepicks-mcp-server)[Try it**Playground**_Run a request in the browser._](https://prizepicksapi.com/playground)

## References

* [GitHub: prizepicksapi](https://github.com/prizepicksapi)
* [PyPI: prizepicksapi](https://pypi.org/project/prizepicksapi/)
* [npm: prizepicksapi](https://www.npmjs.com/package/prizepicksapi)
* [npm: prizepicksapi-mcp](https://www.npmjs.com/package/prizepicksapi-mcp)
* [MCP Registry: com.prizepicksapi/server](https://registry.modelcontextprotocol.io/v0/servers?search=com.prizepicksapi)
* [OpenAPI contract](https://prizepicksapi.com/openapi.json)

## FAQ

### Is there a PrizePicks API?

PrizePicks does not publish a public developer API. prizepicksapi.com is an independent API for PrizePicks player props, with documentation, API keys and published plans. It is not affiliated with or endorsed by PrizePicks.

### Is there a free PrizePicks API?

Yes. A free key needs no card and includes 100 credits a month, access to the current board, the last 7 days of line history and graded results, and the stream on a 5-minute delay. Paid plans read the available retained history. Keyless demo endpoints let you test the schema first.

### What is the difference between standard, goblin and demon lines?

A goblin line is set below the standard line and a demon line above it, and both are more-only. Every selection in the API carries its tier: standard, goblin or demon. Filter with tier=goblin or tier=demon. The published standard payout table and break-even rates come from GET /api/v1/payouts.

### Can I get historical PrizePicks lines?

Yes, from 28 Oct 2026. Every line and every move since then is stored per projection, with the first line we saw, each change and the line at game time. Rebuild the whole board at any past moment with /board?as_of, or download a free CSV sample day. The Free plan reads the last 7 days; Developer, Pro, Production, Commercial and Scale read all of it.

### Can I get PrizePicks results, like whether a prop hit?

For the NBA, yes. Lines are graded against final box scores from the 28 Oct 2026 slate onward: the line at the start, the actual stat, and over, under, push or void with the reason. GET /api/v1/hit-rates aggregates them by player and stat.

### How often do PrizePicks lines update in the API?

Live lines include availability, player-score updates and freshness information. Update frequency varies by game and available coverage. There is no guarantee that every line changes or refreshes each second. Inspect each record’s source and observation timestamps, live_score ages and feed health.

### How quickly can I receive PrizePicks line changes?

The WebSocket (wss://stream.prizepicksapi.com/v1/stream) and GET /api/v1/stream (Server-Sent Events) deliver recorded new, moved, pulled and restored offers, filterable by league and event type, with cursor resume. Free runs 5 minutes behind, Developer with no added plan delay, Production, Commercial and Scale deliver with no added plan delay. Production, Commercial and Scale add signed webhooks. These delays apply after collection. Player scores and game clocks are not emitted as SSE offer events: read them from REST (/api/v1/live-sports) or, on paid plans, from the WebSocket with channels=scores,games.

### Can I use the data in an AI app?

Yes. Use the MCP tools or REST API for current props, recorded line history and comparisons, with source timestamps and stale indicators. The ChatGPT guide explains public, keyless search and fetch; authenticated live data needs an API-capable app or integration. The Lovable guide shows a server-side integration that keeps your API key private.

### How do I call it from Python or JavaScript?

Send your key as a Bearer header and X-User-Request with a short, non-sensitive job description to authenticated /api/v1 data endpoints. Install a client if you want one: pip install prizepicksapi (PyPI), npm install prizepicksapi (npm), or npx -y prizepicksapi-mcp for a local MCP server; source at github.com/prizepicksapi and setup at prizepicksapi.com/sdks. No SDK is required: the guides have runnable Python standard-library and Node.js fetch examples with pagination and error handling.
