Search locations by name and optionally filter by type
Filters
Search Locations
Look up locations (cities, states, countries, regions) by name with fuzzy matching. The name parameter is required; type is optional.
Search types:
name— Fuzzy name search with relevance scoring (required)type— Optional filter by location type:CITY,STATE,REGION, orCOUNTRYlocation_type— Alias fortype
Examples:
?name=san francisco?name=california&type=STATE
GET
Search locations by name and optionally filter by type
Authorizations
API key authentication using Bearer token format.
Format: Authorization: Bearer vg_your_api_key_here
API keys follow the pattern: vg_[12_hex_chars]_[32_base64url_chars]
Query Parameters
Location name to search for
Example:
"san francisco"
Filter by specific location type
Available options:
CITY, STATE, REGION, COUNTRY Example:
"CITY"
Alias for 'type' parameter
Available options:
CITY, STATE, REGION, COUNTRY Example:
"CITY"

