Announcement

Collapse
No announcement yet.

Heartbeat API JSON Sample

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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


    • #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