Get programmatic access to UK clock change data through our simple JSON API.
GET https://whendotheclockschange.uk/api/latest.json
GET https://whendotheclockschange.uk/api/v1.json
Use latest.json
to always get the newest version, or v1.json
for guaranteed stability.
{
"data": {
"change": "At 2:00am, clocks go back to 1:00am",
"date": "2025-10-26T00:00:00",
"days_until": 182,
"type": "back"
},
"generated_at": "2025-04-27T13:06:33.189773",
"version": "1.0"
}
version
- API version numbergenerated_at
- Timestamp when this data was generateddata
- The clock change information:
date
- ISO 8601 date of the next changetype
- Either "forward" or "back"days_until
- Number of days until this changechange
- Human-readable description of what happens# Python
import requests
response = requests.get('https://whendotheclockschange.uk/api/latest.json')
data = response.json()
print(f"Next clock change: {data['data']['change']}")
// JavaScript
fetch('https://whendotheclockschange.uk/api/latest.json')
.then(response => response.json())
.then(data => console.log(`Next clock change: ${data.data.change}`));
# curl
curl https://whendotheclockschange.uk/api/latest.json