GET Match Facts by league ID
https://api.sportmonks.com/v3/football/match-facts/leagues/LEAGUE_ID{
"data": [
{
"id": 5,
"sport_id": 1,
"fixture_id": 19426556,
"type_id": 76088,
"team": "away",
"category": "h2h",
"data": {
"all": {
"count": 2,
"percentage": 40
},
"home": {
"count": 1,
"percentage": 50
},
"away": {
"count": 1,
"percentage": 50
}
},
"natural_language": "Karbala has 2 wins against Newroz SC"
},id
Refers the unique id of the match fact entity
integer
sport_id
Refers to the sport of the match fact
integer
fixture_id
Refers to the fixture
integer
type_id
Refers to the type of the match fact
integer
team
Refers to the team the home or away team
string
category
Refers to the category of the match fact
string
api_token
YES
Another option is to provide the API token in the header.
Your unique API token. Ex. ?api_token=YOUR_TOKEN
include
NO
Enrich the API response with more data by using includes. Ex. &include=fixture;player;team
filters
NO
Filter the API response on multiple related entities. There are static filters and dynamic filters. Please find the possibilities in the Static and Dynamic Filter tab.
locale
NO
Translate name fields of the API Response in your selected language. Find more information and which languages are available on our translations page.
When you opt for the matchFacts include on one of the fixtures endpoint, you can also use the havingLiveMatchFacts filter. This filters fixtures that have live match facts, such as outcomes by players sent off field & outcomes by goals
The dynamic filters are based on entities and includes. Each dynamic filter uses an entity to filter on and one entity to apply the filter on. Below are examples with explanations of how filters are set up. For more information, please look at our Filters page.
types
Statistics, Events, Lineup, Transfers and way more. Check this endpoint for all filter possibilities.
Filter the transfers on a selection of type ids separated by a comma.
&include=type&filters=facts:FACTS_TYPES
&include=type&filters=facts:1601,1602
Filters
More information on how to use filters can be found on our tutorials on how to filter. If you want more information on which filters to use you can check out the following endpoint:
Pagination
YES
Include depth
You can use a total of 3 nested includes on this endpoint
Include options
type sport fixture
Last updated
Was this helpful?