Use case
Bring location features into your application
Preselect countries, complete addresses while typing, find the nearest location, calculate a route: IP geolocation and Maps handle this together, billed per successful request.
For businesses and self-employed professionals only
Three building blocks
One endpoint per feature, to combine as your form needs.
-
Detect origin
GET /v1/geolocation/{query}with the visitor's IP address returns country, time zone and currency, for example to preselect a form. -
Complete addresses
GET /v1/maps/searchwithcountryandproximitygives matching suggestions for what the user types. -
Calculate a route
GET /v1/maps/directionsreturns distance and duration between start and destination.
What to watch out for
Call it from your server
Your key does not belong in browser code. A route on your own server keeps it secret and can throttle input, so not every keystroke costs a request.
IP origin is a suggestion
Use it to preselect, but let the visitor correct it: IP geolocation is an estimate.
Pay for results
A search with no results costs nothing, a search with results is billed individually. The price is on the pricing page.
Frequently asked questions
attribution. FlowData picks the provider based on availability.