# Brisnet — 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 horse racing news, track information, race results, and expert daily picks from Brisnet, plus search detailed information about specific horses. Stay informed on racing events and make data-driven betting decisions with current news articles, results indices, and curated pick recommendations.

**Category:** Sports | **Website:** [brisnet.com/](https://brisnet.com/) | **Docs:** [parse.bot/marketplace/58e30f72-bd20-4184-a0e2-c8f8401c7eed/brisnet-com-api](https://parse.bot/marketplace/58e30f72-bd20-4184-a0e2-c8f8401c7eed/brisnet-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-brisnet-com-api-58e30f72/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_news_article_detail

Fetch the full content of a news article by its URL. Returns title, author, publication date, and the full article text. The URL should be a full brisnet.com article URL as returned by get_news_articles or search_horses.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the article (e.g. from get_news_articles results). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-brisnet-com-api-58e30f72/get_news_article_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_news_articles

Fetch a paginated list of horse racing news articles. Optionally filter by category slug. Returns up to 20 articles per page. Pagination via integer page parameter. When no category is specified, articles from all categories are returned.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Category slug to filter articles. Known working values include 'kentucky-derby', 'racing-news', 'preakness', 'data-reports'. Omitting returns all categories. |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-brisnet-com-api-58e30f72/get_news_articles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>"}'
```

### get_picks

Fetch daily horse racing picks and analysis. Returns an array of track groups, each containing race picks with race data (track name, race number, bris code), race info (class, distance, surface), tooltip analysis (race comment, top pick comment), and recommended pick numbers. Data updates daily based on the racing schedule.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-brisnet-com-api-58e30f72/get_picks \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_results_index

Fetch an index of available legacy 'Flash Results' for different tracks and dates. Returns an array of result entries with track name, date label, filename, and URL. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-brisnet-com-api-58e30f72/get_results_index \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_tracks_list

Fetch the list of all supported horse racing tracks and their codes. Returns an array of tracks with 3-letter uppercase codes, names, and URLs. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-brisnet-com-api-58e30f72/get_tracks_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_horses

Search for horse racing articles and content on the site. Returns matching articles from the news section based on a text query. Searches titles and content for matches.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query string (e.g. horse name, race name, or topic). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-brisnet-com-api-58e30f72/search_horses \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
