toolzerhub API Docs

Get the meeting closest to now (v1)

Returns the meeting of two teams whose start is closest to now (live, next or most recent), by the event's customId. An unknown id returns data: null.

1 credit / requestBilled only on success
GET
/v1/sofascore/event/relevant

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

custom_id*string

The event's customId, such as xdbsZdb. Every meeting of the same two teams shares it.

Match^[A-Za-z0-9]{3,20}$
curl -X GET "https://example.com/v1/sofascore/event/relevant?custom_id=xdbsZdb" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}