---
name: harnessracingapi
description: Trot and pace (harness) racing data from 19 countries through harnessracingapi.com: results with every runner, racecards, win prices before the off, horses, drivers, trainers and statistics. Use when a question needs harness race results, form, odds or racecourse statistics.
---

# Harness Racing API

Trot and pace racing as JSON: every result with every runner (place, km time, driver, trainer, final price), racecards, win prices before the off, the history and statistics. Operated by DeveloperData.net.

## When to use it

Use it for harness racing: results, cards, a horse's form, a driver's record, draw bias, speed figures, odds. Not for galloping (thoroughbred) racing or greyhounds.

## Access

- Get a free key at https://harnessracingapi.com/signup (it reads yesterday's racing, 100 calls a day).
- Send it as `X-API-Key: <key>` or `Authorization: Bearer <key>`. Never in the address: `?key=` is refused.
- Base address: https://api.harnessracingapi.com/v1

## Common calls

Yesterday's results in one country:

```
curl "https://api.harnessracingapi.com/v1/results/yesterday?country=SE" -H "X-API-Key: $KEY"
```

```json
{"data": [{"id": "hr_rc_...", "racecourse": {"id": "hr_tk_...", "name": "Solvalla"}, "date": "2026-11-10", "off": "2026-11-10T17:20:00Z", "off_local": "2026-11-10T18:20:00+01:00", "number": 1, "runners": [{"place": 1, "number": 4, "horse": {"id": "hr_hs_...", "name": "..."}, "km_time": "1:12.4", "odds": 3.4}]}], "meta": {"count": 1}}
```

Today's cards: `GET /v1/racecards?country=FR`. One race with its field: `GET /v1/races/{id}`. A horse's form: `GET /v1/horses/{id}/starts`. Find a horse, driver or racecourse by name: `GET /v1/search?q=Pommeau`. Win prices now and before the off: `GET /v1/odds/{race}` and `/v1/odds/{race}/history`.

## MCP

Server: https://harnessracingapi.com/mcp (JSON-RPC over HTTP, key in the X-API-Key header). Tools:

- `list_countries`: Every country we hold, with the date its results start, how far back it is still being read, and what its results carry.
- `todays_racecards`: Races coming up with every declared runner, driver, trainer and starting position.
- `get_race`: One race, before or after the off, with every runner.
- `get_results`: Every finished race on a day, with every runner, place, km time and odds.
- `yesterdays_results`: Every race from yesterday, at each racecourse's own day. The free key's home.
- `race_odds`: The win price of every runner: the latest read before the off, the final price once run, and how far it has moved.
- `search_archive`: Every result between two days, by country or racecourse, as far back as we hold.
- `search`: Find horses, drivers, trainers and racecourses by name.
- `get_horse`: A horse's profile with its record and best km time.
- `get_driver`: A driver's profile and record.
- `horse_form`: The form line, a rolling km time and a consistency score over the last starts.
- `draw_bias`: Win share by starting position at a racecourse, for a distance and a start method.
- `speed_figures`: A speed figure for every runner, set against the median winner at that racecourse, distance and start.
- `form_guide`: Every declared runner with its form line, last figure, driver strike rate and draw share, in one call.

## Limits

- Free key: 100 calls a day, 10 a minute, yesterday only.
- Live: 10000 calls a day, 120 a minute, today and the last 30 days.
- Archive: 25000 calls a day, 180 a minute, the full history.
- Complete: 50000 calls a day, 300 a minute, the full history.
- Analyst: 100000 calls a day, 600 a minute, the full history.
- Lists come in pages of at most 50: follow `meta.next_cursor` with `cursor`.
- A field the plan does not include comes back as null with a note in `meta`, never missing.

## Errors

`{"error": {"code": "upgrade_required", "message": "..."}}`. Codes: bad_request (400), unauthorized (401), upgrade_required (403, names the plan), not_found (404), unknown_parameter (422), rate_limited and quota_exceeded (429, with Retry-After), not_ready (503), server_error (500). An empty list is a 200 with `meta.count` 0.

## Workflow

1. Find the id: search by name, or list the day's results or cards for a country.
2. Fetch the record with that id: the race, the horse's starts, the driver's record.
3. For a question about a racecourse or a market, use the statistics (Analyst plan): draw bias, start method, par times, favourites.
4. Quote times as given: `off` is UTC, `off_local` and `timezone` are the racecourse's own clock.
5. On `upgrade_required`, tell the user which plan has it: https://harnessracingapi.com/pricing

Full manual: https://harnessracingapi.com/documentation/manual.md
