Free REST API for time & date data. 1,000 requests/day on the free tier.
Include your API key in the Authorization header:
Authorization: Bearer ct_live_your_api_key_here
/api/v1/holidaysGet public holidays for a country and year.
Parameters: country (ISO 2-letter), year
/api/v1/holidays?country=US&year=2026
/api/v1/timezoneGet current time and offset for a timezone.
Parameters: tz (IANA timezone string)
/api/v1/timezone?tz=America/New_York
/api/v1/date/diffCalculate difference between two dates.
Parameters: from (ISO date), to (ISO date)
/api/v1/date/diff?from=2026-01-01&to=2026-12-31
/api/v1/sunGet sunrise and sunset times for a location.
Parameters: lat, lng, date (ISO date)
/api/v1/sun?lat=40.7128&lng=-74.0060&date=2026-06-21
| Plan | Requests / day | Price |
|---|---|---|
| Free | 1,000 | $0 |
| Starter | 10,000 | $9/mo |
| Pro | 100,000 | $29/mo |