ballCoordinates

The Ball Coordinates are added to the Football API. This way, you can follow exactly where the ball is on the pitch.

What does the include do?

The include provides a convenient way to request ball coordinates for a given fixture. Before implementing this include, it was available as a value when requesting the metadata include. Requesting ball coordinates via the metadata is now deprecated.

Why would I use this?

Ball Coordinates are interesting to find out where the ball is on the pitch. Betters might use this to determine if they should be betting on a specific team to score a goal or get a corner. It is also interesting to find out which team is on the attack.

A perfect combination is to use the ball coordinates in combination with the pressure index.

How to apply the include?

The include you need to use now is ballCoordinates.

Make the requests and evaluate the response

So, let’s take a look at a fixture by ID request.

We have used the first leg of the Real Madrid - Manchester City semi-final of the Champions League in 2023 (fixture ID: 18804445). First, you will find all the fixture details. After that, you will find the data provided by using the include ballCoordinates.

Here is the base request:

https://api.sportmonks.com/v3/football/fixtures/{ID}?api_token=YOUR_TOKEN
https://api.sportmonks.com/v3/football/fixtures/18804445?api_token=YOUR_TOKEN&include=ballCoordinates

Delay in the world of sports data is common. We are proud to be faster than live television (delay < 15 seconds). The delay is a little higher for ball coordinates than for other data.

Last updated