Head To Head

GEThttps://devapi.admin.iotait.tech/api/v1/football/fixtures/head-to-head

Previous meetings between two teams.

Freshness — cached for 15 minutes. Repeating the same query inside that window is answered from cache in single digit milliseconds, and meta.cache reads HIT.

Query parameters

NameTypeExampleDescription
teamsrequiredstring100005,100003Exactly two team ids, comma separated.
datestring2026-08-30A single day, as YYYY-MM-DD.
competitioninteger100090Competition identifier, from the competitions endpoint.
seasoninteger2026Season, as a four digit start year.
lastinteger10The most recent N matches. Maximum 99.
nextinteger10The next N matches. Maximum 99.
fromstring2026-08-01Start of a date range, as YYYY-MM-DD.
tostring2026-08-31End of a date range, as YYYY-MM-DD.
statusstringfinishedFilter by state: scheduled, in_play, finished, or a specific one such as half_time or postponed.
venueinteger100046Venue identifier.
timezonestringAsia/DhakaIANA timezone for kickoff times. Defaults to UTC.

Example request

Paste this straight into Postman with Import → Raw text.

curl
curl --location --request GET 'https://devapi.admin.iotait.tech/api/v1/football/fixtures/head-to-head?teams=100005%2C100003' \
--header 'Accept: application/json' \
--header 'X-API-Key: api_mart_your_key_here'

Response

json
{
    "success": true,
    "data": [
        {
            "id": 100027,
            "starts_at": "2026-03-04T20:15:00+00:00",
            "timestamp": 1772655300,
            "timezone": "UTC",
            "state": {
                "code": "finished",
                "label": "Finished",
                "minute": 90,
                "is_live": false,
                "is_finished": true,
                "is_scheduled": false
            },
            "competition": {
                "id": 100001,
                "name": "Premier League",
                "season": 2025,
                "stage": "Regular Season - 29",
                "country": "England",
                "logo": "https://apinex.iotait.tech/images/competitions/100001.png",
                "flag": "https://apinex.iotait.tech/images/flags/gb-eng.svg"
            },
            "home": {
                "id": 100003,
                "name": "Newcastle",
                "logo": "https://apinex.iotait.tech/images/teams/100003.png",
                "score": 2,
                "score_at_half": 1,
                "outcome": "won"
            },
            "away": {
                "id": 100005,
                "name": "Manchester United",
                "logo": "https://apinex.iotait.tech/images/teams/100005.png",
                "score": 1,
                "score_at_half": 1,
                "outcome": "lost"
            },
            "extra_time": null,
            "penalties": null,
            "venue": {
                "id": 100028,
                "name": "St. James' Park",
                "city": "Newcastle"
            },
            "referee": "P. Bankes"
        }
    ],
    "meta": {
        "results": 1,
        "page": 1,
        "total_pages": 1
    }
}