# Sporting Life — 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 UK and Irish racecards from Sporting Life to view meeting schedules, race specifics, horse entries, trainer and jockey information, and live odds all in one place. Plan your bets and track racing information across both countries with comprehensive, up-to-date racing data.

**Category:** Sports | **Website:** [www.sportinglife.com/racing/racecards](https://www.sportinglife.com/racing/racecards) | **Docs:** [parse.bot/marketplace/9f4d4fce-aac5-4a39-b2d0-793b7273f09f/sportinglife-com-api](https://parse.bot/marketplace/9f4d4fce-aac5-4a39-b2d0-793b7273f09f/sportinglife-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-sportinglife-com-api-9f4d4fce/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_racecards

Returns all UK and Irish racecards for a given date. Each race includes meeting venue, going, surface, race time, race name, distance, class, and a full list of runners with horse name, trainer, jockey, odds, weight, draw, and official rating. Makes one request per race to fetch full runner details, so response time scales with the number of races on the card (typically 20-30 races per day).

**Estimated cost:** Metered

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

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