# Neds — 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.

> Get up-to-date horse racing information from Neds, including upcoming races, event details, and past results. View which races are next to jump and access comprehensive race data all in one place.

**Category:** Sports | **Website:** [neds.com.au/](https://neds.com.au/) | **Docs:** [parse.bot/marketplace/062028ab-cd3c-4f8d-bb53-080dd4853261/neds-com-au-api](https://parse.bot/marketplace/062028ab-cd3c-4f8d-bb53-080dd4853261/neds-com-au-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-neds-com-au-api-062028ab/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_next_to_jump_races

Fetches the next races about to start across all racing codes (horse racing, harness, greyhounds). Returns race summaries ordered by start time, including form data, track conditions, and race comments.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of upcoming races to fetch. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-neds-com-au-api-062028ab/get_next_to_jump_races \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### get_race_detail

Fetches detailed information for a specific race/event by its event ID.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_id` | string | Yes | The unique ID of the race event |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-neds-com-au-api-062028ab/get_race_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"<string>"}'
```

### get_race_results

Fetches official results for a completed race.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_id` | string | Yes | The unique ID of the race event |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-neds-com-au-api-062028ab/get_race_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"<string>"}'
```

### get_racing_events

Retrieves all racing meetings and individual race events for the current day. Can be filtered by racing code. Returns meetings with their associated race IDs, and events with scheduling details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sport_ids` | string | No | Comma-separated racing code IDs to filter by. Accepted values: 1 (horse racing/thoroughbred), 2 (harness), 3 (greyhounds). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-neds-com-au-api-062028ab/get_racing_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sport_ids":"<string>"}'
```
