Analyst Depot API Reference Documentation

Overview

Analyst Depot’s API is for users on our Groups plan. It allows you to access Player Rankings, Player Projections, and Player Values use for Trade Calculators and Draft Sheets. These APIs are designed to allow users to add these values onto their website, or use them with 3rd party tools.

Analyst Depot APIs are read-only, and only support GET requests based on a REST structure. All Analyst Depot API calls will be made to https://analystdepot.com/api/ and all responses return standard JSON.

If the Group’s manager downgrades their plan, the API access will be rejected. If you require a change of manager, please contact us at contact@analystdepot.com to make a change request

Authentication

Basic authentication is required to access the Analyst Depot API. Authentication is done by providing your API key within the request’s header. Use the header “x-api-key” with the API Key for your group. Your group API Key is:

You must be logged in to view your API key.

Group Player Rankings

Group Player Rankings are the consensus rankings based on your group members and the rankings selected.

List Group Rankings

This will list all Player Rankings created within your Group. It includes the name of the ranking, as well as the ID that will be used to lookup ranking specific information.

URL https://analystdepot.com/api/GroupPlayerRankings
Sample Response
[
    {
        "id": 1,
        "name": "Primary Rankings"
    },
    {
        "id": 2,
        "name": "Best Ball Rankings"
    }
]
Group Rankings - Highest/Lowest Rankings

This will provide the individual rankings for each player ranked within your Group Rankings. In addition to each ranking, you will see what the highest and lowest ranking for that player is.

URL https://analystdepot.com/api/GroupPlayerRankings/{ID}/{Postion}
Parameters
ID The ID of the Group Rankings. This can be found with the List Group Rankings call.
Position The position to show rankings for. Acceptable values include: QB, RB, WR & TE
Sample Response
[
    {
        "name": "Patrick Mahomes",
        "team": "KC",
        "position": "QB",
        "rank": "1",
        "highest": "1",
        "lowest": "2"
    },
    {
        "name": "Josh Allen",
        "team": "BUF",
        "position": "QB",
        "rank": "2",
        "highest": "2",
        "lowest": "5"
    }
]
Group Rankings - Individual Rankings

This will provide the individual rankings for each player ranked within your Group Rankings. In addition to each ranking, you will see what each contributor to the Group Rankings ranked the player at.

URL https://analystdepot.com/api/GroupPlayerRankings/individual/{ID}/{Postion}
Parameters
ID The ID of the Group Rankings. This can be found with the List Group Rankings call.
Position The position to show rankings for. Acceptable values include: QB, RB, WR & TE
Sample Response
[
    {
        "name": "Patrick Mahomes",
        "team": "KC",
        "position": "QB",
        "rank": "1",
        "individualRankings": [
            {
                "ranker": "Fantasy Champ",
                "rank": "1"
            },
            {
                "ranker": "Bearded Hero",
                "rank": "2"
            }
        ]
    },
    {
        "name": "Josh Allen",
        "team": "BUF",
        "position": "QB",
        "rank": "2",
        "individualRankings": [
            {
                "ranker": "Fantasy Champ",
                "rank": "2"
            },
            {
                "ranker": "Bearded Hero",
                "rank": "5"
            }
        ]
    }
]

Group Projections

Group Projections are the consensus projections based on your group members and the projections selected.

List Group Projections

This will list all Player Projections created within your Group. It includes the name of the ranking, as well as the ID that will be used to lookup ranking specific information.

URL https://analystdepot.com/api/GroupProjections
Sample Response
[
    {
        "id": 3,
        "name": "Full Team Projections"
    },
    {
        "id": 8,
        "name": "Senior Team Projections"
    }
]
Group Projections

This will provide the individual projection for all players within the Group Projection.

URL https://analystdepot.com/api/GroupProjections/{ID}
Parameters
ID The ID of the Group Projections. This can be found with the List Group Projections call.
Sample Response
[
    {
        "id": 128,
        "name": "Daniel Jones",
        "team": "NYG",
        "position": "QB",
        "passAttempts": 448,
        "completions": 280,
        "passYards": 2943,
        "passTDs": 12,
        "interceptions": 11,
        "rushAttempts": 65,
        "rushYards": 423,
        "rushTDs": 1,
        "fumbles": 6,
        "targets": 0,
        "receptions": 0,
        "receivingYards": 0,
        "receivingTDs": 0,
        "fantasyPoints": 202.02
    },
    {
        "id": 1631,
        "name": "Melvin Gordon III",
        "team": "DEN",
        "position": "RB",
        "passAttempts": 0,
        "completions": 0,
        "passYards": 0,
        "passTDs": 0,
        "interceptions": 0,
        "rushAttempts": 215,
        "rushYards": 986,
        "rushTDs": 9,
        "fumbles": 4,
        "targets": 44,
        "receptions": 32,
        "receivingYards": 158,
        "receivingTDs": 1,
        "fantasyPoints": 198.4
    }
]
Group Individual Player Projections

