Matches By Date League
This endpoint allows you to retrieve the matches from a specific date and league. The date has a format of YYYY-DD-MM.
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 every day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get matches from a specific date and league_idhttps://tennis.sportdevs.com/matches-by-date-league?date=eq.{date}&league_id=eq.{league_id}
Query Parameters
- date text
Default value:
eq.2002-10-30
The date
- league_id integer
Default value:
eq.1934
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
- date text
The date
- league_id integer
The id of the league
- league_name text
The name of the league
- league_hash_image character varying
Possible values:
<= 64 characters
The hash image of the league
- matches jsonb
The matches
[
{
"date": "2002-10-30",
"league_id": 1934,
"league_name": "Billie Jean King Cup",
"league_hash_image": "3bcdf3cc9caeebdb96e36f926971611aab697b3ef1eec615c17322ed6da6254d",
"matches": [
{
"id": 538122,
"name": "Slovakia vs Italy",
"status": "finished",
"duration": 9000,
"season_id": 17412,
"start_time": "2002-10-30T17:00:00+00:00",
"season_name": "Fed Cup 2010",
"away_team_id": 41484,
"home_team_id": 41537,
"status_reason": "Ended",
"tournament_id": 779,
"away_team_name": "Italy",
"home_team_name": "Slovakia",
"away_team_score": 1,
"home_team_score": 3,
"tournament_name": "Billie Jean King Cup World Group",
"away_team_hash_image": "0acc1e5f2bc238fab0c45e6faa8bc7dcc3b1b16e1ff857afa77c0cbbca76919b",
"home_team_hash_image": "aadfeffef1f3590639784882c4fed3acf651262cdc2ec0620e6e0bf6beae4ff9",
"tournament_importance": 0
},
{
"id": 538169,
"name": "Spain vs Austria",
"status": "finished",
"duration": 9000,
"season_id": 17412,
"start_time": "2002-10-30T11:00:00+00:00",
"season_name": "Fed Cup 2010",
"away_team_id": 90564,
"home_team_id": 41577,
"status_reason": "Ended",
"tournament_id": 779,
"away_team_name": "Austria",
"home_team_name": "Spain",
"away_team_score": 2,
"home_team_score": 3,
"tournament_name": "Billie Jean King Cup World Group",
"away_team_hash_image": "210bb16a259ae91565b8b6c7021580c3fae1c6ebc8343d95dfad2835d89b3bd6",
"home_team_hash_image": "2f266534035ee51216f4ceb9643dfa0c2556102488fc78701a6b008bec416375",
"tournament_importance": 0
},
{
"id": 538159,
"name": "Sanchez-Vicario A. vs Barbara Schett",
"status": "finished",
"duration": 9000,
"season_id": 17012,
"start_time": "2002-10-30T12:00:00+00:00",
"season_name": "Fed Cup 2011",
"away_team_id": 82654,
"status_reason": "Ended",
"tournament_id": 14862,
"away_team_name": "Barbara Schett",
"home_team_name": "Sanchez-Vicario A.",
"away_team_score": 0,
"home_team_score": 2,
"tournament_name": "Billie Jean King Cup Single Matches",
"away_team_hash_image": "4fff12fea97b63d1d6921a6599504e328ec80e1fac2174351f04c87ef1d0e99f",
"home_team_hash_image": "7c09cc6f2cdbb9c6ccffeb2569c5be19c7d8763630ddaf74c2fa7eb59072f7ff",
"tournament_importance": 0,
"away_team_period_1_score": 3,
"away_team_period_2_score": 6,
"home_team_period_1_score": 6,
"home_team_period_2_score": 7
},
{
"id": 538381,
"name": "Conchita Martinez Granados vs Wartusch P.",
"status": "finished",
"duration": 9000,
"season_id": 17012,
"start_time": "2002-10-30T11:00:00+00:00",
"season_name": "Fed Cup 2011",
"home_team_id": 203924,
"status_reason": "Ended",
"tournament_id": 14862,
"away_team_name": "Wartusch P.",
"home_team_name": "Conchita Martinez Granados",
"away_team_score": 0,
"home_team_score": 2,
"tournament_name": "Billie Jean King Cup Single Matches",
"away_team_hash_image": "ab98448805ffc3ce02e1cea56a2830ae4b989371e9924932c0b12a017d00baf2",
"home_team_hash_image": "3b8316716f3fbf4d3a2bfe4a06c1358b9bdda391cd4ba669afb31f1f20186233",
"tournament_importance": 0,
"away_team_period_1_score": 0,
"away_team_period_2_score": 5,
"home_team_period_1_score": 6,
"home_team_period_2_score": 7
},
{
"id": 538124,
"name": "Daniela Hantuchová vs Francesca Schiavone",
"status": "finished",
"duration": 9000,
"season_id": 17012,
"start_time": "2002-10-30T17:00:00+00:00",
"season_name": "Fed Cup 2011",
"away_team_id": 59788,
"home_team_id": 1754,
"status_reason": "Ended",
"tournament_id": 14862,
"away_team_name": "Francesca Schiavone",
"home_team_name": "Daniela Hantuchová",
"away_team_score": 2,
"home_team_score": 0,
"tournament_name": "Billie Jean King Cup Single Matches",
"away_team_hash_image": "dec771ea7e102e2defe4888614e65349a5fa73865162aa6e675b7f0beeb66596",
"home_team_hash_image": "770f7a0d8c1fbf5e440659b6f7cd5312f00e21640a94b3888afa95aea8f58f30",
"tournament_importance": 0,
"away_team_period_1_score": 7,
"away_team_period_2_score": 6,
"home_team_period_1_score": 6,
"home_team_period_2_score": 1
},
{
"id": 538154,
"name": "Janette Husarova vs Silvia Farina Elia",
"status": "finished",
"duration": 9000,
"season_id": 17012,
"start_time": "2002-10-30T18:00:00+00:00",
"season_name": "Fed Cup 2011",
"away_team_id": 203552,
"home_team_id": 162175,
"status_reason": "Ended",
"tournament_id": 14862,
"away_team_name": "Silvia Farina Elia",
"home_team_name": "Janette Husarova",
"away_team_score": 0,
"home_team_score": 2,
"tournament_name": "Billie Jean King Cup Single Matches",
"away_team_hash_image": "20e03c5c2e201b706ea25bbd336b345c34167180edc0de2fae15c11b7b1145fe",
"home_team_hash_image": "c86f0ffd37128707c8dd87a350ec52ddfe12e6c3ad0e597e054456515e4286c9",
"tournament_importance": 0,
"away_team_period_1_score": 4,
"away_team_period_2_score": 3,
"home_team_period_1_score": 6,
"home_team_period_2_score": 6
}
]
}
]