---
title: "Head-to-head history for a match's team pair"
method: GET
path: "/v1/stored/matches/{id}/h2h"
tags: ["stored"]
---

# Head-to-head history for a match's team pair

`GET /v1/stored/matches/{id}/h2h`

## Request

- Base URL: `https://api.bigballsdata.com`
- URL: `https://api.bigballsdata.com/v1/stored/matches/{id}/h2h`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

The last N finished matches between the same two teams (either home/away order). Each entry carries both scores, the home-perspective spread (from handicap odds where available), and which side covered.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `limit` integer

## Response `200`

ok. `{ data }`, an array of past meetings; no meta/error wrapper.

- object
  - `data` object[], required
    - `spread` number, nullable
    - `covered_by` string, nullable

## Other responses

- `400`: Invalid match id or limit.

---

[API](https://skmtc.dev/bigballsdata/apis/big-ball-sports-api.md) · [All operations](https://skmtc.dev/bigballsdata/apis/big-ball-sports-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bigballsdata/apis/big-ball-sports-api/revisions/31fb54ac414e?raw)
