Endpoint Playground
Returns a competition's standings in one view: `overall`, `home_away` (home and away tables), `rounds` (first and second half-season tables), `fairness` (fair-play table) or `cross` (cross table of results between every pair of teams). Set `matchday` to get the standings as they were after that matchday (not available for `fairness`). Rows carry position, team, played, won, drawn, lost, goals and points where the view has them, plus the raw cells.
curl 'https://api.crawlora.net/api/v1/fussballde/table?competition_id=031BFREJC800001BVS5489BUVUR5FS5A-G&view=overall' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| competition_id | string | Yes | 031BFREJC800001BVS5489BUVUR5FS5A-G | Competition id from fussballde-competitions |
| view | string | No | overall | Standings view, default overall |
| matchday | integer | No | Return the standings after this matchday, 1 to the competition's matchday count; not available for the fairness view |
{
"code": 200,
"msg": "OK",
"data": {
"competition_id": "031BFREJC800001BVS5489BUVUR5FS5A-G",
"matchday": 3,
"tables": [
{
"columns": [
"Platz",
"Mannschaft"
],
"rows": [
{
"cells": [
"6",
"4"
],
"drawn": 2,
"goal_difference": 17,
"goals_against": 5,
"goals_for": 22,
"lost": 0,
"played": 6,
"points": 14,
"position": 1,
"team": {
"club_id": "00ES8GNHAK00001AVV0AG08LVUPGND5I",
"logo_url": "https://www.fussball.de/export.media/-/action/getLogo/format/0/id/00ES8GNHAK00001AVV0AG08LVUPGND5I/verband/0123456789ABCDEF0123456700004010",
"name": "FC Bayern München"
},
"won": 4
},
{
"cells": [
"6",
"4"
],
"drawn": 2,
"goal_difference": 7,
"goals_against": 4,
"goals_for": 11,
"lost": 0,
"played": 6,
"points": 14,
"position": 2,
"team": {
"club_id": "00ES8GN8N400008VVV0AG08LVUPGND5I",
"logo_url": "https://www.fussball.de/export.media/-/action/getLogo/format/0/id/00ES8GN8N400008VVV0AG08LVUPGND5I/verband/0123456789ABCDEF0123456700004010",
"name": "Borussia Dortmund",
"team_id": "011MI8V6UC000000VTVG0001VTR8C1K7",
"url": "https://www.fussball.de/mannschaft/borussia-dortmund-borussia-dortmund-westfalen/-/saison/2627/team-id/011MI8V6UC000000VTVG0001VTR8C1K7"
},
"won": 4
}
]
}
],
"view": "overall"
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.