Location · API
Address & Geocoding
Forward-geocode an address to coordinates, or autocomplete and normalize postal addresses worldwide.
GET /v1/geocode/forward
GET /v1/geocode/forward
200 OK
{ "query": "1600 Amphitheatre Pkwy, Mountain View", "latitude": 37.4224, "longitude": -122.0841, "formatted": "1600 Amphitheatre Pkwy, Mountain View, CA 94043", "country_code": "US" }
Capabilities
Why teams use it
Forward geocoding
Turn any address into precise latitude and longitude.
Autocomplete
Type-ahead address suggestions as users type.
Normalization
Clean, standardized, deduplicated addresses.
Structured components
Street, number, city, postal code and country.
Global coverage
Address data across 240+ countries.
Batch-ready
Geocode many addresses in one request.
Request
Call it in your language
curl "https://api.locanium.com/v1/geocode/forward?q=1600 Amphitheatre Pkwy, Mountain View" \ -H "Authorization: Bearer sk_live_..."
Response
What you get back
- Latitude
latitudenumber - Longitude
longitudenumber - Normalized address
formattedstring - Street
streetstring - City
citystring - Postal code
postal_codestring - ISO country code
country_codestring - 0–1 match confidence
confidencenumber
Use cases
What you can build
Location family
Full parameters, errors and code samples are in the API reference.