Skip to content
API v2 docs

Fixtures

Team form, all competitions

GET

/v2/fixtures/{id}/team-form

All plans

Markdown copyOpen in the playground →

Up to five of each team’s latest finished matches before this fixture, from any competition — league, cup, European or friendly — in chronological order, each with our fixture id, the competition, home / away, the opponent, the score and the result.

Tennis is covered too, although /form has no guide for it. scoreFor / scoreAgainst hold the sides’ current scores (sets in tennis). When the source has nothing, both lists come back empty; 404 is reserved for ids that do not exist.

Parameters

id

pathrequired

fixture id issued by DataSportsAPI, a positive integer

Response

errors
403 history_not_in_plan — the fixture predates the history your plan covers

The errors every /v2 call shares (key, plan, quota, rate) are listed under error codes.

curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/fixtures/{id}/team-form"
Example
{ "data": {
    "home": [ …,
      { "fixtureId": 222801, "startTime": "2026-10-28T18:30:00.000Z", "league": { "id": 40121, "name": "Superbet Greek Cup", … },
        "side": "away", "opponent": { "id": 3251, "name": "PAOK", … }, "scoreFor": 1, "scoreAgainst": 3, "result": "loss" },
      { "fixtureId": 219964, "startTime": "2026-11-01T19:30:00.000Z", "league": { "id": 1185, "name": "Stoiximan Super League", … },
        "side": "away", "opponent": { "id": 3248, "name": "Panathinaikos FC", … }, "scoreFor": 0, "scoreAgainst": 2, "result": "loss" } ],
    "away": [ … ] } }