This will provide the individual projection for a selected player within the Group Projection.

URL https://analystdepot.com/api/GroupProjections/{ID}/{Projection_ID}
Parameters
ID The ID of the Group Projections. This can be found with the List Group Projections call.
Projection_ID The ID of the Projection for the Group Projection. This can be found with the Group Projections call.
Sample Response
{
    "id": 1631,
    "name": "Melvin Gordon III",
    "team": "DEN",
    "position": "RB",
    "passAttempts": 0,
    "completions": 0,
    "passYards": 0,
    "passTDs": 0,
    "interceptions": 0,
    "rushAttempts": 215,
    "rushYards": 986,
    "rushTDs": 9,
    "fumbles": 4,
    "targets": 44,
    "receptions": 32,
    "receivingYards": 158,
    "receivingTDs": 1,
    "fantasyPoints": 198.4
}

Group Player Values

Group Player Values are created by making Group Calculators within Analyst Depot. These values are used for both Trade Calculators as well as Draft Sheets.

List Group Player Values

This will list all sets Player Values created within your Group from the Group Calculator feature. It includes the name of the Calculator, as well as the ID that will be used to lookup player value specific information.

URL https://analystdepot.com/api/GroupPlayerValues
Sample Response
[
    {
        "id": 3,
        "name": "Full Team Calculator - Rankings Based"
    },
    {
        "id": 7,
        "name": "Senior Team Calculator - Projections"
    }
]
Group Player Values

This will provide the individual Player Values for all players within the Group Calculator.

URL https://analystdepot.com/api/GroupPlayerValues/{ID}
Parameters
ID The ID of the Group Calculator. This can be found with the List Group Player Values call.
Sample Response
[
    {
        "id": 1020,
        "name": "Josh Allen",
        "team": "BUF",
        "position": "QB",
        "value": 76
    },
    {
        "id": 2035,
        "name": "Frank Gore",
        "team": "NYJ",
        "position": "RB",
        "value": 32
    }
]
Group Individual Player Values

This will provide the individual Player Values for all players within the Group Calculator.

URL https://analystdepot.com/api/GroupPlayerValues/{ID}/{Player_Value_ID}
Parameters
ID The ID of the Group Calculator. This can be found with the List Group Player Values call.
Player_Value_ID The ID of the Player Value for the Group Player Value. This can be found with the Group Player Values call.
Sample Response
{
    "id": 1020,
    "name": "Josh Allen",
    "team": "BUF",
    "position": "QB",
    "value": 76
}

Group Draft Sheets

Group Draft Sheets are created from your Group Calculators within Analyst Depot. The sheets will include the players, their tier and ranking.

List Group Draft Sheets

This will list all Group Draft Sheets created within your Group from the Group Draft Sheets feature. It includes the name of the Draft Sheet, the number of tiers, as well as the ID that will be used to lookup the draft sheet information.

URL https://analystdepot.com/api/GroupDraftSheets
Sample Response
[
    {
        "id": 7,
        "name": "12-Team Standard League Draft Sheet",
        "tiers" : 12
    },
    {
        "id": 9,
        "name": "10-Team Superflex League Draft Sheet",
        "tiers" : 10
    }
]
Group Draft Sheets

This will provide the draft sheet as well as all the tiers for each player.

URL https://analystdepot.com/api/GroupDraftSheets/{ID}
Parameters
ID The ID of the Group Draft Sheet. This can be found with the List Group Draft Sheets call.
Sample Response
[
    {
        "tier": 1,
        "players": [
            {
                "name": "Patrick Mahomes",
                "position": "QB",
                "team": "KC",
                "tierRank": 1,
                "overallRank": 1
            },
            {
                "name": "Christian McCaffrey",
                "position": "RB",
                "team": "Car",
                "tierRank": 2,
                "overallRank": 2
            }
        ]
    },
    {
        "tier": 2,
        "players": [
            {
                "name": "Miles Sanders",
                "position": "RB",
                "team": "PHI",
                "tierRank": 1,
                "overallRank": 3
            },
            {
                "name": "Nick Chubb",
                "position": "RB",
                "team": "CLE",
                "tierRank": 2,
                "overallRank": 4
            }
        }
    }
]