Get QX

Sports API

A REST API of sports teams and players. Version 1 is free to use courtesy of Get QX.


Endpoints

HTTP Header Endpoint Action
GET https://api.getqx.com/v1/teams/ List of teams
GET https://api.getqx.com/v1/teams/1/ Details for team #1
GET https://api.getqx.com/v1/players/ List of players
GET https://api.getqx.com/v1/players/1/ Details for player #1

Examples

Teams

[
    {
        "id": 1,
        "league": "NFL",
        "symbol": "ARI",
        "location_name": "Arizona",
        "team_name": "Cardinals"
    },
    {
        "id": 2,
        "league": "NFL",
        "symbol": "ATL",
        "location_name": "Atlanta",
        "team_name": "Falcons"
    },
    {
        "id": 3,
        "league": "NFL",
        "symbol": "BAL",
        "location_name": "Baltimore",
        "team_name": "Ravens"
    }
]

Players

[
    {
        "id": 1,
        "player_name": "LeBron James",
        "player_nickname": "King James",
        "team": {
            "id": 46,
            "league": "NBA",
            "symbol": "LAL",
            "location_name": "Los Angeles",
            "team_name": "Lakers"
        }
    },
    {
        "id": 2,
        "player_name": "Giannis Antetokounmpo",
        "player_nickname": "Greek Freak",
        "team": {
            "id": 49,
            "league": "NBA",
            "symbol": "MIL",
            "location_name": "Milwaukee",
            "team_name": "Bucks"
        }
    },
    {
        "id": 3,
        "player_name": "Andrew Luck",
        "player_nickname": null,
        "team": {
            "id": 14,
            "league": "NFL",
            "symbol": "IND",
            "location_name": "Indianapolis",
            "team_name": "Colts"
        }
    }
]