# Get the head-to-head record (v1)

Returns wins and draws between the two teams and between their managers. Either side can be null. Use Get Sports Head to Head Events for the meetings.

- Platform: Sofascore
- Request: `GET https://api.toolzerhub.com/v1/sofascore/event/h2h`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/sofascore/match-detail/get-sports-event-head-to-head

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | query | yes | integer | Event id: the id of any event in a list, such as Get Sports Live Events. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/event/h2h?id=<id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
