fetchapi

List two teams' past and upcoming meetings by a game's Sofascore customId API

Every meeting between the two teams of one game (by its customId), newest first, including upcoming ones: one item per game with teams, score and status. 67 meetings for a Euroleague pairing. 1 request.

2 live routes on Web / SEO, from $0.00 per call. Every route below answered our last live test on 2026-11-02; the gateway re-tests them daily.

Get a keySee it in the catalogUse it from MCP

Price per call, by route

The upstream price you are metered at, cheapest first. A route without a published price says so.

ProviderEndpointPriceTested
allsportsapi2RapidAPI listing
getMatchCustomIdH2hCHEAPESTGET api/match/{customId}/h2h$0.00$0.0e+00 / 1k calls✓ 2026-11-02pricing ↗
sportapi7RapidAPI listing
Head to head eventsGET api/v1/event/{customId}/h2h/events$0.00$0.0e+00 / 1k calls✓ 2026-10-31pricing ↗

What it returns

From a real call to the cheapest route: allsportsapi2.

Every meeting between the two teams of one game (by its customId), newest first, including upcoming ones: one item per game with teams, score and status. 67 meetings for a Euroleague pairing. 1 request.
events[].idSofascore event id of a meetingevents[].startTimestampwhenevents[].homeTeam.namehome team in that meetingevents[].homeScore.currenthome scoreevents[].status.typefinished or notstarted (upcoming meeting)

Call it

HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.

GET /api/gw/rapidapi-allsportsapi2/api/match/{customId}/h2h$0.00 / call✓ working · tested 2026-11-020.23 s latency
Parameters
ParameterTypeNotes
customIdstring · pathrequiredA custom identifier for the match, used for H2H lookups · default ugbszgbe.g. xEusROke
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/match/xEusROke/h2h" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-allsportsapi2.getmatchcustomidh2h", {"customId": "xEusROke"})
Real example answer (trimmed) · 2026-10-22
{
  "events": [
    {
      "id": 17335477,
      "slug": "kenya-u17-usa-u17",
      "time": {
        "lastPeriodEndTimestamp": 1792695295,
        "currentPeriodStartTimestamp": 1792692000
      },
      "season": {
        "id": 95558,
        "name": "U17 FIFA World Cup, Women 2026",
        "year": "2026",
        "editor": false,
        "seasonCoverageInfo": {
          "editorCoverageLevel": 1
        }
      },
      "status": {
        "code": 31,
        "type": "inprogress",
        "description": "Halftime"
      },
      "changes": {
        "changes": [
          "cardsCode"
        ],
        "changeTimestamp": 1792695342
      },
      "awayTeam": {
        "id": 526992,
        "name": "Kenya U17",
        "slug": "kenya-u17",
        "type": 0,
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "gender": "F",
        "country": {
          "name": "Kenya",
          "slug": "kenya",
          "alpha2": "KE",
          "alpha3": "KEN"
        },
        "disabled": false,
        "nameCode": "KUU",
        "national": true,
        "subTeams": [],
        "userCount": 322,
        "teamColors": {
          "text": "#1fa369",
          "primary": "#ff0000",
          "secondary": "#1fa369"
        },
        "fieldTranslations": {
          "nameTranslation": {
            "ar": "كينيا تحت 17",
            "ru": "Кения U17"
          },
          "shortNameTranslation": {}
        }
      },
      "customId": "xEusROke",
      "homeTeam": {
        "id": 48972,
        "name": "USA U17",
        "slug": "usa-u17",
        "type": 0,
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "gender": "F",
        "country": {
          "name": "USA",
          "slug": "usa",
          "alpha2": "US",
          "alpha3": "USA"
        },
        "disabled": false,
        "nameCode": "USA",
        "national": true,
        "subTeams": [],
        "shortName": "USA U17",
        "userCount": 977,
        "teamColors": {
          "text": "#ff0000",
          "primary": "#ffffff",
          "secondary": "#ff0000"
        },
        "…": "1 more fields"
      },
      "isEditor": false,
      "awayScore": {
        "current": 0,
        "display": 0,
        "period1": 0,
        "normaltime": 0
      },
      "homeScore": {
        "current": 4,
        "display": 4,
        "period1": 4,
        "normaltime": 4
      },
      "roundInfo": {
        "round": 2
      },
      "eventState": {},
      "…": "8 more fields"
    }
  ]
}
Other routes for this job
sportapi7 · Head to head events$0.00
GET /api/gw/rapidapi-sportapi7/api/v1/event/{customId}/h2h/events$0.00 / call✓ working · tested 2026-10-310.31 s latency
Parameters
ParameterTypeNotes
customIdstring · pathrequireddefault xdbsZdbe.g. pvbsDIc
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-sportapi7/api/v1/event/pvbsDIc/h2h/events" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-sportapi7.head_to_head_events", {"customId": "pvbsDIc"})

Related Web / SEO APIs

All 155 Web / SEO jobs →

One key for every API on this page.

Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.