Rugby head to head API
Head to headEvery meeting between two teams.
A list you will want once and then keep: it changes rarely. Ids in it open their own endpoints.
It needs team and opponent. Leave one out and the answer names it, before any data is read.
Try it
Your key stays in this browser and is filled in on every docs page.
{
"data": [
{
"id": "rg_7pn17h2031",
"date": "2026-04-04",
"kickoff_utc": "2026-04-04T19:00:00Z",
"status": "finished",
"competition": {
"id": "rg_mgmna5xt92",
"name": "Challenge Cup"
},
"season": {
"id": "rg_2234qg6q6v",
"name": "2025-26"
},
"home": {
"id": "rg_3wgs9z80xa",
"name": "Ulster",
"score": 28
},
"away": {
"id": "rg_tnz71wf1rk",
"name": "Ospreys",
"score": 24
}
},
{
"id": "rg_y7p9vp2a7r",
"date": "2026-02-28",
"kickoff_utc": "2026-02-28T19:45:00Z",
"status": "finished",
"competition": {
"id": "rg_66dnen7n9s",
"name": "United Rugby Championship"
},
"season": {
"id": "rg_5d0222fxmz",
"name": "2025-26"
},
"home": {
"id": "rg_tnz71wf1rk",
"name": "Ospreys",
"score": 21
},
"away": {
"id": "rg_3wgs9z80xa",
"name": "Ulster",
"score": 10
}
}
],
"meta": {
"sport": "rugby",
"endpoint": "/head-to-head",
"count": 41,
"cached": false,
"age_seconds": 0
}
}Parameters
Query values this call takes. Anything else is refused with bad_param and the list it accepts.
| Name | Type | What it does | |
|---|---|---|---|
| team | id | required | A team, by its id. |
| opponent | id | required | The other side, by its id. |
Returns
Each row of data, from a real answer. Every id is ours and opens its own endpoint.
| Field | Type | What it holds |
|---|---|---|
| id | id | Our id for this record |
| date | date | The day, YYYY-MM-DD |
| kickoff_utc | datetime | Kick-off time in UTC |
| status | string | Its state: scheduled, live, finished or similar |
| competition | object | The competition |
| season | object | The season |
| home | object | The home side |
| away | object | The away side |
| meta | What it holds |
|---|---|
| sport, endpoint | What you asked |
| count | Rows in this answer |
| page, per_page, total, next_cursor | Where you are in a paged list, when it is paged |
| as_of | When the data was built |
| cached, age_seconds | Whether this is a stored copy, and its age |
| access | On the free key: what it reads, and the plan that opens the rest |
Errors
Codes this call can give. Each is explained in Errors.
| Status | Code | When |
|---|---|---|
| 401 | no_key | No key sent, or not in a form we read |
| 401 | bad_key | A key we do not know |
| 403 | plan | The free key asked for a date other than yesterday |
| 404 | not_found | An id we never issued for rugby |
| 422 | bad_param | A value this call does not take, or a required one missing |
| 429 | rate | Over the calls a minute for your plan |
| 503 | upstream | The data is not answering; retry after Retry-After |
The free key reads yesterday. The Rugby plan opens live, fixtures and every date held, for $29 a month.
Add Rugby