# Racingtv — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access detailed information about UK and international horse racing meetings, including complete racecards, runner details, Timeform analysis, pace bias data, and draw commentary. Plan your racing strategy or stay informed on upcoming races with comprehensive meeting schedules and expert insights all in one place.

**Category:** Sports | **Website:** [www.racingtv.com/racecourses/uk/](https://www.racingtv.com/racecourses/uk/) | **Docs:** [parse.bot/marketplace/4fd94729-5b72-4d15-88f1-91c7ee244a00/racingtv-com-api](https://parse.bot/marketplace/4fd94729-5b72-4d15-88f1-91c7ee244a00/racingtv-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-racingtv-com-api-4fd94729/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_racecard

Retrieves the full racecard for a specific race identified by date, track slug, and race time. Returns detailed race metadata (class, distance, going, prize), pace analysis (overall pace bias, specific pace commentary, individual pace hints), draw bias commentary, Timeform analyst verdict, and all runners with their Timeform ratings, comments, star ratings, form, weight, draw, jockey, trainer, breeding, and odds when available.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | Yes | Race date in ISO format YYYY-MM-DD. |
| `time` | string | Yes | Race start time in 4-digit 24-hour format HHMM (e.g. '1350' for 13:50). |
| `track` | string | Yes | Track slug as returned by list_meetings (e.g. 'catterick-bridge', 'bath', 'uttoxeter'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-racingtv-com-api-4fd94729/get_racecard \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>","time":"<string>","track":"<string>"}'
```

### list_meetings

Lists race meetings for a given date with their scheduled races. Each meeting includes track details, going conditions, and a summary of each race (time, distance, class, prize). Filter by country ISO code to narrow to UK-only or Irish meetings. Results are a single page of all meetings for the date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country` | string | No | ISO country code to filter meetings (e.g. 'gb' for Great Britain, 'ie' for Ireland). Omitted returns all countries. |
| `date` | string | Yes | Meeting date in ISO format YYYY-MM-DD. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-racingtv-com-api-4fd94729/list_meetings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country":"<string>","date":"<string>"}'
```
