Getting livescores

This tutorial explains the final step in getting the current livescore for football/soccer games.


In order to get the current livescores using our API, you need to be registered, subscribed, and have gotten an api key and secret pair. If you do not one you can follow tutorial on getting them.

Getting livescores

To get the livescores you have to send a HTTP GET request to the following: /scores/live. and after the dot you need to provide the format of the response that you want to get. In case you do not provide an extension it will be in JSON format. Currently, we provide data feeds in JSON, XML, CSV, and RSS formats. Here is the full list of urls that you can call to get the score of the football matches that are being played currently:

  1. /scores/live.json - This request will give you livescores in JSON format.
  2. /scores/live.xml - This request will give you livescores in XML format.
  3. /scores/live.csv - This request will give you livescores in CSV format.
In this example, we have used the demo api key and secret pair. If you login in, you will see all examples with your own api key and api secret You can copy this example code by clicking the file_copy button.


We support four response formats JSON, XML, CSV, and RSS. If you want to find out more about our response formats you can visit our documentation reference on formats. Bellow we have listed a JSON examples of a response, but for more detailed explanation of the response you should read our livescore endpoint reference.

                "away_name":"Vitoria de Guimaraes",
                "score":"0 - 1",
                "home_name":"Patronato de Parana",
                "away_name":"San Lorenzo",
                "score":"1 - 1",