API-FOOTBALL

FREEMIUM
Verified
Par API-SPORTS | Mise à jour 14日前 | Sports
Popularité

10 / 10

Latence

369ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

can not get the response with fixtureID

I can not get the response like this :
Fixture id belong live match.

What s the reason ?

fetch(“https://api-football-v1.p.rapidapi.com/v3/fixtures/statistics?fixture=7809993”, {
“method”: “GET”,
“headers”: {
“x-rapidapi-host”: “api-football-v1.p.rapidapi.com”,
“x-rapidapi-key”: “XXXXXXXXXX”
}
})

Rapid account: Nurdankaramann 1 H 1 Mt Ab 7 Y 9 M
nurdankaramann-1h1MtAb7y9M Commented 2年前

here fixtureID=770975 and league id= 172 and I called this :https://api-football-v1.p.rapidapi.com/v3/leagues?id=172 and atistics_fixtures is coming true . After I called with this fixtureID “https://api-football-v1.p.rapidapi.com/v3/fixtures/statistics?fixture=770975” still can not get the response.

“fixture”: {
“id”: 770975,
“referee”: null,
“timezone”: “UTC”,
“date”: “2021-12-02T13:00:00+00:00”,
“timestamp”: 1638450000,
“periods”: {
“first”: 1638450000,
“second”: null
},
“venue”: {
“id”: 10547,
“name”: “Huvepharma Arena”,
“city”: “Razgrad”
},
“status”: {
“long”: “First Half”,
“short”: “1H”,
“elapsed”: 12
}
},
“league”: {
“id”: 172,
“name”: “A PFG”,
“country”: “Bulgaria”,
“logo”: “https://media.api-sports.io/football/leagues/172.png”,
“flag”: “https://media.api-sports.io/flags/bg.svg”,
“season”: 2021,
“round”: “Regular Season - 17”
},

					0:{5 items

“year”:2018
"start":“2018-07-20"
“end”:“2019-05-28"
“current”:false
"coverage”:{9 items
"fixtures”:{4 items
"events":true
"lineups":true
"statistics_fixtures":true
"statistics_players":false
}
“standings”:true

Rapid account: Api Sports
api-sports Commented 2年前

Hi,

This fixture id don’t existe in the API. And for other fixtures you can check if the competition cover this feature by calling the endpoint “leagues” field “coverage” ==> https://www.api-football.com/documentation-v3#operation/get-leagues

Best

Rapid account: Nurdankaramann 1 H 1 Mt Ab 7 Y 9 M
nurdankaramann-1h1MtAb7y9M Commented 2年前

My purpose that is getting “Shots on Goal”

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires