Fantasy Players Statistics

Summarize with AI:   Summarize with Google AI    Summarize with ChatGPT    Summarize with Claude    Summarize with Grok    Summarize with Perplexity

  1. Endpoint
  2. Parameters
  3. Response
  4. Getting Translated Data

On this page, we document our detailed players fantasy statistics data.

This football API endpoint will provide matches only after they have finished. This means that the match could be in the live score API with a status of FINISHED or be in the history matches data set.

This football api endpoint supports data in various languages. This includes: competitions, teams, and players names translationsTo find out more about this, check out our documentation on language support.

ENDPOINT


The fantasy players statistics football API endpoint is quite powerful and fexible. You have mutiple parameters that allow you to filter the data in many ways to get the information that you need.


GET:

Check this Football API endpoint in our postman collection. Download it now!


Parameters


NameTypeRequiredExampleDescription
competition_idnumber3If you would like to include stats only for a specific competition
match_idnumber702913The id of the match for which you want the fantasy player stats.
opponent_team_idnumber26If you want to get the players statistics against a specific team.
player_idnumber9559If you would like the stats for a specific player only, you use this parameter
team_idnumber21If you would for the fantasy player statistics for the matches of a certain team

The opponent_team_id works only in combination with the player_id or the team_id

The combinations between the parameters give a multitude of possibilities in filtering the data, tailoring it to the most specific need. Here are the possible combinations:


Team-Based Queries

team_idopponent_team_idcompetition_idDescription
All fantasy data for a team in all competitions. Example: all Liverpool matches
Team versus a specific opponent in all competitions. Example: all Liverpool vs Everton
Two teams playing against each other in a given competition. Example: Real vs Barca in Copa Del Rey
A team's fantasy player stats in a given competition only. Example: PSG in Ligue 1


Player-Based Queries

player_idteam_idopponent_team_idcompetition_idDescription
All data for a player. Example: all fantasy data for Rober Lewandowski
Player vs opponent. Example: all matches of Rober Lewandowski versus Atletico de Madrid. This will include his matches as a player of Bayern Munchen and Barcelona in all Spanish competitions and the UEFA Champions League.
Player for a team in all competitions. Example, Mason Mount against Liverpool as a player of Manchester United
Player in a competition. Example: Lewandowski in UEFA Champions League.
Player in a team in all competitions. Example: Ronaldo for Portugal will include matches from the EURO, World Cup, Friendlies, and Qualifiers.
Player for a team in a competition. Example: Messi for Argentina in the World Cup
Player vs opponent in competition. Example: Lewndowski against Juventus in the UEFA Champions League
A player for a team against a team in a competition. Example: Antoine Griezmann against Real Madrid playing for Atletico in La Liga


Match-Based Queries

match_idplayer_idDescription
All players' fantasy data for a single match
Single player fantasy data in a single match


Response


In the response example, we present only 3 players to save space and time. When you call the fantasy football API endpoint you will get statistics for all the players involved in the match.


