Reflect football odds from website

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arthy
    Junior Member
    • Mar 2019
    • 8

    #1

    Reflect football odds from website

    Hi all,

    I was focused on a competition: Belgian First Amateur Division


    Betfair website shows 3 matches i can bet on:

    - Eendracht Aalst vs Royal Knokke FC
    odds (1st draw 2nd) -> 2.3 3.3 2.62

    - FC Liege vs Seraing Utd
    odds (1st draw 2nd) -> 2.87 3.6 2.1

    - Rupel Boom vs Molenbeek
    odds (1st draw 2nd) -> 2.8 3.75 2.1

    (i am using the non-delay appKey)

    1. when using ListMarketCatalogue to get the match odds

    competitionID: 10029990
    marketTypes: MATCH_ODDS

    i get only 2 matches instead of 3:

    1.156533231 for Rupel Boom vs Molenbeek
    1.156610327 for FC Liege vs Seraing Utd

    -> Is this normal that not all matches are returned through the API ?


    2. when getting the listMarketBook for the first one for example (1.156533231)
    [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketBook", "params": {"marketIds":["1.156533231"],"priceProjection":{"priceData":["EX_BEST_OFFERS"],"virtualise":"true"}}, "id": 1}]

    i get only the lastPriceTraded for the second team: 2.06
    but it does not match what i see on the website: 2.1

    -> why the API does not return the odds for all runners if they are displayed on the website ?
    -> and how can i get the same exact odds as the website ?


    Thank you.

  • LiamP
    Junior Member
    • Oct 2015
    • 284

    #2
    Are you using the delayed key?

    Comment

    • Arthy
      Junior Member
      • Mar 2019
      • 8

      #3
      no, i am using the other one.

      Comment

      • Arthy
        Junior Member
        • Mar 2019
        • 8

        #4
        no one from Betfair to answer this ?

        Comment

        • BetfairDeveloperProgram
          Administrator
          • Oct 2008
          • 680

          #5
          HI Arthy

          Are you logged into the website when viewing / comparing the prices or logged out?

          The request below should provide you with the same data as the website when logged in providing that you haven't changes the Bet View slider on the website from the default of £2 (see https://en-betfair.custhelp.com/app/answers/detail/a_id/405/~/exchange%3A-what-is-the-%E2%80%98bet-view-slider%E2%80%99-and-how-does-it-work%3F)

          [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketBook", "params": {"marketIds":["1.156533231"],"priceProjection":{"priceData":["EX_BEST_OFFERS"],"virtualise":"true"}}, "id": 1}]

          Thanks

          Neil

          Comment

          • Arthy
            Junior Member
            • Mar 2019
            • 8

            #6
            Yes i am logged with my account on the website.
            Thanks i will try that

            Comment

            Working...
            X