⚽
API 3.0
OddsCoreFootball APIAPI 2 (Deprecated)WidgetsContact
Football API 3.0
Football API 3.0
  • Welcome
    • 🛬Welcome
    • 🙋‍♂️Getting Started
    • 🤓What can you do with Sportmonks' data?
    • 🆕Differences between API 2 and API 3
      • API Changes
      • Syntax and filters
      • New endpoints and data features
    • 🔐Authentication
    • 👶Making your first request
    • 🔧Best Practices
  • API coach (BETA)
  • Changelog
    • 📄Changelog
    • 📁Changelog (BETA)
  • API
    • 💡Request options
      • Includes
        • Nested includes
      • Selecting fields
      • Filtering
      • Selecting and filtering
      • Ordering and sorting
    • 🔤Syntax
    • ♾️Rate limit
    • 👀Meta description
    • 📔Error codes
      • Include Exceptions
      • Filtering and Complexity Exceptions
      • Other Exceptions
    • 📚Code libraries
    • Translations (beta)
    • Demo response files
    • Data corrections
    • API 2.0 (Deprecated)
  • Endpoints and Entities
    • Endpoints
      • 📡Livescores
        • GET Inplay Livescores
        • GET All Livescores
        • GET Latest Updated Livescores
      • 🥅Fixtures
        • GET All Fixtures
        • GET Fixture by ID
        • GET Fixtures by Multiple IDs
        • GET Fixtures by Date
        • GET Fixtures by Date Range
        • GET Fixtures by Date Range for Team
        • GET Fixtures by Head To Head
        • GET Fixtures by Search by Name
        • GET Upcoming Fixtures by Market ID
        • GET Upcoming Fixtures by TV Station ID
        • GET Past Fixtures by TV Station ID
        • GET Latest Updated Fixtures
      • 🛰️States
        • GET All States
        • GET State by ID
      • ⌨️Types
        • GET All Types
        • GET Type by ID
        • GET Type by Entity
      • 🏆Leagues
        • GET All Leagues
        • GET League by ID
        • GET Leagues by Live
        • GET Leagues by Fixture Date
        • GET Leagues by Country ID
        • GET Leagues Search by Name
        • GET All Leagues by Team ID
        • GET Current Leagues by Team ID
      • 🗓️Seasons
        • GET All Seasons
        • GET Seasons by ID
        • GET Seasons by Team ID
        • GET Seasons by Search by Name
      • 📊Statistics
        • GET Season Statistics by Participant
        • GET Stage Statistics by ID
        • GET Round Statistics by ID
      • 📅Schedules
        • GET Schedules by Season ID
        • GET Schedules by Team ID
        • GET Schedules by Season ID and Team ID
      • 🪜Stages
        • GET All Stages
        • GET Stage by ID
        • GET Stages by Season ID
        • GET Stages by Search by Name
      • 🔂Rounds
        • GET All Rounds
        • GET Round by ID
        • GET Rounds by Season ID
        • GET Rounds by Search by Name
      • 🔢Standings
        • GET All Standings
        • GET Standings by Season ID
        • GET Standings by Round ID
        • GET Standing Correction by Season ID
        • Get Live Standings by League ID
      • 🥇Topscorers
        • GET Topscorers by Season ID
        • GET Topscorers by Stage ID
      • 🏃Teams
        • GET All Teams
        • GET Team by ID
        • GET Teams by Country ID
        • GET Teams by Season ID
        • GET Teams by Search by Name
      • 🧑Players
        • GET All Players
        • GET Player by ID
        • GET Players by Country ID
        • GET Players by Search by Name
        • GET Last Updated Players
      • 🧑‍🦱Team Squads
        • GET Team Squad by Team ID
        • GET Extended Team Squad by Team ID
        • GET Team Squad by Team and Season ID
      • 👨‍🏫Coaches
        • GET All Coaches
        • GET Coach by ID
        • GET Coaches by Country ID
        • GET Coaches Search by Name
        • GET Last Updated Coaches
      • 🕴️Referees
        • GET All Referees
        • GET Referee by ID
        • GET Referees by Country ID
        • GET Referees by Season ID
        • GET Referees Search by Name
      • ↔️Transfers
        • GET All Transfers
        • GET Transfer by ID
        • GET Latest Transfers
        • GET Transfers Between Date Range
        • GET Transfers by Team ID
        • GET Transfers by Player ID
      • 🏟️Venues
        • GET All Venues
        • GET Venue by ID
        • GET Venues by Season ID
        • GET Venues by Search by Name
      • 📺TV Stations
        • GET All TV Stations
        • GET TV Station by ID
        • GET TV Stations by Fixture ID
      • 🔮Expected (xG)
        • GET Expected by Team
        • GET Expected by Player
      • 🔭Predictions
        • GET Probabilities
        • GET Predictability by League ID
        • GET Probabilities by Fixture ID
        • GET Value Bets
        • GET Value Bets by Fixture ID
      • 🧙Standard Odds Feed
        • 👓Pre-match Odds
          • GET All Odds
          • Get Odds by Fixture ID
          • GET Odds by Fixture ID and Bookmaker ID
          • GET Odds by Fixture ID and Market ID
          • GET Last Updated Odds
        • 🧠Inplay Odds
          • GET All Inplay Odds
          • GET Inplay Odds by Fixture ID
          • GET Inplay Odds by Fixture ID and Bookmaker ID
          • GET Inplay Odds by Fixture ID and Market ID
          • GET Last Updated Inplay Odds
      • 🧙‍♂️Premium Odds Feed
        • 🕶️Premium Pre-match Odds
          • GET All Premium Odds
          • Get Premium Odds by Fixture ID
          • GET Premium Odds by Fixture ID and Bookmaker ID
          • GET Premium Odds by Fixture ID and Market ID
          • GET Updated Premium Odds Between Time Range
          • GET Updated Historical Odds Between Time Range
          • GET All Historical Odds
      • 🛒Markets
        • GET All Markets
        • GET All Premium Markets
        • GET Market by ID
        • GET Market by Search
      • 📑Bookmakers
        • GET All Bookmakers
        • GET All Premium Bookmakers
        • GET Bookmaker by ID
        • GET Bookmaker by Search
        • GET Bookmaker by Fixture ID
      • 📰News
        • GET Pre-Match News
        • GET Pre-Match News by Season ID
        • GET Pre-Match News for Upcoming Fixtures
        • GET Post-Match News
        • GET Post-Match News by Season ID
      • ⚔️Rivals
        • GET All Rivals
        • GET Rivals by Team ID
      • 🎙️Commentaries
        • GET All Commentaries
        • GET Commentaries by Fixture ID
    • Entities
      • 🥅Fixture
      • 🏆League, Season, Schedule, Stage and Round
      • 🧑‍🤝‍🧑Team, Player, Squad, Coach and Referee
      • 🔢Statistic
      • 🔮Expected
      • 🥇Standing and Topscorer
      • 🔭Odd and Prediction
      • Other
  • Tutorials and Guides
    • Tutorials
      • Introduction
        • Make your first request
        • Set your time zone
        • Pagination
      • Enrich your response
        • Nested includes
          • Syntax and relations
      • Includes
        • Events
        • States
        • Periods
        • Scores
        • Participants
        • Lineups
        • ballCoordinates
        • Pressure Index
        • Tips and tricks
      • Filter and select fields
        • Selecting fields
        • Filtering
        • Selecting and filtering
      • Leagues and seasons
        • Leagues
        • Seasons
      • Season schedule
        • Schedules
        • Stages
        • Rounds
      • Livescores and fixtures
        • Livescores
        • Fixtures
      • Lineups and formations
      • Statistics
        • Statistics types
        • Season statistics
        • Fixture statistics
        • Team statistics
        • Players statistics
      • Teams, players, coaches and referees
        • Teams
        • Players
        • Coaches
        • Referees
      • Standings
        • Season standings
        • Topscorer standings
      • Odds and predictions
        • Bookmakers
        • Markets
        • Pre-match odds
        • Live(Inplay) odds
        • hasOdds
        • Predictions
          • Probabilities
          • Value Bet
      • Expected
        • Endpoints
        • Includes
        • Coverage
      • News
        • Pre-match News
        • Post-match News
      • Placeholders
      • Timezone parameters on different endpoints
    • Guides
      • How-to use components
      • How-to use the Football API with Postman
      • How-to use the Football API tester
      • How-to use the Football API ID finder
      • How-to build a livescore website
      • How-to use the Predictions API
      • How-to build a match page
      • How-to build a custom plan
      • How-to build a match page with odds
      • How-to use xG data
      • How-to build a news website
      • How-to build a fantasy game guide
      • How-to use the new Champions League data
      • How-to build your World Cup application
      • How-to build a team page
      • How-to keep your database in SYNC
      • How-to use team mode in MySportmonks
    • Programming languages
      • A developers guide: Unleashing the power of the football API with JSON
      • A developers guide: Unleashing the power of the football API with PHP
      • A developers guide: Unleashing the power of the football API with Python
  • Definitions
    • 📔Response Codes
    • 🛰️States
    • ⌨️Types
      • Lineups, positions and formations
      • Events
      • Statistics
        • Coach statistics
        • Referee statistics
        • Stage statistics
        • Season statistics
        • Fixture statistics
        • Team statistics
        • Player statistics
      • Expected
      • Leagues and stages
      • Standings
      • Transfers
      • Highlights
      • Weather and pitch
  • FAQ
    • API 3.0
    • Odds
    • Integration
    • Sportmonks
  • Quicklinks
    • Postman
    • ID Finder
    • Sportmonks
    • MySportmonks
    • Football widgets
    • Plans and Pricing
    • Data features
    • FAQ
