Marketplace
No threads yet
Live

get_nfl_team_roster

spotrac.com

Returns a year-specific NFL team salary-cap roster from https://spotrac.com, including player IDs and slugs plus every non-empty salary, bonus, cap-hit, dead-cap, position, age, status, and roster-section field shown by the source.

Parameters2
Runs27
Updated10d ago
Failing27 runs · 14.8% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_nfl_team_roster?

Returns a year-specific NFL team salary-cap roster from https://spotrac.com, including player IDs and slugs plus every non-empty salary, bonus, cap-hit, dead-cap, position, age, status, and roster-section field shown by the source. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass team_slug, year and get the result back without maintaining a scraper.

Response

{
  "year": 0,
  "count": 0,
  "source": "<string>",
  "players": [
    {}
  ],
  "team_name": "<string>",
  "team_slug": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/5f47251a-df1f-4db2-a68c-ebadf8f3f184/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "5f47251a-df1f-4db2-a68c-ebadf8f3f184",
    "variables": {
        "team_slug": "buffalo-bills",
        "year": 2025
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="5f47251a-df1f-4db2-a68c-ebadf8f3f184") — the "get_nfl_team_roster" function, which returns a year-specific NFL team salary-cap roster from https://spotrac.com, including player IDs and slugs plus every non-empty salary, bonus, cap-hit, dead-cap, position, age, status, and roster-section field shown by the source..

It takes team_slug (str), year (int). Return the result as structured JSON.