# Sportinglife (sportinglife) — 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 comprehensive UK and Irish horse racing racecards from Sporting Life to view meeting schedules, race details, and detailed runner information with form analysis. Plan your betting strategy with up-to-date racecard data including horse forms and race conditions all in one place.

**Category:** Sports | **Website:** [www.sportinglife/](https://www.sportinglife/) | **Docs:** [parse.bot/marketplace/c8d99dc6-f249-46d9-8ecd-d6d741c7caa5/sportinglife-api](https://parse.bot/marketplace/c8d99dc6-f249-46d9-8ecd-d6d741c7caa5/sportinglife-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-sportinglife-api-c8d99dc6/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_meetings

List all UK and Irish horse racing meetings and their race schedules for a given date. Returns meeting venue details, going conditions, and an array of races with basic metadata (time, name, class, distance, runner count). Use the returned race_id values with the get_racecard endpoint to fetch detailed runner information. Makes one upstream request per call.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | Yes | Race date in ISO format YYYY-MM-DD (e.g. 2026-08-20). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-sportinglife-api-c8d99dc6/get_meetings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>"}'
```

### get_racecard

Get the detailed racecard for a specific race, including meeting context, race conditions, and a full array of runners. Each runner includes: horse name, age, cloth number, draw, weight, jockey, trainer, odds, official rating, form figures, last run date, last run days since, previous race class, Timeform commentary/analysis, headgear, and Timeform star rating. Requires a race_id obtained from the get_meetings endpoint. Makes two upstream requests per call (one to locate the race, one to fetch its detail page).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | Yes | Race date in ISO format YYYY-MM-DD (e.g. 2026-08-20). |
| `race_id` | string | Yes | Numeric race identifier obtained from get_meetings response (e.g. 934024). |

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