Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

 

How to Access the Spanish Exchange API

Customers who have registered an Spanish Exchange account can access the Betfair Exchange API.  Customers  can register an account via https://www.betfair.es/prospect/exchange

To use the Spanish Exchange with the API you need to create an Application Key for your Spanish Exchange account by following the process outlined via Application Keys

Once you have  created an App Key, you will need to login the API using the Spanish Exchange endpoint which is as follows:

Non-interactive Login

For fully automated applications

Interactive Login - Desktop Application

Interactive Login - API Endpoint

Once a session token has been obtained via the .es login methods above, any further API requests should be sent to the UK Exchange endpoints indicated below.  

 

 Requests to these endpoints will automatically return the markets that are available to Spanish Exchange customers

Betting API Endpoints

Interface
Endpoint
JSON-RPC Prefix
<methodname> Example
JSON-RPChttps://api.betfair.com/exchange/betting/json-rpc/v1<methodname>SportsAPING/v1.0/listMarketBook
JSON RESThttps://api.betfair.com/exchange/betting/rest/v1.0/  

Accounts API Endpoints

Interface
Endpoint
JSON-RPC Prefix
<methodname> Example
JSON-RPC

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

<methodname>

 AccountAPING/v1.0/getAccountFunds

JSON RESThttps://api.betfair.com/exchange/account/rest/v1.0  
  • No labels