GET Last Updated Coaches
Returns all the coaches that have received updates in the past two hours.
https://api.sportmonks.com/v3/football/coaches/latest
api_token
YES
Another option is to provide the API token in the header.
Your unique API token. Ex. ?api_token=YOUR_TOKEN
include
NO
Enrich the API response with more data by using includes. Ex. &include=participants;events
filters
NO
Filter the API response on multiple related entities. There are static filters and dynamic filters. Please find the possibilities in the Static and Dynamic Filter tab.
locale
NO
Translate name fields of the API Response in your selected language. Find more information and which languages are available on our translations page.
Definition of “Latest Updated”
This endpoint returns every coach whose data has changed in the last two hours. The coach data fields include country_id, nationality_id, city_id, weight, and gender. The two-hour update window is fixed and cannot be altered.
A change in any of these fields during the last two hours means that the coach's record is included in the response:
country_id
Change means the coach’s associated country has been modified.
nationality_id
Change means the coach’s nationality assignment has been modified or added.
city_id
Change means the coach’s city association has been modified or added.
weight
Change means the coach’s weight value (in kilograms) was adjusted.
gender
Change means the coach’s gender field was modified.
Frequency of updates & no-change responses
Any coach with at least one of the above fields changed in the last two hours will appear on each API call. If no coach record changed during that window, the API returns HTTP 200 with an empty data array. An empty array means there is nothing new to process.
Polling frequency & rate limits
It is recommended to poll every 1h 59m 55s or 1h 59m 58s to reduce end-to-end latency.
Monitor for network jitter and clock skew to avoid missing updates or sending duplicate requests.
Caching strategy & best practices
Cache all returned fields per coach in your local store.
On each response, compare each coach’s new payload against the cache.
Discard coach records with no actual differences.
Update the cache with only the changed records.
Cache rarely changing lookup data (such as country and city names) locally.
If you observe long runs of empty responses, back off your polling frequency temporarily to reduce unnecessary calls.
Filters
More information on how to use filters can be found in our tutorials on how to filter. If you want more information on which filters to use, you can check out the following endpoint:
Pagination
YES
Include depth
You can use a total of 3
nested includes on this endpoint
Include options
sport
country
teams
statistics
nationality
trophies
player
fixtures
Related Entities:
Get an overview and explanation of all the fields returned in the API response. The related entities for the coaches endpoints are:
Postman
We also offer detailed postman documentation with examples and a complete up-to-date version of all our endpoints. Below is a button that lets your fork the collection or import it.
Code Example
require "uri"
require "net/http"
url = URI("https://api.sportmonks.com/v3/football/coaches/latest?api_token=YOUR_TOKEN")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
response = https.request(request)
puts response.read_body
Last updated
Was this helpful?