<!-- generated by scripts/docs/generate-reference.ts — do not edit -->

astro_geocode

Place-name → coordinates + timezone. basic Free; atlas Paid (historical TZ + DST).

Description

Place-name → coordinates + timezone. `basic` Free; `atlas` Paid (historical TZ + DST).

Methods:
  basic [Free] — place name → matching places with coordinates + IANA timezone (Photon/OSM backend)
  atlas [Paid] — timezones + UTC offset at a coordinate (historical TZ via Intl)

Input schema

basic

FieldTypeRequiredConstraints
querystringyesminLength 2
limitintegernomin 1, max 10, int

atlas

FieldTypeRequiredConstraints
latitudenumberyesmin -90, max 90
longitudenumberyesmin -180, max 180
atUtc.yearintegeryesint
atUtc.monthintegeryesmin 1, max 12, int
atUtc.dayintegeryesmin 1, max 31, int
atUtc.hourintegeryesmin 0, max 23, int
atUtc.minuteintegeryesmin 0, max 59, int