Standings
This endpoint allows you to retrieve the standings. For the type argument you can search by: home, away and total.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated after every finished match.
Recommended Calls: Limit calls to 1 per finished match.
Use Cases
Get standingshttps://american-football.sportdevs.com/standings
Get standing based on the idhttps://american-football.sportdevs.com/standings?id=eq.{id}
Get standing from a specific league_idhttps://american-football.sportdevs.com/standings?league_id=eq.{league_id}
Get standing from a specific league_id and season_idhttps://american-football.sportdevs.com/standings?league_id=eq.{league_id}&season_id=eq.{season_id}
Get standing from a specific league_id, season_id and typehttps://american-football.sportdevs.com/standings?league_id=eq.{league_id}&season_id=eq.{season_id}&type=eq.{type}
Query Parameters
- id integer
Default value:
eq.78500
The id of the standing
- type text
Default value:
eq.total
The type of the standing
- season_id integer
Default value:
eq.13070
The id of the season
- league_id integer
Default value:
eq.2856
The id of the league
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the standing
Note: This is a Primary Key.
- tournament_id integer
The id of the tournament
Note: This is a Foreign Key to
seasons-by-tournament.tournament_id
. - tournament_name text
The name of the tournament
- type text
The type of the standing
- name text
The name of the standing
- season_id integer
The id of the season
Note: This is a Foreign Key to
seasons.id
. - season_name text
The name of the season
- league_id integer
The id of the league
Note: This is a Foreign Key to
leagues.id
. - league_name text
The name of the league
- league_hash_image text
The name image of the league
- competitors jsonb
The competitors of the standing
[
{
"id": 78500,
"tournament_id": 11200,
"type": "total",
"name": "AFC",
"season_id": 13070,
"season_name": "NFL 22/23",
"league_id": 2856,
"league_name": "NFL",
"league_hash_image": "8177e407783797018a0631b96a5a39a542b59a36b63432905bcc8645b8a97602",
"competitors": [
{
"wins": 3,
"draws": 1,
"losses": 13,
"matches": 17,
"team_id": 46522,
"position": 16,
"team_name": "Houston Texans",
"scores_for": 289,
"scores_against": 420,
"team_hash_image": "0cb706b580b979b8b86732156a874a0a0cd045fd518877464fa20f33f0584114"
},
{
"wins": 4,
"draws": 1,
"losses": 12,
"matches": 17,
"team_id": 46511,
"position": 15,
"team_name": "Indianapolis Colts",
"scores_for": 289,
"scores_against": 427,
"team_hash_image": "1c90d1520dd9198d2fa6ccaa1047a806fe7f15c28b9f74007d08f62ebb03dc7c"
},
{
"wins": 5,
"draws": 0,
"losses": 12,
"matches": 17,
"team_id": 46546,
"position": 14,
"team_name": "Denver Broncos",
"scores_for": 287,
"scores_against": 359,
"team_hash_image": "ea2f5cf43a701caf91e7bf6be97a70de7619b9c6b5695e12b5511d1764c99c0a"
},
{
"wins": 6,
"draws": 0,
"losses": 11,
"matches": 17,
"team_id": 46547,
"position": 13,
"team_name": "Las Vegas Raiders",
"scores_for": 395,
"scores_against": 418,
"team_hash_image": "28360d99743ecf65e845af5510def80ece617ba326be4b744f9b2eb45efe7b04"
},
{
"wins": 7,
"draws": 0,
"losses": 10,
"matches": 17,
"team_id": 46494,
"position": 12,
"team_name": "Cleveland Browns",
"scores_for": 361,
"scores_against": 381,
"team_hash_image": "c62cd512080012b8a22496c4148664466f589f16bf5c4da5a880cbc705435860"
},
{
"wins": 7,
"draws": 0,
"losses": 10,
"matches": 17,
"team_id": 46530,
"position": 11,
"team_name": "Tennessee Titans",
"scores_for": 298,
"scores_against": 359,
"team_hash_image": "e705b54091d3d726e984d11d577137819101cfbe15b950140f8187bb4dca1190"
},
{
"wins": 7,
"draws": 0,
"losses": 10,
"matches": 17,
"team_id": 46540,
"position": 10,
"team_name": "New York Jets",
"scores_for": 296,
"scores_against": 316,
"team_hash_image": "84947a2f1f6fe8550ab5736ebdd8e272afec7766920796977f3cb2f3b7504743"
},
{
"wins": 8,
"draws": 0,
"losses": 9,
"matches": 17,
"team_id": 46500,
"position": 9,
"team_name": "New England Patriots",
"scores_for": 364,
"scores_against": 347,
"team_hash_image": "a1a2fd51ffc0ed20f25905589e21eace918597dc4c8a57b38be5fc77268d0ce5"
},
{
"wins": 9,
"draws": 0,
"losses": 8,
"matches": 17,
"team_id": 46461,
"position": 8,
"team_name": "Pittsburgh Steelers",
"scores_for": 308,
"scores_against": 346,
"team_hash_image": "96fcdf7329f732d526b9c06b17e64ba0018933fe6f4682db1bed439ad3f5fcdb"
},
{
"wins": 9,
"draws": 0,
"losses": 8,
"matches": 17,
"team_id": 46492,
"position": 7,
"team_name": "Miami Dolphins",
"scores_for": 397,
"scores_against": 399,
"team_hash_image": "7958e23c90d95335f5eb854ff1b96b8732c691b862e60a2b1c8fdd709ed0fd13"
},
{
"wins": 9,
"draws": 0,
"losses": 8,
"matches": 17,
"team_id": 46523,
"position": 4,
"team_name": "Jacksonville Jaguars",
"scores_for": 404,
"scores_against": 350,
"team_hash_image": "ed3fa10ecf2141810dfd05a08902b788efc14430d0d40a3147d0f94f8fe1efd7"
},
{
"wins": 10,
"draws": 0,
"losses": 7,
"matches": 17,
"team_id": 46456,
"position": 6,
"team_name": "Baltimore Ravens",
"scores_for": 350,
"scores_against": 315,
"team_hash_image": "a9daca603827880320f830879d19098a52e7b40a1e124352bab117fd81614aef"
},
{
"wins": 10,
"draws": 0,
"losses": 7,
"matches": 17,
"team_id": 46568,
"position": 5,
"team_name": "Los Angeles Chargers",
"scores_for": 391,
"scores_against": 384,
"team_hash_image": "a7983fdc08bb85a4c8a1a2aa2ae49658dd7a1336526b553cf5041fd6eeb25435"
},
{
"wins": 12,
"draws": 0,
"losses": 4,
"matches": 16,
"team_id": 46485,
"position": 3,
"team_name": "Cincinnati Bengals",
"scores_for": 418,
"scores_against": 322,
"team_hash_image": "1f86f1d4e52467ed34f571fac6ba2ba1fd9d6fd8cd0c620a3acb255311cca858"
},
{
"wins": 13,
"draws": 0,
"losses": 3,
"matches": 16,
"team_id": 46439,
"position": 2,
"team_name": "Buffalo Bills",
"scores_for": 455,
"scores_against": 286,
"team_hash_image": "ae56975737afb0519c3cbf049c57174a89dd65dcdf8c23aaffbb17084a65f6be"
},
{
"wins": 14,
"draws": 0,
"losses": 3,
"matches": 17,
"team_id": 1800,
"position": 1,
"team_name": "Kansas City Chiefs",
"scores_for": 496,
"scores_against": 369,
"team_hash_image": "25f07bf2edc54e76f6a1ad1cd748a659a27f2496e3f98ea710ec49b204cc0512"
}
]
}
]