TimeAndDate Scraper - World Clock & Holidays avatar

TimeAndDate Scraper - World Clock & Holidays

Pricing

from $10.00 / 1,000 results

Go to Apify Store
TimeAndDate Scraper - World Clock & Holidays

TimeAndDate Scraper - World Clock & Holidays

Scrape TimeAndDate.com for world clocks, sunrise/sunset times, and holiday calendars. Get timezone data, day lengths, and twilight times for any city.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

lulz bot

lulz bot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

TimeAndDate Scraper

Scrape world clock, sunrise/sunset, and holiday data from TimeAndDate.com. Get timezone information, day lengths, twilight times, and holiday calendars for any city or country.

Features

  • World Clock: Get current time, timezone, UTC offset, and DST status for any city
  • Sunrise/Sunset: Scrape daily sun data including sunrise, sunset, day length, solar noon, and twilight times
  • Holidays: Extract holiday calendars for any country and year with holiday names and types
  • Flexible input: Specify cities by name or provide direct URLs

Input

FieldTypeDefaultDescription
modestring"worldclock""worldclock", "sunrise", or "holidays".
citiesstring[][]City names in URL-friendly format (e.g. ["new-york", "london"]).
countrystring"usa"Country for sunrise/holidays mode (e.g. "usa", "uk", "japan").
yearintegercurrentYear for holidays mode.
startUrlsobject[][]Direct TimeAndDate.com URLs to scrape.
limitinteger100Maximum number of results to return.
proxyConfigurationobject-Proxy settings. Residential proxy recommended.

Output

World Clock Mode

FieldDescription
cityCity name
countryCountry
timezoneTimezone abbreviation (e.g. EST, PDT)
utcOffsetUTC/GMT offset (e.g. -5, +5:30)
currentTimeCurrent local time and date
dstWhether DST is active

Sunrise Mode

FieldDescription
cityCity name
dateDate
sunriseSunrise time
sunsetSunset time
dayLengthLength of day
solarNoonSolar noon time
civilTwilightCivil twilight time
nauticalTwilightNautical twilight time

Holidays Mode

FieldDescription
holidayHoliday name
dateDate
typeHoliday type (Federal, Public, Observance, etc.)
countryCountry
yearYear

Usage Examples

Get time for specific cities

{
"mode": "worldclock",
"cities": ["new-york", "london", "tokyo"],
"country": "usa"
}

Get sunrise/sunset data

{
"mode": "sunrise",
"cities": ["new-york", "los-angeles"],
"country": "usa"
}

Get holidays for a country

{
"mode": "holidays",
"country": "usa",
"year": 2026
}

Notes

  • TimeAndDate.com uses Cloudflare protection. Residential proxy is recommended for reliable scraping.
  • City names should be URL-friendly (lowercase, hyphens instead of spaces).
  • Country codes vary: use "usa" for United States, "uk" for United Kingdom, etc.
  • The world clock overview page provides basic time data; individual city pages provide richer timezone details.
  • Sunrise data is available as a monthly table with daily rows.