Search API
Generally availableAddress and place autocomplete.
Type-ahead suggestions over the geocoding index — call as the user types, then resolve the chosen suggestion with the Geocoding API.
GET
/geocoding/autocompleteAutocomplete suggestions for a partial query.
Parameters
| Name | In | Req | Description |
|---|---|---|---|
q | query | yes | Partial address / place text. |
proximity | query | no | lon,lat to bias results. |
X-API-Key | header | yes | Your API key. |
Responses
200— Ranked suggestions.
curl "https://airfreemap.com/api/v1/geocoding/autocomplete?q=flinders+st" -H "X-API-Key: $AIRFREE_MAPS_KEY"