# RapidAPI · allsportsapi2 (fluis.lacasse)

Gateway provider `rapidapi-allsportsapi2` · call `https://fetchapi.co/api/gw/rapidapi-allsportsapi2/<path>` with header `x-api-key` (get a key at https://fetchapi.co/keys) · MCP: tools `search_endpoints`, `get_endpoint`, `call_endpoint` at https://fetchapi.co/api/mcp · listing: https://rapidapi.com/fluis.lacasse/api/allsportsapi2/pricing

12 working endpoints, each tested live through this gateway. Endpoints that returned no data in our latest test, write actions and endpoints that need the end user's own login are not listed.

## `rapidapi-allsportsapi2.getallsportsdata` — getAllSportsData

`GET /api/{sport}/{id}` · ✓ working (tested 2026-11-01) · sampled 2026-10-22, 164 ms

One game by its Sofascore event id (sport=match; also team, player, manager, referee or venue by id): teams, score by period, status and clock, venue, referee, round and season. Works for any sport's event id. 1 request.

| param | required | example / default |
|---|---|---|
| `id` | yes | 17335477 |
| `sport` | yes | match |

Fields: `event.id` Sofascore event id; `event.customId` id for the head-to-head call; `event.homeScore` score by period; `event.status.description` period / clock; `event.time.played` seconds played; `event.venue.name` venue; `event.referee.name` referee; `event.homeTeam.name` home team; `event.tournament.uniqueTournament.name` competition

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/match/17335477" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "event": {
  "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"
   },
   "manager": {
    "id": 807245,
    "name": "Mildred Cheche",
    "slug": "mildred-cheche",
    "country": {
     "name": "Kenya",
     "slug": "kenya",
     "alpha2": "KE",
     "alpha3": "KEN"
    },
    "shortName": "M. Cheche",
    "fieldTranslations": {
     "nameTranslation": {
      "ar": "ميلدريد تشيتشي",
      "ru": "Милдред Чечи"
     },
     "shortNameTranslation": {
      "ar": "م. تشيتشي",
      "ru": "М. Чечи"
     }
    }
   },
   "disabled": false,
   "fullName": "Kenya U17",
   "nameCode": "KUU",
   "national": true,
   "subTeams": [],
   "userCount": 322,
   "teamColors": {
    "text": "#1fa369",
    "primary": "#ff0000",
    "secondary": "#1fa369"
 
…
```

## `rapidapi-allsportsapi2.getesportevent` — getEsportEvent

`GET /api/esport/event/{id}/{segment4}` · ✓ working (tested 2026-11-01) · sampled 2026-10-22, 237 ms

One part of an esports match by Sofascore event id, by segment4: games (the maps, shown here), lineups, duel, streaks, highlights, votes, meta. 1 request.

| param | required | example / default |
|---|---|---|
| `id` | yes | 17333003 |
| `segment4` | yes | games |

Fields: `games[].id` game (map) id for the game statistics call; `games[].winnerCode` 1 home, 2 away; `games[].homeScore.display` home score in that map; `games[].length` length in seconds; `games[].status.type` finished or inprogress

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/esport/event/17333003/games" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "games": [
  {
   "id": 590812,
   "length": 1665,
   "status": {
    "code": 100,
    "type": "finished",
    "description": "Ended"
   },
   "awayScore": {
    "display": 6
   },
   "homeScore": {
    "display": 15
   },
   "winnerCode": 1,
   "startTimestamp": 1792671449,
   "homeTeamStartingSide": 0,
   "hasCompleteStatistics": true
  },
  {
   "id": 590813,
   "length": 1983,
   "status": {
    "code": 100,
    "type": "finished",
    "description": "Ended"
   },
   "awayScore": {
    "display": 35
   },
   "homeScore": {
    "display": 19
   },
   "winnerCode": 2,
   "startTimestamp": 1792674815,
   "homeTeamStartingSide": 1,
   "hasCompleteStatistics": true
  },
  {
   "id": 590814,
   "length": 2240,
   "status": {
    "code": 100,
    "type": "finished",
    "description": "Ended"
   },
   "awayScore": {
    "display": 23
   },
   "homeScore": {
    "display": 29
   },
   "winnerCode": 1,
   "startTimestamp": 1792678019,
   "homeTeamStartingSide": 0,
   "hasCompleteStatistics": true
  },
  "… 2 more"
 ]
}
```

## `rapidapi-allsportsapi2.getesportgame` — getEsportGame

`GET /api/esport/game/{id}/{segment4}` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 260 ms

One part of an esports map by game id, by segment4: statistics (shown here), lineups, rounds, bans. 1 request.

| param | required | example / default |
|---|---|---|
| `id` | yes | 590812 |
| `segment4` | yes | statistics |

Fields: `homeStatistics.kills` LoL: kills; `homeStatistics.goldEarned` LoL: gold; `homeStatistics.towerKills` LoL: towers; `homeStatistics.dragonKills` LoL: dragons; `awayStatistics` the same for the away team

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/esport/game/590812/statistics" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "awayStatistics": {
  "bans": [],
  "color": 1,
  "kills": 6,
  "goldEarned": 49638,
  "towerKills": 4,
  "dragonKills": 0,
  "nashorKills": 0,
  "inhibitorKills": 0,
  "cloudDrakeKills": 0,
  "elderDrakeKills": 0,
  "oceanDrakeKills": 0,
  "hextechDrakeKills": 0,
  "chemtechDrakeKills": 0,
  "infernalDrakeKills": 0,
  "mountainDrakeKills": 0
 },
 "homeStatistics": {
  "bans": [],
  "color": 0,
  "kills": 15,
  "goldEarned": 57180,
  "towerKills": 9,
  "dragonKills": 4,
  "nashorKills": 1,
  "inhibitorKills": 1,
  "cloudDrakeKills": 0,
  "elderDrakeKills": 0,
  "oceanDrakeKills": 2,
  "hextechDrakeKills": 0,
  "chemtechDrakeKills": 1,
  "infernalDrakeKills": 0,
  "mountainDrakeKills": 1
 }
}
```

## `rapidapi-allsportsapi2.getevent` — getEvent

`GET /api/{sport}/event/{id}` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 144 ms

One esports, tennis, table tennis or MMA event by Sofascore id (sport=esport here): teams, series score by map, best-of, status, tournament. 1 request.

| param | required | example / default |
|---|---|---|
| `id` | yes | 17333003 |
| `sport` | yes | esport |

Fields: `event.id` Sofascore event id; `event.customId` id for the head-to-head call; `event.homeScore` score by period; `event.status.description` period / clock; `event.time.played` seconds played; `event.venue.name` venue; `event.referee.name` referee; `event.homeTeam.name` home team; `event.tournament.uniqueTournament.name` competition; `event.bestOf` best of N maps

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/esport/event/17333003" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "event": {
  "id": 17333003,
  "slug": "galions-solary",
  "time": {},
  "bestOf": 5,
  "season": {
   "id": 104059,
   "name": "Summer 2026",
   "year": "2026",
   "editor": false
  },
  "status": {
   "code": 100,
   "type": "finished",
   "description": "Ended"
  },
  "changes": {
   "changes": [
    "status.code",
    "status.description",
    "status.type",
    "… 4 more"
   ],
   "changeTimestamp": 1792687263
  },
  "awayTeam": {
   "id": 364815,
   "name": "Solary",
   "slug": "solary",
   "type": 0,
   "sport": {
    "id": 72,
    "name": "E-sports",
    "slug": "esports"
   },
   "country": {
    "name": "France",
    "slug": "france",
    "alpha2": "FR",
    "alpha3": "FRA"
   },
   "fullName": "Solary",
   "nameCode": "SLY",
   "national": false,
   "subTeams": [],
   "userCount": 305,
   "teamColors": {
    "text": "#ffffff",
    "primary": "#374df5",
    "secondary": "#374df5"
   },
   "timeActive": []
  },
  "coverage": 91,
  "customId": "pWVcspKqi",
  "homeTeam": {
   "id": 1041765,
   "name": "Galions",
   "slug": "galions",
   "type": 0,
   "sport": {
    "id": 72,
    "name": "E-sports",
    "slug": "esports"
   },
   "country": {
    "name": "France",
    "slug": "france",
    "alpha2": "FR",
    "alpha3": "FRA"
   },
   "fullName": "Galions",
   "nameCode": "GAL",
   "national": false,
   "subTeams": [],
   "userCount": 128,
   "teamColors": {
    "text": "#ffffff",
    "primary": "#374df5",
    "secondary": "#374df5"
   },
   "timeActive": []
  },
  "i
…
```

