Get NFL fantasy points
GET/v1/nfl/fantasy/points
Live fantasy scoring with customizable rules. PPR, half-PPR, DFS, or fully custom — pass a scoring config.
Code samples
# Get live scores across every league curl "https://api.sportapi.io/v1/nba/scores/live" \ -H "Authorization: Bearer $API_KEY" # Response { "games": [{ "game_id": "0022500412", "status": "in_progress", "period": 3, "clock": "07:42", "home": { "team": "BOS", "score": 78 }, "away": { "team": "LAL", "score": 71 }, "last_play": "J. Tatum makes 3-pt jumper from 25 ft" }] }
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
scoring | string | No | ppr | half_ppr | std | dfs_dk | dfs_fd | custom |
rules | object | No | When scoring=custom, pass a rules object |
week | integer | No | NFL week, defaults to current |
Response
{
"scoring": "ppr",
"players": [
{ "id": "patrick-mahomes", "team": "KC", "pos": "QB", "points": 28.4 },
{ "id": "travis-kelce", "team": "KC", "pos": "TE", "points": 22.1 }
]
}Error responses
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid API key |
| 403 | tier_insufficient | Your plan tier doesn't include this resource |
| 429 | rate_limited | Exceeded rate limit; honor Retry-After |
| 500 | internal_error | Server error; retry with exponential backoff |