Transform free-form location strings into structured data with coordinates. Handles compound locations, abbreviations, international formats, and remote keywords.
city (string | null) — City
name, or null for country/region-level results - region (string | null) —
State, province, or region name - country (string) — Full country name
(e.g., “United States”, “Germany”) - latitude (number) — WGS 84 latitude
coordinate - longitude (number) — WGS 84 longitude coordinate -
display_name (string) — Human-readable display string (e.g., “San Francisco,
California, US”) - country_code (string) — ISO 3166-1 alpha-2 country code
(e.g., “US”, “DE”)cache, remote_keyword, pattern_parse,
geocoder, or llm. See Resolution
Pipeline for details on each
tier.succeeded is false.or, and, &), the endpoint automatically splits the string and resolves each part independently. The response contains multiple entries in the locations array.
For example, "US or Canada" is split into "US" and "Canada", each resolved through the pipeline. Similarly, "New York and San Francisco" produces two separate location results.
See the Compound Location response example below for the full output format.