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
...
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
...
https: //identitysso.betfair.es/view/login?product=<AppKey>&url=https://www.betfair.es |
Interactive Login - API Endpoint
...
Once a session token has been obtained via the .it login methods above, any further API requests should be sent to the UK Exchange endpoints indicated below.
Tip |
---|
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-RPC | https://api.betfair.com/exchange/betting/json-rpc/v1 | <methodname> | SportsAPING/v1.0/listMarketBook |
JSON REST | https://api.betfair.com/exchange/betting/rest/v1.0/ |
Accounts API Endpoints
Interface | Endpoint | JSON-RPC Prefix | <methodname> Example |
---|---|---|---|
JSON-RPC | <methodname> | AccountAPING/v1.0/getAccountFunds | |
JSON REST | https://api.betfair.com/exchange/account/rest/v1.0 |