Chronokit API
Free REST API for time, date, astronomy, weather, and geography data. No API key required. CORS enabled.
Quick Start
# Get current time in Tokyo
curl "https://chronokit.io/api/v1/time?tz=Asia/Tokyo"
# Calculate days between dates
curl "https://chronokit.io/api/v1/date?action=diff&start=2024-01-01&end=2026-03-15"
# Sunrise in New York
curl "https://chronokit.io/api/v1/astronomy?action=sun&lat=40.7128&lng=-74.006&date=2026-06-21"API Endpoints
Time API
Timezone info, time conversion, DST status
GETEndpoint
/api/v1/timeDate Calculator API
Duration between dates, add/subtract, age, weekday, week number, business days
GETEndpoint
/api/v1/dateAstronomy API
Sun/moon times, moon phases, seasons, eclipses, planet positions
GETEndpoint
/api/v1/astronomyHolidays API
Public holidays for 100+ countries
GETEndpoint
/api/v1/holidaysWeather API
Current conditions, 7-day forecast, hourly data
GETEndpoint
/api/v1/weatherGeography API
City search, distance calculator, international dialing codes
GETEndpoint
/api/v1/geoCalendar API
Monthly calendar grids, leap year checker
GETEndpoint
/api/v1/calendarFun API
Roman numerals, doomsday algorithm, date patterns
GETEndpoint
/api/v1/funResponse Format
All endpoints return JSON. Errors include an error field with a descriptive message and appropriate HTTP status codes (400 for bad requests, 500 for server errors).
// Success
{ "timezone": "America/New_York", "currentTime": "2026-03-15T10:30:00..." }
// Error
{ "error": "Missing required parameter: tz" }