CBS Sports fantasy football and basketball · Stats
cbssports-com/fantasy-sports-rankings/statsGet sports scores and statistics with CBS Sports fantasy football and basketball · Stats from Alexandria through one Spiral API key. Actual fantasy production: last week's football scores, this season to date, a past season's totals, or recent NBA fantasy basketball form. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
position required | one of QB, RB, WR, TE, K, DST, PG, SG, SF, PF, C, G, F | — | Football: QB, RB, WR, TE, K or DST (team defense and special teams). Basketball: PG, SG, SF, PF, C, or G (guards) and F (forwards). |
week | number 1 to 30 | — | Current season only; omit for season totals. Football: a single NFL week 1-18; the site publishes only the last completed week. Basketball: a scoring period; the site publishes only the current one ("This Period"). Others are not_found. |
limit | number 1 to 200 | — | Return only the top N rows. Omit for the whole table. |
sport | one of football, basketball | football | football (default, NFL) or basketball (NBA). Positions, scoring and periods differ by sport; an option of the other sport is invalid_input. |
period | one of yesterday, last_7_days, last_14_days, last_21_days, last_28_days, three_year_average | — | Basketball only, current season, without week: yesterday, the last 7/14/21/28 days, or the three-year averages (published before the season starts). Periods the site is not showing are not_found. |
season | number 2000 to 2100 | — | Season year; an NBA season is labelled by the year it starts (2025 is 2025-26). Omit for the current season. The site publishes the current and the two previous seasons (three before an NBA season starts); others are not_found. |
scoring | one of PPR, STD | — | Football only: PPR (a point per reception, the default) or STD (non-PPR). The site publishes no half-PPR tables. Omit for basketball, whose tables use CBS points scoring. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "cbssports-com/fantasy-sports-rankings/stats",
"input": {
"position": "QB"
}
}'Frequently asked questions
How much does CBS Sports fantasy football and basketball · Stats cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use CBS Sports fantasy football and basketball · Stats through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "cbssports-com/fantasy-sports-rankings/stats"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use CBS Sports fantasy football and basketball · Stats?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use CBS Sports fantasy football and basketball · Stats?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.