# NFL Fantasy x402 API – Player Stats

> NFL Fantasy x402 API – Player Stats is a paid API for AI agents from nfl-x402-api.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns NFL player weekly or season fantasy football stats with points computed using customizable scoring systems (PPR, half-PPR, standard, TE premium, 6-pt pass TD, or JSON overrides)

## Facts

- Endpoint: GET https://nfl-x402-api.vercel.app/api/player/stats
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nfl-fantasy-x402-api-player-stats-a9fedb23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LUluGrUml8w-XT8hNf6KD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nfl-fantasy-x402-api-player-stats-a9fedb23
```

Example prompt: What were Tyreek Hill's PPR fantasy points week by week during the 2024 regular season?

## When to prefer this

Use this endpoint when you need fantasy football points or underlying stats for a specific NFL player, especially when you want flexible scoring (PPR, half-PPR, standard, TE premium, 6-pt pass TDs, or fully custom JSON overrides) across any season from 2015–2025, either weekly or season-level. Prefer this over generic sports stats APIs when fantasy point computation is needed rather than raw box score data.

## Known failure modes

- Player not found by name or player_id — returns empty result or error
- Invalid season range (outside 2015–2025) — returns error or empty data
- Malformed scoring JSON override — returns validation error
- Invalid week range format — returns error
- No data available for specified season_type (e.g. POST with no playoff games) — returns empty result

## How this service works

NFL player weekly or season fantasy football stats (2015-2025) with points computed to any custom scoring: PPR, half-PPR, standard, TE premium, 6-pt pass TD, or full JSON overrides.

## Output

A JSON object containing the player's fantasy football stats and computed fantasy points for the requested season(s) and week(s), calculated using the specified scoring preset (e.g. PPR, half-PPR) or custom scoring overrides, with weekly or season-level aggregation as requested.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "agg": {
       "enum": [
        "weekly",
        "season"
       ],
       "type": "string",
       "default": "weekly"
      },
      "name": {
       "type": "string",
       "description": "Player name (used if player_id omitted)"
      },
      "weeks": {
       "type": "string",
       "description": "Single week (5) or range (3-8)"
      },
      "preset": {
       "enum": [
        "ppr",
        "half_ppr",
        "standard",
        "ppr_6pt_pass",
        "te_premium"
       ],
       "type": "string",
       "default": "ppr"
      },
      "scoring": {
       "type": "string",
       "description": "JSON scoring overrides, e.g. {\"pass_td\":6,\"rec\":0.5}"
      },
      "seasons": {
       "type": "string",
       "description": "CSV of seasons, e.g. 2024,2025. Defaults to previous+latest seasons in the DB."
      },
      "player_id": {
       "type": "string",
       "description": "nflverse GSIS player id"
      },
      "season_type": {
       "enum": [
        "REG",
        "POST",
        "ALL"
       ],
       "type": "string",
       "default": "REG"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nfl-fantasy-x402-api-player-stats-a9fedb23/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nfl-x402-api.vercel.app](https://www.zero.xyz/host/nfl-x402-api.vercel.app/llms.txt)
