Skip to content

Middles Data API

Middles Data API provides access to middles data — line overlaps from different bookmakers that provide positive expected value for certain outcomes.

Available APIs

Prematch Middles

Host: middles.prematch.api.breaking-bet.com

Middles for pre-match events.

Live Middles

Host: middles.live.api.breaking-bet.com

Middles for real-time (live) events.


What are Middles?

A middle occurs when you can bet on opposite outcomes with overlapping values (e.g., totals or handicaps) from different bookmakers. If the result falls in the "middle" between these values, both bets win.

Example:

  • Bookmaker A: Total over 2.5 with 2.0 odds
  • Bookmaker B: Total under 3.5 with 2.0 odds

If exactly 3 goals are scored in the match, both bets win, providing significant profit.


Working with Middles Data API

1. Obtaining Access Token

To access the API, you need to get a token for the middles_prematch or middles_live service:

bash
curl https://breaking-bet.com/access_keys/{YOUR_ACCESS_KEY}/access_tokens \
  -H 'Authorization: ApiKey {YOUR_SECRET_KEY}' \
  -d '{"service": "middles_prematch"}'

2. Creating a Filter

Create a filter with middle selection criteria:

bash
POST https://middles.prematch.api.breaking-bet.com/filters/bb-{YOUR_ACCESS_KEY}

3. Retrieving Data

Get data from the created filter:

bash
POST https://middles.prematch.api.breaking-bet.com/filters/bb-{YOUR_ACCESS_KEY}/items

API Specification