Sports
Spotrac logo

Spotrac API

spotrac.com

Spotrac - player salary rankings, free-agent listings, and contract profiles.

Actions
5
Category
Sports
Login
Not required
Output
JSON

Call the Spotrac API

Submit a task, then poll the job until it settles. This example runs act_spotrac_homepage_ssr.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_spotrac_homepage_ssr",
    "params": {}
  }'

5 actions on spotrac.com

Read

  • Homepage Navigation

    act_spotrac_homepage_ssrread1 credit / call

    Returns homepage navigation links to rankings, free agents, and player profiles.

  • NBA Free Agents Listing

    act_spotrac_nba_free_agents_listingread1 credit / call

    Returns NBA free agents with cap hit, cash, earnings, and team.

  • NBA Player Contract Details

    act_spotrac_nba_player_contract_detailread1 credit / call

    Returns an NBA player's contract with team, salary, cap hit, and career earnings.

    player_id
    string · required
    player_slug
    string · required
  • NFL Player Contract Details

    act_spotrac_nfl_player_contract_detailread1 credit / call

    Returns an NFL player's contract with team, salary, cap hit, and career earnings.

    player_id
    string · required
    player_slug
    string · required
  • NFL Player Rankings

    act_spotrac_nfl_player_rankings_listingread1 credit / call

    Returns NFL players ranked by salary with cap hit, cash, and earnings.

Spotrac API questions

Is there an API for Spotrac?
Spotrac does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for spotrac.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Spotrac data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when spotrac.com changes its markup, Anakin updates the action.
Do I need a Spotrac account?
No. Every Spotrac action listed here runs anonymously — no account and no credentials required.
What does the Spotrac API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Sports APIs

All Sports sites