V2 API Search
Search sports event
Search for any sports event using a text string.
get/search/event/{eventName}
Request
- Base URLhttps://www.thesportsdb.com/api/v2/json
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.