Geocoding

Geocode autocomplete (type-ahead).

Type-ahead variant of /search/geocode/v1/forward, billed at a tenth of the cost — fire it on every keystroke from a search bar.

Quota cost: 0.1 unit per call.

get/search/geocode/v1/autocomplete

Request

  • Base URL: https://api.rijwind.com
  • URL: https://api.rijwind.com/search/geocode/v1/autocomplete
  • Auth: HTTP bearer

Query parameters

qstring required

Free-text query, typically a partial input.

langstring

Result language: en, de, fr, or default for local names (also the fallback when a result has no name in the requested language). Omit for local names; any other value is rejected with 400 bad_request.

limitinteger

Maximum number of suggestions.

Response

Autocomplete suggestions.

typestring required

Example response

{
  "features": [
    {
      "geometry": {
        "coordinates": [
          4.9041,
          52.3676
        ],
        "type": "Point"
      },
      "properties": {
        "city": "Amsterdam",
        "country": "Netherlands",
        "countrycode": "NL",
        "name": "Damrak",
        "postcode": "1012",
        "state": "North Holland",
        "street": "Damrak",
        "type": "street"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.