I've been trying to find the call in the API to get the market ID's for forcast and reverse fc to match the win market and no luck. ListMarketType shows place markets and match bets etc but no forcast info. Any help would be appreciated.
Getting Forcast and Reverse Forcast data market ID's for a horse race
Collapse
X
-
Hi Hazarder
Please try the below:request to retrieve this information for all horse racing markets
[{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketCatalogue", "params": {"filter":{"marketTypeCodes":["REV_FORECAST","FORECAST"]},"maxResults":"100","marketProjection":["EVENT","COMPETITION","EVENT_TYPE","RUNNER_DESCRIP TION","RUNNER_METADATA","MARKET_START_TIME"]}, "id": 1}]
Kind Regards
Neil
-
Hi
I just tried the listMarketTypes call using the Betfair Visualiser, just specifying Event_Type_IDS = 7 (i.e Horse Racing)
I got the following returned
WIN
PLACE
ANTEPOST_WIN
EACH_WAY
RACE_WIN_DIST
MATCH_BET
OTHER_PLACE
STEWARDS
ACCA
WILL_RACING_GO_AHEAD
I am guessing that you dont see any FORECAST markets as there are no upcoming races in the next few days that have forecast markets. I dont think there is a way to get a list of all potential market types, and I doubt very much BF have all possible market types documented anywhere.Last edited by geoffw123; 28-02-2020, 10:43 PM.
Comment
-
There doesn't seem to be any forecast bets as you said. The OTHER_PLACE I assume contain multiple categories since that's what was returned when there was 2 to place and 4 to place on offer. That part of the API is confusing to me. I wish it was as easy as the PLACE markets where you just add 0.0000001 or however many digits there are to the market ID for the win market.
Comment


Comment