## `rapidapi-allsportsapi2.geteventh2h` — getEventH2h

`GET /api/{sport}/event/{customId}/h2h` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 227 ms

Every meeting between the two teams or players of one esports, tennis or table tennis event (by customId; sport=esport here), newest first: teams, series score, status. 1 request.

| param | required | example / default |
|---|---|---|
| `customId` | yes | pWVcspKqi |
| `sport` | yes | esport |

Fields: `events[].id` Sofascore event id of a meeting; `events[].startTimestamp` when; `events[].homeTeam.name` home team in that meeting; `events[].homeScore.current` home score; `events[].status.type` finished or notstarted (upcoming meeting)

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/esport/event/pWVcspKqi/h2h" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "events": [
  {
   "id": 17333003,
   "slug": "galions-solary",
   "time": {},
   "bestOf": 5,
   "season": {
    "id": 104059,
    "name": "Summer 2026",
    "year": "2026",
    "editor": false
   },
   "status": {
    "code": 100,
    "type": "finished",
    "description": "Ended"
   },
   "changes": {
    "changes": [
     "status.code",
     "status.description",
     "status.type",
     "… 4 more"
    ],
    "changeTimestamp": 1792687263
   },
   "awayTeam": {
    "id": 364815,
    "name": "Solary",
    "slug": "solary",
    "type": 0,
    "sport": {
     "id": 72,
     "name": "E-sports",
     "slug": "esports"
    },
    "country": {
     "name": "France",
     "slug": "france",
     "alpha2": "FR",
     "alpha3": "FRA"
    },
    "nameCode": "SLY",
    "national": false,
    "subTeams": [],
    "userCount": 305,
    "teamColors": {
     "text": "#ffffff",
     "primary": "#374df5",
     "secondary": "#374df5"
    }
   },
   "coverage": 91,
   "customId": "pWVcspKqi",
   "homeTeam": {
    "id": 1041765,
    "name": "Galions",
    "slug": "galions",
    "type": 0,
    "sport": {
     "id": 72,
     "name": "E-sports",
     "slug": "esports"
    },
    "country": {
     "name": "France",
     "slug": "france",
     "alpha2": "FR",
     "alpha3": "FRA"
    },
    "nameCode": "GAL",
    "national": false,
    "subTeams": [],
    "userCount": 128,
    "teamColors": {
     "text": "#ffffff",
     "primary": "#374df5",
     "secondary": "#374df5"
    }
   },
   "isEditor":
…
```

## `rapidapi-allsportsapi2.geteventslive` — getEventsLive

`GET /api/{sport}/events/live` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 72 ms

Every tennis (or table tennis) match being played right now, one item per match with players, set scores, status and tournament. 32 live tennis matches in our call. 1 request.

| param | required | example / default |
|---|---|---|
| `sport` | yes | tennis |

Fields: `events[].id` Sofascore event id: pass it to the match, statistics, lineups and incidents calls; `events[].customId` the id the head-to-head call takes; `events[].homeTeam.name` home team; `events[].awayTeam.name` away team; `events[].homeScore.current` home score now (period1, period2... by period); `events[].status.type` notstarted, inprogress, finished, canceled; `events[].status.description` period or clock, e.g. 3rd quarter, Second game; `events[].startTimestamp` kick-off, Unix seconds; `events[].tournament.uniqueTournament.name` league / competition; `events[].tournament.category.sport.slug` sport

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/tennis/events/live" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "events": [
  {
   "id": 17331351,
   "slug": "kyrian-jacquet-brandon-nakashima",
   "time": {
    "currentPeriodStartTimestamp": 1792694858
   },
   "season": {
    "id": 85590,
    "name": "ATP Lyon, France Men Singles 2026",
    "year": "2026",
    "editor": false
   },
   "status": {
    "code": 8,
    "type": "inprogress",
    "description": "1st set"
   },
   "changes": {
    "changes": [
     "homeScore.point"
    ],
    "changeTimestamp": 1792695308
   },
   "periods": {
    "point": "Game",
    "current": "Match",
    "period1": "1st set",
    "period2": "2nd set",
    "period3": "3rd set",
    "period4": "4th set",
    "period5": "5th set"
   },
   "awayTeam": {
    "id": 235576,
    "name": "Brandon Nakashima",
    "slug": "nakashima-brandon",
    "type": 1,
    "sport": {
     "id": 5,
     "name": "Tennis",
     "slug": "tennis"
    },
    "gender": "M",
    "country": {
     "name": "USA",
     "slug": "usa",
     "alpha2": "US",
     "alpha3": "USA"
    },
    "ranking": 17,
    "disabled": false,
    "nameCode": "NAK",
    "national": false,
    "subTeams": [],
    "shortName": "B. Nakashima",
    "userCount": 10602,
    "teamColors": {
     "text": "#ffffff",
     "primary": "#374df5",
     "secondary": "#374df5"
    },
    "playerTeamInfo": {
     "id": 2981
    },
    "fieldTranslations": {
     "nameTranslation": {
      "ar": "براندون ناكاشيما",
      "bn": "বি ল্যান্ডন নাকাজিমা",
      "hi": "ब्रैंडन नकशिमा",
      "ru": "Брэндон Накашима"
     },
   
…
```

## `rapidapi-allsportsapi2.getmatchcustomidh2h` — getMatchCustomIdH2h

`GET /api/match/{customId}/h2h` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 231 ms

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.

| param | required | example / default |
|---|---|---|
| `customId` | yes | xEusROke |

Fields: `events[].id` Sofascore event id of a meeting; `events[].startTimestamp` when; `events[].homeTeam.name` home team in that meeting; `events[].homeScore.current` home score; `events[].status.type` finished or notstarted (upcoming meeting)

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/match/xEusROke/h2h" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "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": "
…
```

## `rapidapi-allsportsapi2.getmatcheslive` — getMatchesLive

`GET /api/matches/live` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 79 ms

Every football game being played right now on Sofascore, one item per game with teams, the score by period, status and competition. 120 live games in one call on 2026-10-22 (about 400 KB). 1 request.

Fields: `events[].id` Sofascore event id: pass it to the match, statistics, lineups and incidents calls; `events[].customId` the id the head-to-head call takes; `events[].homeTeam.name` home team; `events[].awayTeam.name` away team; `events[].homeScore.current` home score now (period1, period2... by period); `events[].status.type` notstarted, inprogress, finished, canceled; `events[].status.description` period or clock, e.g. 3rd quarter, Second game; `events[].startTimestamp` kick-off, Unix seconds; `events[].tournament.uniqueTournament.name` league / competition; `events[].tournament.category.sport.slug` sport

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/matches/live" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "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": [
     "status.code",
     "status.description",
     "time.lastPeriodEnd",
     "… 4 more"
    ],
    "changeTimestamp": 1792695295
   },
   "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",
     "sl
…
```

## `rapidapi-allsportsapi2.getmatchidsegment3` — getMatchIdSegment3

`GET /api/match/{id}/{segment3}` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 219 ms

One part of a game by Sofascore event id, chosen by segment3: statistics (team stats by period, shown here), lineups, incidents, duel, odds, form, best-players, shotmap, commentary and more. A game without that part answers 204 (still 1 request).

| param | required | example / default |
|---|---|---|
| `segment3` | yes | statistics |
| `id` | yes | 16665310 |

Fields: `statistics[].period` ALL, 1ST, 2ND... (or quarters); `statistics[].groups[].groupName` stat group, e.g. Scoring; `statistics[].groups[].statisticsItems[].name` stat name; `statistics[].groups[].statisticsItems[].home` home value as shown; `statistics[].groups[].statisticsItems[].homeValue` home value as a number; `statistics[].groups[].statisticsItems[].key` stable key, e.g. freeThrowsScored

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/match/16665310/statistics" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "statistics": [
  {
   "groups": [
    {
     "groupName": "Scoring",
     "statisticsItems": [
      {
       "key": "freeThrowsScored",
       "away": "8/8 (100%)",
       "home": "18/21 (86%)",
       "name": "Free throws",
       "awayTotal": 8,
       "awayValue": 8,
       "homeTotal": 21,
       "homeValue": 18,
       "valueType": "team",
       "renderType": 3,
       "compareCode": 2,
       "statisticsType": "positive"
      },
      {
       "key": "twoPointersScored",
       "away": "17/32 (53%)",
       "home": "19/30 (63%)",
       "name": "2 pointers",
       "awayTotal": 32,
       "awayValue": 17,
       "homeTotal": 30,
       "homeValue": 19,
       "valueType": "team",
       "renderType": 3,
       "compareCode": 1,
       "statisticsType": "positive"
      },
      {
       "key": "threePointersScored",
       "away": "6/21 (29%)",
       "home": "4/14 (29%)",
       "name": "3 pointers",
       "awayTotal": 21,
       "awayValue": 6,
       "homeTotal": 14,
       "homeValue": 4,
       "valueType": "team",
       "renderType": 3,
       "compareCode": 2,
       "statisticsType": "positive"
      },
      "… 1 more"
     ]
    },
    {
     "groupName": "Other",
     "statisticsItems": [
      {
       "key": "rebounds",
       "away": "22",
       "home": "31",
       "name": "Rebounds",
       "awayValue": 22,
       "homeValue": 31,
       "valueType": "event",
       "renderType": 2,
       "compareCode": 1,
       "statisticsType": "positive"
 
…
```

## `rapidapi-allsportsapi2.getsportcategoryideventsdaymonthyear` — getSportCategoryIdEventsDayMonthYear

`GET /api/{sport}/category/{id}/events/{day}/{month}/{year}` · ✓ working (tested 2026-11-02) · sampled 2026-10-22, 251 ms

Every event of one category on one day (sport=esport, id 1572 = Counter Strike here): one item per match with teams, score, status and tournament; finished, live and upcoming. 456 KB for Counter Strike on 2026-10-22. 1 request.

| param | required | example / default |
|---|---|---|
| `day` | yes | 22 |
| `id` | yes | 1572 |
| `year` | yes | 2026 |
| `sport` | yes | esport |
| `month` | yes | 10 |

Fields: `events[].id` Sofascore event id: pass it to the match, statistics, lineups and incidents calls; `events[].customId` the id the head-to-head call takes; `events[].homeTeam.name` home team; `events[].awayTeam.name` away team; `events[].homeScore.current` home score now (period1, period2... by period); `events[].status.type` notstarted, inprogress, finished, canceled; `events[].status.description` period or clock, e.g. 3rd quarter, Second game

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/esport/category/1572/events/22/10/2026" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "events": [
  {
   "id": 17378203,
   "slug": "alka-gaming-joga-de-terno",
   "time": {},
   "bestOf": 1,
   "season": {
    "id": 106732,
    "name": "October 2026",
    "year": "2026",
    "editor": false
   },
   "status": {
    "code": 100,
    "type": "finished",
    "description": "Ended"
   },
   "changes": {
    "changes": [
     "status.code",
     "status.description",
     "status.type",
     "… 4 more"
    ],
    "changeTimestamp": 1792622282
   },
   "awayTeam": {
    "id": 523097,
    "name": "Joga de terno",
    "slug": "joga-de-terno",
    "type": 0,
    "sport": {
     "id": 72,
     "name": "E-sports",
     "slug": "esports"
    },
    "country": {
     "name": "Brazil",
     "slug": "brazil",
     "alpha2": "BR",
     "alpha3": "BRA"
    },
    "nameCode": "JDT",
    "national": false,
    "subTeams": [],
    "userCount": 2,
    "teamColors": {
     "text": "#ffffff",
     "primary": "#374df5",
     "secondary": "#374df5"
    }
   },
   "coverage": 90,
   "customId": "XljesLAwj",
   "homeTeam": {
    "id": 1178786,
    "name": "ALKA GAMING",
    "slug": "alka",
    "type": 0,
    "sport": {
     "id": 72,
     "name": "E-sports",
     "slug": "esports"
    },
    "country": {
     "name": "Brazil",
     "slug": "brazil",
     "alpha2": "BR",
     "alpha3": "BRA"
    },
    "nameCode": "ALKA",
    "national": false,
    "subTeams": [],
    "userCount": 21,
    "teamColors": {
     "text": "#ffffff",
     "primary": "#374df5",
     "secondary": "#374df5"
 
…
```

## `rapidapi-allsportsapi2.getsportmatcheslive` — getSportMatchesLive

`GET /api/{sport}/matches/live` · ✓ working (tested 2026-11-01) · sampled 2026-10-22, 60 ms

Every game of one sport being played right now (sport = basketball, ice-hockey, baseball, american-football, volleyball, handball, rugby, cricket or esport), one item per game with teams, score by period, status and competition. 17 live esports matches in our call. 1 request.

| param | required | example / default |
|---|---|---|
| `sport` | yes | esport |

Fields: `events[].id` Sofascore event id: pass it to the match, statistics, lineups and incidents calls; `events[].customId` the id the head-to-head call takes; `events[].homeTeam.name` home team; `events[].awayTeam.name` away team; `events[].homeScore.current` home score now (period1, period2... by period); `events[].status.type` notstarted, inprogress, finished, canceled; `events[].status.description` period or clock, e.g. 3rd quarter, Second game; `events[].startTimestamp` kick-off, Unix seconds; `events[].tournament.uniqueTournament.name` league / competition; `events[].tournament.category.sport.slug` sport

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/esport/matches/live" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "events": [
  {
   "id": 17383631,
   "slug": "99firepower-1utility-fortress",
   "time": {
    "currentPeriodStartTimestamp": 1792693562
   },
   "bestOf": 1,
   "season": {
    "id": 105795,
    "name": "Advanced Europe season 59 2026",
    "year": "2026",
    "editor": false
   },
   "status": {
    "code": 1001,
    "type": "inprogress",
    "description": "First game"
   },
   "changes": {
    "changes": [
     "status.code",
     "status.description",
     "status.type",
     "… 15 more"
    ],
    "changeTimestamp": 1792693564
   },
   "awayTeam": {
    "id": 1293690,
    "name": "99firepower 1utility",
    "slug": "99firepower-1utility",
    "type": 0,
    "sport": {
     "id": 72,
     "name": "E-sports",
     "slug": "esports"
    },
    "country": {
     "name": "Lithuania",
     "slug": "lithuania",
     "alpha2": "LT",
     "alpha3": "LTU"
    },
    "nameCode": "91U",
    "national": false,
    "subTeams": [],
    "userCount": 0,
    "teamColors": {
     "text": "#ffffff",
     "primary": "#374df5",
     "secondary": "#374df5"
    }
   },
   "coverage": 90,
   "customId": "YiqjsPyrk",
   "homeTeam": {
    "id": 1165448,
    "name": "Fortress",
    "slug": "fortress",
    "type": 0,
    "sport": {
     "id": 72,
     "name": "E-sports",
     "slug": "esports"
    },
    "country": {
     "name": "Denmark",
     "slug": "denmark",
     "alpha2": "DK",
     "alpha3": "DNK"
    },
    "nameCode": "FOR",
    "national": false,
    "subTeams": [],
    "userCount": 
…
```

## `rapidapi-allsportsapi2.getsporttournamentcategories` — getSportTournamentCategories

`GET /api/{sport}/tournament/categories` · ✓ working (tested 2026-11-01) · sampled 2026-10-22, 214 ms

The categories of one sport (sport=esport here: the games LoL, Dota 2 and Counter Strike, with their ids). 1 request.

| param | required | example / default |
|---|---|---|
| `sport` | yes | esport |

Fields: `categories[].id` category id (LoL 1571, Dota 2 1570, Counter Strike 1572); `categories[].slug` lol, dota2, csgo; `categories[].name` game name

```bash
curl "https://fetchapi.co/api/gw/rapidapi-allsportsapi2/api/esport/tournament/categories" \
  -H "x-api-key: $FETCHAPI_KEY"
```

Real answer (trimmed):

```json
{
 "categories": [
  {
   "id": 1571,
   "flag": "lol",
   "name": "LoL",
   "slug": "lol",
   "sport": {
    "id": 72,
    "name": "E-sports",
    "slug": "esports"
   },
   "priority": 0,
   "fieldTranslations": {
    "nameTranslation": {
     "ar": "ليج أوف ليجيندز",
     "bn": "লিগ অফ লেজেন্ডস",
     "hi": "लॉल",
     "ru": "LoL"
    },
    "shortNameTranslation": {}
   }
  },
  {
   "id": 1570,
   "flag": "dota-2",
   "name": "Dota 2",
   "slug": "dota2",
   "sport": {
    "id": 72,
    "name": "E-sports",
    "slug": "esports"
   },
   "priority": 0,
   "fieldTranslations": {
    "nameTranslation": {
     "ar": "دوتا 2",
     "bn": "ডোটা 2",
     "hi": "डोटा 2",
     "ru": "Dota 2"
    },
    "shortNameTranslation": {}
   }
  },
  {
   "id": 1572,
   "flag": "counter-strike",
   "name": "Counter Strike",
   "slug": "csgo",
   "sport": {
    "id": 72,
    "name": "E-sports",
    "slug": "esports"
   },
   "priority": 0,
   "fieldTranslations": {
    "nameTranslation": {
     "ar": "كاونتر سترايك",
     "bn": "কাউন্টার স্ট্রাইক",
     "hi": "काउंटर स्ट्राइक",
     "ru": "Counter Strike"
    },
    "shortNameTranslation": {}
   }
  }
 ]
}
```
