Geocoding
Forward geocoding
Convert an address or place name to GeoJSON coordinates.
get/api
Request
- Base URLhttps://api.latlng.work
- Auth
- API key in header X-Api-Key
- or API key in query parameter api_key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
api_keystring
API key alternative to the X-Api-Key header.
qstring required
Address or place name to geocode.
limitinteger
langstring
latnumber double
Bias results near this latitude.
lonnumber double
Bias results near this longitude.
Response
GeoJSON feature collection.
Example response
{
"features": [
{
"geometry": {
"type": "Point"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.