News Matches
This endpoint allows you to retrieve the news from matches.
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 2 hours.
Recommended Calls: Limit calls to 1 every 2 hours.
Use Cases
Get news from a specific match_idhttps://tennis.sportdevs.com/news-matches?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.1211631
The id of the match
- 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 news
- match_id integer
The id of the match
- 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
- date timestamp with time zone
The date of the match
- title text
The title of the news
- name text
The name of the news
- subtitles jsonb
The subtitles
[
{
"id": 1211631,
"match_id": 1211631,
"league_id": 2237,
"league_name": "US Open",
"league_hash_image": "6235142c787378ed7c02b201125899404b03aedb07e75dfe2c73862e89249428",
"date": "2024-08-19T18:05:00+00:00",
"title": "US Open Women Singles 2024 Round 1: A Grand Slam Showdown at Court 7",
"name": "US Open Women Singles 2024 Round 1: A Grand Slam Showdown at Court 7",
"subtitles": [
{
"text": "Court 7, known for its intimate setting and electric atmosphere, is the chosen arena for the first round of the US Open Women Singles 2024. The court has been the stage for many memorable matches in the past, and this year promises to be no different. The players will have to navigate the unique challenges of the court, including its fast surface and the often unpredictable weather conditions. Despite these challenges, Court 7 remains a favorite among players and fans alike, and is sure to provide a fitting backdrop for the opening round of the tournament.",
"subtitle": "Court 7: The Stage for the First Round"
},
{
"text": "The opening match of the tournament is set to be a thrilling encounter. The home team, led by the formidable Mateas M., will be going head-to-head against the away team, led by the equally impressive Teichmann J. Both teams have a strong track record in the tournament, and the match promises to be a closely fought contest. The players will need to bring their A-game, as the stakes are high and the competition fierce. The match is scheduled to start at 18:05 GMT, and fans around the world are eagerly awaiting the start of what promises to be a thrilling contest.",
"subtitle": "The Opening Match: A Clash of Titans"
},
{
"text": "The US Open Women Singles 2024 has officially kicked off, marking the start of another thrilling Grand Slam season. The first round of matches promises to be a spectacle of skill, strategy, and stamina, as the world's top female tennis players battle it out on the court. The tournament, held at the iconic Court 7, is set to be a showcase of the highest level of tennis, with each match a testament to the players' dedication, hard work, and passion for the sport.",
"subtitle": "Grand Slam Season Opens with a Bang"
},
{
"text": "The US Open Women Singles 2024 is set to be a tournament of epic proportions. With the world's top female tennis players vying for the coveted title, fans can expect a series of intense and exciting matches. The first round, held at Court 7, is just a taste of what's to come. As the tournament progresses, the competition will only get tougher, and the matches more thrilling. Whether you're a seasoned tennis fan or a newcomer to the sport, the US Open Women Singles 2024 is a tournament you won't want to miss.",
"subtitle": "What to Expect from the US Open Women Singles 2024"
}
]
}
]