Retrieving 'To Be Paced' data, missing other markets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jaffy1229
    Junior Member
    • Jan 2024
    • 2

    #1

    Retrieving 'To Be Paced' data, missing other markets

    I am using the API-NG Visualiser and when trying to retrieve all the Place and Top 2 & 3 finishes markets, I can only get the 'To Be Placed' markets. I am using PLACE in the market types field but it does not retrieve the 2 TBP, 3 TBP.

    Is there another search term for these markets? I have tried the obvious ones with no luck. Thanks for any help!
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 680

    #2
    Hi jaffy1229

    Use the OTHER_PLACE market Type to retrieve these markets.

    FYI - listMarketTypes returns a list of available maketTypes for each sport.

    For example, for horse racing

    [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketTypes", "params": {"filter":{"eventTypeIds":["7"]}}, "id": 1}]

    [{"jsonrpc":"2.0","result":[{"marketType":"MATCH_BET","marketCount":6},{"marke tType":"PLACE","marketCount":96},{"marketType":"WI N","marketCount":151},{"marketType":"OTHER_PLACE", "marketCount":48},{"marketType":"EACH_WAY","market Count":24},{"marketType":"WITHOUT_FAV","marketCoun t":2},{"marketType":"RACE_WIN_DIST","marketCount": 3},{"marketType":"ANTEPOST_WIN","marketCount":64}, {"marketType":"SPECIALS","marketCount":1}],"id":1}]

    Kind Regards

    Neil

    Comment

    • jaffy1229
      Junior Member
      • Jan 2024
      • 2

      #3
      Thanks Neil for the help, its much appreciated!

      Comment

      Working...
      X