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://cricket.sportdevs.com/news-matches?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.20386
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": 20386,
"match_id": 20386,
"league_id": 3222,
"league_name": "Test Series",
"league_hash_image": "b264c21bb666db2f19327a2c50f87a5dada33e1fd2a982f48264e7a10a8a756c",
"date": "2024-07-26T08:15:00+00:00",
"title": "2024 Test Series Showdown: England vs West Indies at Edgbaston",
"name": "2024 Test Series Showdown: England vs West Indies at Edgbaston",
"subtitles": [
{
"text": "On the other hand, England has had a tough time in the dual matches, failing to secure a single win. Despite the setbacks, the team remains optimistic and is focused on turning things around in the Test Series. The home advantage at Edgbaston could provide the boost they need to overcome their opponents. The team has been working hard on their strategies and are determined to put up a strong fight against the West Indies.",
"subtitle": "England's Struggle in Dual Matches"
},
{
"text": "The cricket world is buzzing with anticipation as the 2024 Test Series is set to kick off at the iconic Edgbaston arena. The home team, England, will be facing off against the formidable West Indies in what promises to be a thrilling encounter. The match is scheduled to start on Fri Jul 26 2024 08:15:00 GMT+0000 (Coordinated Universal Time), and fans around the globe are eagerly waiting to see which team will emerge victorious in this World class event.",
"subtitle": "Anticipation Builds for the 2024 Test Series"
},
{
"text": "The West Indies have been in scintillating form in the lead up to the Test Series, having won all 8 of their dual matches. Their dominant performance has sent a clear message to their rivals, and they will be looking to continue their winning streak at Edgbaston. The team's aggressive style of play and strategic game planning have been key to their success, and they will be hoping to replicate this in the upcoming match.",
"subtitle": "West Indies' Dominant Performance in Dual Matches"
},
{
"text": "With the West Indies' impressive winning streak and England's determination to bounce back, the stage is set for an epic showdown at Edgbaston. The 2024 Test Series promises to be a thrilling spectacle, with both teams eager to prove their mettle on the world stage. As the countdown to the match begins, fans are gearing up for a cricketing extravaganza that is sure to keep them on the edge of their seats.",
"subtitle": "The Stage is Set for an Epic Showdown"
}
]
}
]