# Breaking Bet — 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.

> Find profitable betting opportunities across 60+ bookmakers and 15+ sports by accessing real-time arbitrage data with profit percentages, ROI, and event details for both prematch and live markets. Identify which bookmakers to use and track your arbitrage performance with comprehensive statistics.

**Category:** Sports | **Website:** [breaking-bet.com/](https://breaking-bet.com/) | **Docs:** [parse.bot/marketplace/a764c4c0-f2b2-440c-a46c-e352e661e764/breaking-bet-com-api](https://parse.bot/marketplace/a764c4c0-f2b2-440c-a46c-e352e661e764/breaking-bet-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-breaking-bet-com-api-a764c4c0/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_bookmakers

Get the dictionary of all supported bookmakers, sports, and odds types. Use this to resolve bookmaker IDs and sport IDs returned by get_surebets into human-readable names. Returns three maps: bookmaker ID to name, sport ID to name, and odds type ID to an object with title_short, title_full, and lay fields.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-breaking-bet-com-api-a764c4c0/get_bookmakers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_stats

Get current counts of available arbitrage opportunities, middles, and valuebets across all markets and profit thresholds. Counter keys follow the pattern type.market[_threshold] (e.g. arbs.prematch, arbs.prematch_5 for 5%+ profit, middles.live_10 for 10%+ middles).

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-breaking-bet-com-api-a764c4c0/get_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_surebets

Get current arbitrage (surebet) opportunities sorted by profit percentage or other criteria. Each arb includes profit percentage, ROI, event details, and odds from different bookmakers. In guest/free mode team names and leagues are masked but profit data and bookmaker information are fully available. Filtering by sport, profit range, and market type is supported. Returns a single page of results with total_filtered indicating the full count of matching arbs server-side.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `market` | string | No | Market type to query. |
| `max_profit` | number | No | Maximum profit percentage filter. |
| `min_profit` | number | No | Minimum profit percentage filter (e.g. 5 for 5% minimum). |
| `sort` | string | No | Sort order for results. |
| `sport_ids` | string | No | Comma-separated list of sport IDs to filter by (e.g. 1,6,5). Use get_bookmakers to see all sport IDs. When omitted, all sports are included. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-breaking-bet-com-api-a764c4c0/get_surebets \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"market":"<string>","max_profit":"<number>","min_profit":"<number>","sort":"<string>","sport_ids":"<string>"}'
```
