Location and timezone search

GET/locationsRESTFrom Free

Resolve a city to timezone and geographic data.

Search known locations before chart calculation so users do not need to understand IANA timezone identifiers.

Authentication

Use Authorization: Bearer YOUR_API_KEY or X-Api-Key. Query-key authentication is deprecated compatibility behavior on supported REST routes and is rejected on Agent HTTP and MCP surfaces. Never put credentials in URLs, request bodies, or browser code.

Parameters

NameInRequiredDescription
X-Api-KeyheaderYesAPI key used by the authorization middleware.
YOUR_API_KEY
queryqueryYesCity or place search query.
Edinburgh

Quota effect

This is a free, non-consuming lookup. Authorized calls use 0 calculation units.

Errors

Expect 400 for invalid input, 401 for a missing or malformed key, 403 when the active plan does not include this operation, and 429 when the monthly allowance is exhausted.

Related operations