Post-match News

Our Post-Match news offers Match recaps are AI written in collaboration with United Robots, a renowned AI news provider. The articles are based on match results, goals, injuries, and other important events. They are available instantly after the final whistle.

You can choose a two endpoints to retrieve the Post-match News.

An overview of all available options:

  • GET Post-Match News: returns all the Post-Match News articles available within your subscription.

  • GET Post-Match News by Season ID: returns the all the Post-Match news articles from your requested season id.

For all the Post-Match News endpoints the base URL is the same:

https://api.sportmonks.com/v3/football/news/post-match

Per endpoint the rest of the URL requires additional information. We will explain this per endpoint.

Requesting Post-Match News

GET Post-Match News

The first option is to request all the post-match articles available in your subscription. The URL to retrieve all these articles is the same as the base URL for post-match news. All you have to do is authorize the request with your API token. Check our authentication section for more info.

https://api.sportmonks.com/v3/football/news/postmatch?api_token=YOUR_TOKEN
Response
{
  "data": [
    {
      "id": 2887,
      "fixture_id": 18841653,
      "league_id": 8,
      "title": "Jarrod Bowen and Kurt Zouma won the match for West Ham against Luton",
      "type": "postmatch"
    },
    {
      "id": 2888,
      "fixture_id": 18841655,
      "league_id": 8,
      "title": "Sheffield United and Everton drew 2-2",
      "type": "postmatch"
    },
    {
      "id": 2889,
      "fixture_id": 18841648,
      "league_id": 8,
      "title": "Evan Ferguson behind Brighton's win over Newcastle",
      "type": "postmatch"
    },
    {
      "id": 2890,
      "fixture_id": 18841654,
      "league_id": 8,
      "title": "Erling Haaland unstoppable as Manchester City beat Fulham",
      "type": "postmatch"
    },

In the response, you will see the unique id of the article, the fixture its related to and the league its related to. Furthermore, you will see the title of the specific article and the type of the article, which is either "prematch" or "postmatch".

Interested in adding extra information to the response? Check our adding useful information section

GET Post-Match News by Season ID

The GET Post-Match News by Season ID is the most commonly used endpoint to return all the post-match articles from the requested season ID. So, how do you request all of this data yourself? We’re going to show you how!

This section will show you how to request articles for the Champions League season 2023/2024 (season id: 21638). You will need to add the season_id parameters to your request.

https://api.sportmonks.com/v3/football/news/post-match/seasons/{season_id}

This will result in the following request:

Response

As you can see, the response is an will retrieve all the articles for that specific Champions League season.

Adding useful information

Now, you might have noticed that the API returns only the necessary information. But you will still need the actual, written article. Or if you’re interested in more details? You can use certain includes for this.

Check the endpoint page for a complete overview of the available includes.

Let’s say you want the Post-Match articles of the Champions League 2023/2024 season, but this time with the actual written article and fixture information. As you’ve learnt earlier, your request is:

Now, you can add the lines and fixture includes for more info:

Response

Filtering

Let’s continue with the another example. You've used the GET Post-Match News endpoint. You now have included the lines in the response, but you’re only interested in the articles for the Premier League (ID: 8). You can filter for that league via the filter option:

Response

Check our selecting and filtering tutorial for more information.

Last updated

Was this helpful?