Powered by GitBook
On this page
  • Requesting live odds
  • GET All Inplay Odds
  • GET Inplay Odds by Fixture ID
  • GET Inplay Odds by Fixture ID and Bookmaker ID
  • GET Inplay Odds by Fixture ID and Market ID
  • Adding useful information
  • Selecting and filtering

Was this helpful?

  1. Tutorials and Guides
  2. Tutorials
  3. Odds and predictions

Live(Inplay) odds

PreviousPre-match oddsNexthasOdds

Last updated 2 years ago

Was this helpful?

In the previous sections, you’ve learnt about pre-match odds and how to retrieve them via our API. Now, let’s take a look at live odds.

It’s good to note that the free plan does not have access to live odds. You need advanced data features for this.

An overview of all the options available to request pre-match odds:

  • GET All Inplay Odds: returns all the live odds.

  • GET Inplay Odds by Fixture ID: returns the live odds from your requested fixture id.

  • GET Inplay Odds by Fixture ID and Bookmaker ID: returns the live odds filtered on bookmaker id from your requested fixture id.

  • GET Inplay Odds by Fixture ID and Market ID: returns the live odds filtered on market id from your requested fixture id.

For all the inplay odds endpoints the base URL is the same:

https://api.sportmonks.com/v3/football/odds/inplay

