No reply for some markets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jolly Roger
    Junior Member
    • Feb 2013
    • 12

    #1

    No reply for some markets

    I'm trying to use the api methods listMarketBook and listMarketCatalogue but on some markets Betfair doesn't give me any information about that market

    e.g. 1.117924226

    Even the API visualiser doesn't return any results for this market. The market is closed but I am getting a response for other closed markets

    Any ideas why Betfair doesn't give any information about this market?

    Here's some debug information

    Request: {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listMarketCatalogue","params":{"filter":{"marketId s":["1.117924226"]},"maxResults":1000,"marketProjection":["MARKET_DESCRIPTION","EVENT","RUNNER_DESCRIPTION", "EVENT_TYPE","MARKET_START_TIME"]},"id":1}
    Headers: {X-Authentication=[xxx], User-Agent=[Mozilla/5.0], X-Application=[xxx], Accept=[application/json]}
    Sending 'POST' request to URL : https://api.betfair.com/exchange/betting/json-rpc/v1
    Post parameters : {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listMarketCatalogue","params":{"filter":{"marketId s":["1.117924226"]},"maxResults":1000,"marketProjection":["MARKET_DESCRIPTION","EVENT","RUNNER_DESCRIPTION", "EVENT_TYPE","MARKET_START_TIME"]},"id":1}
    Response Code : 200
    Response: {"jsonrpc":"2.0","result":[],"id":1}
    Last edited by Jolly Roger; 03-04-2015, 08:27 PM.
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    According to the documentation for listMarketCatalogue:

    Please note: listMarketCatalogue does not return markets that are CLOSED.

    Not sure if the same applies to listMarketBook but I suspect that it returns data for a short time after the market closes.

    Comment

    Working...
    X