v1

latestOpenAPI 3.0.32026-07-144334213.8 KB
V2 API Search

Search sports event

Search for any sports event using a text string.

get/search/event/{eventName}

Path parameters

eventNamestring required

The name of the event to search for.

Response

Event details matching query

Example response

{
  "search": [
    {
      "idEvent": "1666948",
      "strEvent": "Argentina vs France",
      "strFilename": "FIFA World Cup 2022-12-18 Argentina vs France",
      "idLeague": "4429",
      "strLeague": "FIFA World Cup",
      "dateEvent": "2022-12-18",
      "strThumb": "https://r2.thesportsdb.com/images/media/event/thumb/ttb9go1671095858.jpg",
      "strSport": "Soccer"
    }
  ]
}