Heartbeat API JSON Sample

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ollivo
    Junior Member
    • Dec 2015
    • 1

    #1

    Heartbeat API JSON Sample

    Hello everybody,

    I cannot make a succesfull call to the Heartbeat API.

    Does anybody have a working JSON request sample for that?
  • gus
    Senior Member
    • Jan 2009
    • 134

    #2
    This works for me:

    https://api.betfair.com/exchange/heartbeat/json-rpc/v1

    Code:
    {"method":"HeartbeatAPING\/v1.0\/heartbeat","id":1,"jsonrpc":"2.0
    ","params":{"preferredTimeoutSeconds":10}}
    and the call returns:

    Code:
    {"result":{"actionPerformed":"NONE","actualTimeoutSeconds":10},"id":1,"jsonrpc":"2.0"}

    Comment

    • tkw141.
      Junior Member
      • Dec 2015
      • 3

      #3
      There isn't a Heartbeat service for Austrailia.
      And the URL is different for Italian and Spanish accounts. Also the method is different for Italian accounts. See the link:

      https://api.developer.betfair.com/se.../Heartbeat+API

      Tony

      Comment

      Working...
      X