Developer Access to Spotrac Data

  • Spotrac's API

    The Spotrac API provides you with the access to retrieve and display active contract, salary, and cap information for teams and players across the major sports we cover. Integrating data from the API is easy, and powerful. In the coming months we'll work to expand the API, and this section, to allow for even more real-time data requests and examples for documentation purposes.

    Integrate real-time financial information for MLB, NFL, NBA, and the NHL - including player contracts, salaries, cap figures, and more. Filter our data by team, position, or year to fit your application's current needs.

     

    The Spotrac API is RESTful, meaning requests are obtained using the GET format. All data is returned in JSON format for flexible usage.

    Our pricing structure is reflective of the sports being requested, and the amount of volume/requests your application is in need of on a monthly basis. Once you're registered, you'll receive a production application KEY for each sport you've purchased, allowing for variant request limits per sport.

     

    • Integrate team financials, free agent listings, and rankings.
    • Integrate team cap tables, active contract details, multi-year breakdowns.
    • Integrate player data, including contract breakdowns, rankings, and transactions.
  • Current API Pricing

    Our pricing structure is reflective of the sports being requested, and the amount of volume/requests your application is in need of on a monthly basis. Once you're registered, you'll receive a production application KEY for each sport you've purchased, allowing for variant request limits per sport.

     

    Sport # of Players Developer Package
    Monthly Rate
    Enterprise Package
    Monthly Rate
    MLB 1,234 $300 (60 requests) $750 (120 requests)
    NBA 574 $300 (60 requests) $750 (120 requests)
    NFL 1,928 $500 (64 Requests) $1,250 (128 Requests)
    NHL 755 $300 (60 requests) $750 (120 requests)

    » Contact Us to Start Your API Registration

     

    Request Limits
    Our request limits are put in place to allow developers to tie in various elements of our site once or twice week depending on the selected package. For those clients requesting more frequent access, please feel free to contact us directly and we'll work with you to price out a custom plan.

    Payments
    Payments can be made via direct mail (check) or via PayPal. All clients are required to pay in 3-month installments, upfront, and will be billed via mail/email as a reminder going forward. All API contracts with Spotrac are quarterly, meaning you may stop/cancel after any 3-month window should you need to.

  • Documentation

    The Spotrac API is RESTful, meaning requests are obtained using the GET format. All data is returned in JSON format for flexible usage.

    Our pricing structure is reflective of the sports being requested, and the amount of volume/requests your application is in need of on a monthly basis. Once you're registered, you'll receive a production application KEY for each sport you've purchased, allowing for variant request limits per sport.

    Samples of the available feeds for each sport can be found in the API Showcase.

    Rate limits are applied on a per account/per sport basis. If your rate limit is reached, you will start to receive "HTTP 403: Account over Rate Limit" messages in response to your calls.  We do our best to proactively monitor and notify you if you are approaching your limit to prevent service interruptions. If you do exceed your limit please contact our customer service personnel and they can help you get back on track.

    Format: All requests return data in a json format.

     

    League API

    Data specific to the league, including team cap totals, free agents, rankings and more.

     

    Team Cap Rankings

    Returns salary cap information regarding all teams within designated sport.

    Schema http://www.spotrac.com/api/sport/{sport}/{year}/{view}/{app_key}/

    Sport:mlb | nba | nfl | nhl

    Year: 2016

    View:cap

     

    Top Player Cap Hit Rankings

    Returns cap hit rankings for a given year for active players within designated sport.

    Schema http://www.spotrac.com/api/sport/{sport}/{year}/{view}/{app_key}/

    Sport:mlb | nba | nfl | nhl

    Year: 2016

    View: rankings-cap

     

    Top Player Cash Rankings

    Returns cash earning rankings for a given year for active players within designated sport.

    Schema: http://www.spotrac.com/api/sport/{sport}/{year}/{view}/{app_key}/

    Sport: mlb | nba | nfl | nhl

    Year: 2016

    View: rankings-cash

     

    Free Agents

    Returns free agent information regarding all players within designated sport.

    Schema: http://www.spotrac.com/api/sport/{sport}/{year}/{view}/{app_key}/

    Sport: mlb | nba | nfl | nhl

    Year: 2016

    View: free-agents

    Type (optional): ufa | rfa | erfa

    Status (optional): signed | available

     

     

    Team API

    Data specific to an individual team, including cap/cash tables, contract terms, multi-year cap figures and more.

     

    Team Salary Cap/Cash Table

    Returns salary cap or cash information for the selected team and year.

    Schema: http://www.spotrac.com/api/team/{team_name}/{year}/{view}/{app_key}/

    Team Name: buffalo-bills | browse all team codes

    Year: 2016

    View: cap | cash

     

    Team Player Contracts

    Returns contract details (terms, AAV, guaranteed money) for each player of the selected team.

    Schema: http://www.spotrac.com/api/team/{team_name}/{year}/{type}/{app_key}/

    Team Name: buffalo-bills | browse all team codes

    Year: 2016

    View: contracts

     

    Multi-Year Player Caps

    Returns 5 years of cap hit data for each active player on a team's roster.

    Schema: http://www.spotrac.com/api/team/{team_name}/{year}/{view}/{app_key}/

    Team Name: buffalo-bills | browse all team codes

    Start Year: 2016

    View: yearly-cap

     

    Free Agents

    Returns free agent information for players for the designated team within a sport.

    Sample Request URL: http://www.spotrac.com/api/team/{team_name}/{year}/{type}/{app_key}/

    Team Name: buffalo-bills | browse all team codes

    Start Year: 2016

    View: free-agents

     

     

    Player API

    Data specific to the player, including contract breakdowns, transactions, rankings and more.

     

    Player Data

    Returns player contract breakdowns, transactions, cap totals, free agents, rankings and more.

    Schema: http://www.spotrac.com/api/player/{sport}/{player_id}/{app_key}/

    Sport:mlb | nba | nfl | nhl

    Player ID: browse all player ids

  • Request a Developer Account

    Complete this quick form below to being your API registration process. One of our representatives will be in touch with you as soon as possible to discuss specifics, and work to complete your registration process. Once completed, you'll receive your authorization key(s) via email and you'll be on your way.

  • Resources

    By selecting a sport you will be able to access codes for each team (Buffalo Bills, buffalo-bills) and active player identification codes (Mike Trout, 8553). These codes used in conjunction with with the API calls will allow you to access to appropriate data.