Sports

Get game list

Returns a list of games for the specified sport and status. The response includes all available events associated with the given sport slug, filtered by match status such as live or upcoming.

get/sports/{status}/{sport}

Request

  • Base URL: https://api.tirbet.online (the document declares no server; this is the origin it was published from)
  • URL: https://api.tirbet.online/sports/{status}/{sport}
  • Auth: API key in header x-api-key

Path parameters

status'live' | 'upcoming' required

Filter sports by event status

Example:live
sportstring required

Unique identifier for the sport (e.g., 'football', 'cricket')

Example:football

Query parameters

locale'en' | 'bn' | 'hi'

Response language (en, bn, hi, etc.)

Example:en

Response

List of events for a sport

successboolean required
requestIdstring uuid required

Example response

{
  "success": true,
  "requestId": "6f8a7c3e-1f2a-4d8e-b9a1-9c3b6a2c8f11",
  "data": [
    {
      "id": 987654,
      "ci": 4353456,
      "team": {
        "home": {
          "id": 12345,
          "name": "Manchester United",
          "slug": "manchester-united",
          "countryId": 44,
          "logo": "https://cdn.example.com/teams/manchester-united.png"
        },
        "away": {
          "id": 67890,
          "name": "Liverpool",
          "slug": "liverpool",
          "countryId": 44,
          "logo": "https://cdn.example.com/teams/liverpool.png"
        }
      },
      "league": {
        "id": 1,
        "name": "Premier League",
        "slug": "premier-league"
      },
      "country": {
        "id": 44,
        "name": "England"
      },
      "status": "live",
      "startTime": 1768651200,
      "ec": 134,
      "sport": {
        "id": 1,
        "name": "Football",
        "slug": "football"
      },
      "markets": [
        {
          "id": 6,
          "name": "Total Goals",
          "gs": 1,
          "outcomes": [
            [
              {
                "id": 83,
                "name": "(2.5) Over",
                "coefficient": 1.9,
                "suspended": false,
                "point": 2.5
              },
              {
                "id": 84,
                "name": "(2.5) Under",
                "coefficient": 1.9,
                "suspended": false,
                "point": 2.5
              }
            ]
          ]
        }
      ],
      "matchInfo": {
        "location": "Old Trafford, Manchester",
        "stage": "Semi Final",
        "format": "Regular Time"
      },
      "scoreContext": {
        "currentPeriod": 2,
        "stageLiveStatus": "LIVE",
        "currentPeriodString": "2nd Half",
        "fullScore": {
          "home": 2,
          "away": 2
        },
        "info": "Match in progress",
        "currentPlay": 1,
        "periodScores": [
          {
            "Key": 1,
            "Value": {
              "NF": "1st Half",
              "S1": 1,
              "S2": 0
            }
          }
        ],
        "timeoutRemaining": 60,
        "timeSeconds": 3420,
        "matchStatistics": [
          {
            "Key": 1,
            "Value": [
              {
                "ID": 101,
                "N": "Possession",
                "S1": "55%",
                "S2": "45%"
              }
            ]
          }
        ],
        "inningsData": [
          {
            "Key": "Team1Scores"
          }
        ]
      },
      "weather": {
        "temperature": "+7°C",
        "cloudLevel": "69",
        "cloudDescription": "Cloudy, rain",
        "uvIndex": "3",
        "windSpeed": "1.7",
        "windDirection": "S",
        "windUnit": "m/s",
        "pressure": {
          "value": "750",
          "unit": "mmHg"
        },
        "humidity": {
          "value": "750",
          "unit": "mmHg"
        },
        "precipitation": {
          "value": "750",
          "unit": "mmHg"
        }
      },
      "probability": {
        "home": 0.44,
        "draw": 0.26,
        "away": 0.5
      },
      "slug": "manchester-united-vs-liverpool"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.