Per endpoint the rest of the URL requires additional information. We will explain this per endpoint.

Requesting live odds

GET All Inplay Odds

The first option is to request all the inplay odds available in our APIs. With this information, you can determine if the odds you’re interested in are available.

The URL to get all inplay odds is the same as the base URL for inplay odds. All you have to do is authorize the request with your API token. Check our for more info.

https://api.sportmonks.com/v3/football/odds/inplay?api_token=YOUR_TOKEN
Response
{
  "data": [
    {
      "id": 1,
      "fixture_id": 18476561,
      "market_id": 1,
      "bookmaker_id": 2,
      "label": "1",
      "value": "1.00",
      "name": "Bucheon FC 1995",
      "sort_order": 0,
      "market_description": "Fulltime Result",
      "probability": "100%",
      "dp3": "1.00",
      "fractional": "1/500",
      "american": "-100",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": null,
      "handicap": null,
      "participants": "7361|7361",
      "latest_bookmaker_update": null
    },
    {
      "id": 2,
      "fixture_id": 18476561,
      "market_id": 1,
      "bookmaker_id": 2,
      "label": "X",
      "value": "51.00",
      "name": "Draw",
      "sort_order": 1,
      "market_description": "Fulltime Result",
      "probability": "1.96%",
      "dp3": "51.00",
      "fractional": "50/1",
      "american": "5000",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": null,
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null
    },
    //And more

Let’s take a look together at the key values the API returns:

  • id: the unique id of the odd

  • fixture_id: the unique fixture id the odd is available for

  • external_id: the unique id of the odd from the bookmaker

  • market_id: the unique id of the market the odd belongs to

  • bookmaker_id: the unique id of the bookmaker who offers the odd

  • label: the label name of the odd

  • value: the odd value

  • name: the name of the odd

  • sort_order: n/a

  • market_description: the description of the market the odd belongs to

Now you’ve gathered an overview of the available inplay odds. You can also retrieve the odds for only a specific fixture.

GET Inplay Odds by Fixture ID

A lot of our customers are not interested in all odds, but only in odds of a specific fixture. This endpoint is perfectly suited for this. The only thing you’ve to do is parse the fixture_id you want the odds for:

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/{fixture_id}

For example, if you’re interested in the inplay odds available for Celtic vs Rangers (fixture id: 18535517)

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/18535517?api_token=YOUR_TOKEN
Response
{
  "data": [
    {
      "id": 1164529053,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2,
      "label": "Over",
      "value": "26.00",
      "name": null,
      "sort_order": 1,
      "market_description": "Alternative Match Goals",
      "probability": "3.85%",
      "dp3": "26.00",
      "fractional": "25/1",
      "american": "2500",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": "7.5",
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null
    },
    {
      "id": 1164529067,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2,
      "label": "Under",
      "value": "1.01",
      "name": null,
      "sort_order": 2,
      "market_description": "Alternative Match Goals",
      "probability": "99.01%",
      "dp3": "1.01",
      "fractional": "1/100",
      "american": "-10000",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": "7.5",
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null
    },
    //And more

GET Inplay Odds by Fixture ID and Bookmaker ID

You can also opt for the option to request the live odds for one fixture from one specific bookmaker.

It’s good to note that at the moment we only have live odds from bet365. This might change in the future. Therefore we’ve implemented this endpoint already.

To achieve this, the only thing you’ve to do is parse the fixture_id and bookmaker_id you want the odds for:

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/{fixture_id}/bookmakers/{bookmaker_id}

For example, if you’re interested in the inplay odds from bet365 (id: 2) available for Celtic vs Rangers (fixture id: 18535517)

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/18535517/bookmakers/2?api_token=YOUR_TOKEN
Response
{
  "data": [
    {
      "id": 1164529053,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2,
      "label": "Over",
      "value": "26.00",
      "name": null,
      "sort_order": 1,
      "market_description": "Alternative Match Goals",
      "probability": "3.85%",
      "dp3": "26.00",
      "fractional": "25/1",
      "american": "2500",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": "7.5",
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null
    },
    {
      "id": 1164529067,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2,
      "label": "Under",
      "value": "1.01",
      "name": null,
      "sort_order": 2,
      "market_description": "Alternative Match Goals",
      "probability": "99.01%",
      "dp3": "1.01",
      "fractional": "1/100",
      "american": "-10000",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": "7.5",
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null
    },
    //And more

GET Inplay Odds by Fixture ID and Market ID

You can also request all the inplay odds from a specific market and a specific fixture. The only thing you’ve to do is parse the fixture_id and market_id you want the odds for:

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/{fixture_id}/markets/{market_id}

For example, if you’re interested in the inplay odds from the alternative match goals market (id: 5) available for Celtic vs Rangers (fixture id: 18535517)

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/18535517/markets/5?api_token=YOUR_TOKEN
Response
{
  "data": [
    {
      "id": 1163842592,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2,
      "label": "Over",
      "value": "1.06",
      "name": null,
      "sort_order": 1,
      "market_description": "Alternative Match Goals",
      "probability": "94.34%",
      "dp3": "1.06",
      "fractional": "1/16",
      "american": "-1667",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": "0.5",
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null
    },
    {
      "id": 1163842598,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2,
      "label": "Under",
      "value": "10.00",
      "name": null,
      "sort_order": 2,
      "market_description": "Alternative Match Goals",
      "probability": "10%",
      "dp3": "10.00",
      "fractional": "9/1",
      "american": "900",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": "0.5",
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null
    },
    // And more

Adding useful information

  • market: includes the market information the oddd belongs to.

  • bookmaker: includes the bookmaker information of the bookmaker that offers the odd.

  • fixture: includes the fixture information the odds is available for.

For example, if you’re interested in the inplay odds available for Celtic vs Rangers (fixture id: 18535517) with the name of the bookmakers, markets and fixture info.

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/18535517?api_token=YOUR_TOKEN&include=bookmaker;market;fixture
Response
{
  "data": [
    {
      "id": 1164529053,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2,
      "label": "Over",
      "value": "26.00",
      "name": null,
      "sort_order": 1,
      "market_description": "Alternative Match Goals",
      "probability": "3.85%",
      "dp3": "26.00",
      "fractional": "25/1",
      "american": "2500",
      "winning": false,
      "suspended": true,
      "stopped": true,
      "total": "7.5",
      "handicap": null,
      "participants": null,
      "latest_bookmaker_update": null,
      "bookmaker": {
        "id": 2,
        "legacy_id": 2,
        "name": "bet365"
      },
      "market": {
        "id": 5,
        "legacy_id": 136703813,
        "name": "Alternative Match Goals",
        "developer_name": "ALTERNATIVE_MATCH_GOALS",
        "has_winning_calculations": true
      },
      "fixture": {
        "id": 18535517,
        "sport_id": 1,
        "league_id": 501,
        "season_id": 19735,
        "stage_id": 77457866,
        "group_id": null,
        "aggregate_id": null,
        "round_id": 274719,
        "state_id": 5,
        "venue_id": 8909,
        "name": "Celtic vs Rangers",
        "starting_at": "2022-09-03 11:30:00",
        "result_info": "Celtic won after full-time.",
        "leg": "1/1",
        "details": null,
        "length": 90,
        "placeholder": false,
        "last_processed_at": "2023-03-02 17:47:38",
        "has_odds": true,
        "starting_at_timestamp": 1662204600
      }
    },
    // And more

Selecting and filtering

You can add the &select= parameter followed by the fields you want. In our case: market_description,value. This results in the below request and response:

https://api.sportmonks.com/v3/football/odds/inplay/fixtures/18535517?api_token=YOUR_TOKEN&select=market_description,value
Response
{
  "data": [
    {
      "market_description": "Alternative Match Goals",
      "value": "26.00",
      "id": 1164529053,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2
    },
    {
      "market_description": "Alternative Match Goals",
      "value": "1.01",
      "id": 1164529067,
      "fixture_id": 18535517,
      "market_id": 5,
      "bookmaker_id": 2
    },
    {
      "market_description": "Half Time/Full Time",
      "value": "251.00",
      "id": 1163842633,
      "fixture_id": 18535517,
      "market_id": 29,
      "bookmaker_id": 2
    },
    {
      "market_description": "Final Score",
      "value": "126.00",
      "id": 1163842664,
      "fixture_id": 18535517,
      "market_id": 8,
      "bookmaker_id": 2
    },
    // And more

As you’ve learnt in the you can enrich your request with includes. This section will discuss some of the most common requests used on the odds endpoints.

First of all, you can find a list of all available includes on the . For the odds, there are only 3 includes available:

In our you’ve learnt how to select specific fields or filter only on the data you’re interested in. Our API returns a set of data related to the odd by default. We can imagine you’re not interested in all the odds data the API returns. Let’s say you’re only interested in the market description and value.

Check our for more tips and tricks.

authentication section
includes tutorial,
endpoint pages
filtering tutorial
filtering tutorial