GET Last Updated Players
This endpoint returns all the players that have received updates in the past two hours.
https://api.sportmonks.com/v3/football/players/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 “Last Updated”
This endpoint returns every player whose data has changed in the last two hours. It tracks changes to the following fields: country_id, nationality_id, city_id, position_id, detailed_position_id, type_id, common_name, firstname, lastname, name, display_name, image_path, height, weight, date_of_birth, gender.
Changes to each field mean the following:
Country_id: Identifier for the player’s country (e.g. 462)
Nationality_id: Identifier for the player’s nationality (often the same as country_id)
City_id: Identifier for the player’s birth or registered city (null if unavailable)
Position_id: Numeric code for the player’s primary position (e.g. 25 = Defender)
Detailed_position_id: More granular position code (e.g. 154 = Right Back)
Type_id: Identifies the type of player (e.g. 25 = Association Football)
Common_name: Abbreviated name used in live feeds (e.g. “J. Tavernier”)
Firstname: Given name (e.g. “James”)
Lastname: Family name (e.g. “Tavernier”)
Name: Full name (firstname plus lastname; e.g. “James Tavernier”)
Display_name: Name used for display in UI elements (often identical to name)
Image_path: URL to the player’s profile image
Height: Height in centimetres (e.g. 182)
Weight: Weight in kilograms (e.g. 75)
Date_of_birth: Birth date in ISO 8601 format (YYYY-MM-DD)
Gender: Player gender (e.g. “male” or “female”)
Frequency of updates & no-change responses
Every call inspects the last two hours of changes to any of the fields above.
If one or more players changed, all affected records are returned in the data array.
If no changes occurred in that window, the API responds with HTTP 200 and:
{
"data": []
}
This indicates 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 core fields per player
Store the fifteen tracked fields in your local store, keyed by player ID.
Different incoming payloads
On each response, compare each returned player’s fields against your cache.
If no field differs, discard that record.
Update the cache
For any record with differences, overwrite the cached values.
Cache lookup data locally
Fields like position mappings and country names change rarely. Cache these separately and refresh on a longer schedule.
Back off on empty runs
If you receive multiple empty data arrays in a row, consider reducing polling frequency or extending your back-off window to conserve resources.
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
NO
Parameters
order
No
Returns latest updated players (asc
or desc
). Defaults to asc
&order=desc
Include depth
You can use a total of 3
nested includes on this endpoint
Include options
sport
country
city
nationality
transfers
pendingTransfers
teams
statistics
latest
position
detailedPosition
lineups
trophies
metadata
Related Entities:
Get an overview and explanation of all the fields returned in the API response. The related entities for the players endpoint 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/players/updated?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?