{
    "success": true,
    "data": [
        {
            "match": {
                "ht_score": "2 - 3",
                "time": "FT",
                "ft_score": "4 - 3",
                "year": "2026",
                "et_score": "",
                "home": {
                    "stadium": "Allianz Arena",
                    "name": "Bayern Munich",
                    "logo": "https:\/\/cdn.live-score-api.com\/teams\/facc74833d4d77c1e5eb8e6a5a872250.png",
                    "id": 46,
                    "country_id": 1
                },
                "away": {
                    "stadium": "Estadio Santiago Bernab\u00e9u",
                    "name": "Real Madrid",
                    "logo": "https:\/\/cdn.live-score-api.com\/teams\/b4ef460fda09c67bb9037e8991046e24.png",
                    "id": 27,
                    "country_id": 43
                },
                "status": "FINISHED",
                "location": "Allianz Arena",
                "score": "4 - 3",
                "id": 702913,
                "ps_score": ""
            },
            "competition": {
                "id": 244,
                "name": "Champions League"
            },
            "stats": [
                {
                    "photo": "https:\/\/cdn.live-score-api.com\/players\/8\/0\/6\/f\/806fec5af7f5b48b8a31a003e171f3fb.png",
                    "team_id": 46,
                    "name": "Jonathan Tah",
                    "id": 2337,
                    "stats": {
                        "passes_attempted": 41,
                        "long_balls_total": 1,
                        "ground_duels_won": 0,
                        "dispossessed": 0,
                        "recoveries": 3,
                        "clearances": 2,
                        "passes_completed": 41,
                        "minutes_played": 90,
                        "ball_touches_total": 45,
                        "ball_touches_opposition_box_total": 0,
                        "goals_scored": 0,
                        "aerials_duels_won": 0,
                        "ground_duels_total": 1,
                        "dribbled_past": 1,
                        "passes_into_final_third": 3,
                        "tackles_total": 0,
                        "defensive_actions": 3,
                        "headed_clearance": 1,
                        "aerials_duels_total": 0,
                        "chances_created": 0,
                        "blocked_opposition_shots": 1,
                        "interceptions": 0,
                        "assists": 0,
                        "long_balls_accurate": 1,
                        "duels_lost_total": 1,
                        "fouls_committed": 0
                    }
                },
                {
                    "photo": "https:\/\/cdn.live-score-api.com\/players\/4\/e\/b\/d\/4ebd440d99504722d80de606ea8507da.png",
                    "team_id": 46,
                    "name": "Manuel Neuer",
                    "id": 2360,
                    "stats": {
                        "passes_attempted": 23,
                        "keeper_punches": 0,
                        "long_balls_total": 12,
                        "keeper_saves_inside_box": 1,
                        "recoveries": 7,
                        "clearances": 1,
                        "passes_completed": 14,
                        "keeper_diving_save": 1,
                        "keeper_sweeper": 1,
                        "minutes_played": 90,
                        "fouls_committed": 0,
                        "keep_player_throws": 5,
                        "defensive_actions": 1,
                        "keeper_saves_total": 2,
                        "passes_into_final_third": 4,
                        "tackles_total": 0,
                        "interceptions": 0,
                        "keeper_high_claim": 0,
                        "long_balls_accurate": 4,
                        "goals_conceded_total": 3,
                        "goals_due_to_errors": 1,
                        "ball_touches_total": 31
                    }
                },
                {
                    "photo": "https:\/\/cdn.live-score-api.com\/players\/3\/0\/0\/8\/300891a62162b960cf02ce3827bb363c.png",
                    "team_id": 46,
                    "name": "Joshua Kimmich",
                    "id": 2367,
                    "stats": {
                        "shots_off_target": 0,
                        "ground_duels_won": 4,
                        "long_balls_total": 10,
                        "passes_attempted": 118,
                        "dispossessed": 0,
                        "recoveries": 3,
                        "clearances": 0,
                        "big_chances_created": 1,
                        "shots_on_target": 1,
                        "shots_blocked": 1,
                        "minutes_played": 90,
                        "passes_completed": 102,
                        "ball_touches_total": 136,
                        "crosses_completed": 4,
                        "crosses_total": 6,
                        "goals_scored": 0,
                        "aerials_duels_won": 1,
                        "ground_duels_total": 4,
                        "duels_won_total": 5,
                        "dribbled_past": 0,
                        "ball_touches_opposition_box_total": 2,
                        "fouls_committed": 0,
                        "passes_into_final_third": 16,
                        "tackles_total": 4,
                        "defensive_actions": 6,
                        "aerials_duels_total": 1,
                        "chances_created": 4,
                        "blocked_opposition_shots": 0,
                        "interceptions": 2,
                        "assists": 1,
                        "long_balls_accurate": 8,
                        "corners": 6
                    }
                }
            ]
        }
    ]
}


Getting Translated Data


To get the live-scores only for a certain competition, you have to provide the id of the competition as a get parameter in the api endpoint URL. In the example below, we show you how to get all the live-scores for Italy's Seria A. cUrl:

curl -XGET "https://livescore-api.com/api-client/fantasy/fantasy.json?key=demo_key&secret=demo_secret&match_id=702913&lang=ru"
PHP:
file_get_contents('https://livescore-api.com/api-client/fantasy/fantasy.json?key=demo_key\&secret=demo_secret\&match_id=702913\&lang=ru');
Python:
import urllib2
req = urllib2.Request('https://livescore-api.com/api-client/fantasy/fantasy.json?key=demo_key\&secret=demo_secret\&match_id=702913\&lang=ru')
response = urllib2.urlopen(req)
print response.read()


Didn't find what you need?

Do no hesitate to contact us. We will get back to you as soon as possible.