Betting exchange API for lay prices

The OddsRelay API carries Smarkets and Matchbook prices as data: each lay price and the money available at it, beside the back prices of bookmakers in the UK & Ireland, pre-match and in play. It is read-only and places no bets. Every plan in the UK & Ireland includes it, the free one too.

Do Smarkets and Matchbook have their own APIs?

Yes. Each runs an API for its own account holders. OddsRelay is an odds feed, not a betting account: one key reads their prices beside every bookmaker's, in one JSON shape.

Feeds and API keys

Each exchange’s own page lists the sports on each feed.

Exchanges, by feed
ExchangeAPI keyStandardRawEach-wayExtra placeBest odds guaranteed2UpDutching
SmarketssmarketsCoveredCoveredCoveredCoveredCoveredCoveredCovered
MatchbookmatchbookCoveredCoveredCoveredCoveredCoveredCoveredCovered
  • SmarketssmarketsStandard, Raw, Each-way, Extra place, Best odds guaranteed, 2Up, Dutching
  • MatchbookmatchbookStandard, Raw, Each-way, Extra place, Best odds guaranteed, 2Up, Dutching

Sports covered

Every sport OddsRelay covers each exchange on, across its feeds, from the coverage summary.

Sports covered on each exchange, across its feeds
ExchangeSports
SmarketsAmerican football, Aussie rules, Basketball, Boxing, Cricket, Darts, Esports, Football, Golf, Greyhound racing, Handball, Horse racing, Ice hockey, MMA, Rugby union, Snooker, Table tennis, Tennis, Volleyball
MatchbookAmerican football, Baseball, Basketball, Boxing, Cricket, Darts, Football, Greyhound racing, Horse racing, Ice hockey, MMA, Rugby union, Snooker, Tennis

What a reply carries

On every matched feed but dutching, each outcome lists the bookmakers' back prices, best first, beside the exchange lay prices, lowest first. A lay offer carries exchange, price, available and link, and available is the money available at that price. On the each-way and extra-place feeds, lay splits into lay.win and lay.place.

The matched feeds pair against Betfair, Smarkets and Matchbook. To keep the lay side to the exchanges on this page, pass exchanges=smarkets,matchbook, as Filtering matched odds shows.

On the raw feed an exchange's back price carries back_available, the stake you can back at it. Its lay side is the market's own _lay twin (h2h_lay beside h2h), each lay price with available, the stake you can lay. Racing keeps both sides on one row. Both stakes are in pounds, as the backer's stake, and exchangesOnly=true returns the exchanges alone. On dutching, an exchange's back price can be one of the legs.

In play, the standard and dutching feeds take inPlay=only for the events in play alone, and raw also takes inPlay=include for both, each event marked in_play. The other matched feeds stay pre-match.

Since 2 November 2026, historical odds answer with the exchanges' prices beside the bookmakers', back to 17 October 2026: each outcome's best back price, best lay price and available. Closing lines and the day files carry them too.

Prices are as each exchange quotes them. No commission is applied, so your own rate goes into your arithmetic.

Example · recorded 17 Sep 2026, 03:27 UK time · one event, one market, one outcome

{
  "meta": {
    "feed_type": "standard",
    "region": "uk",
    "odds_format": "decimal",
    "processed_at": "2026-09-17T02:27:33.874Z"
  },
  "data": [
    {
      "event_id": "or_evt_beecb9c3d748",
      "sport_key": "soccer_england_national_league",
      "sport_title": "England - National League",
      "commence_time": "2026-09-18T18:45:00Z",
      "home_team": "Yeovil Town",
      "away_team": "Solihull",
      "markets": [
        {
          "key": "h2h",
          "outcomes": [
            {
              "name": "Draw",
              "back": [
                {
                  "bookmaker": "unibet",
                  "price": 3.7,
                  "link": "https://www.unibet.co.uk/betting/odds/football/england/national-league/yeovil-town-vs-solihull-moors/c299eb5aa08e90993d9c0a296a2f0448"
                },
                {
                  "bookmaker": "fanteam",
                  "price": 3.67,
                  "link": "https://www.fanteam.com/sportsbook#/event/17185185"
                }
              ],
              "lay": [
                {
                  "exchange": "smarkets",
                  "price": 4,
                  "available": 21.8,
                  "link": "https://smarkets.com/sport/football/england-national-league/2026/09/18/18-45/yeovil-town-vs-solihull-moors/45317352/"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

OddsRelay is not affiliated with or endorsed by Smarkets or Matchbook.

Try exchange prices on your own key

Sign up free. The free plan needs no card.