1. Accueil
  2. Informations sur l'API développeur
  3. Localisation NL

Localisation NL

Return near postcodes from a postcode or lat/lng combination.

Remarque : Il s'agit de la documentation de l'API v2 qui est toujours en version bêta.

Given a postcode or lat/lng combination and your own list of postcodes returns the postcodes ordered from near to far.

Paramètres requis

  • targetPostalCodes (array): An array of 4PPs(e.g: [1000, 1011, 1012])

Paramètres optionnels

  • postalCode (string): The 4PP(e.g: 1000), if both postalCode and lat/lng combination is given the lat/lng from the postalCode will be used.
  • latitude (number): The latitude
  • longitude (number): The longitude
  • searchRange (integer): The range to search, in meters. Maximum 100000.
  • orderBy (string): The order in which to return the results: distance (default) **input (keeps the input ordering) **postalcode (order by the postalcode) ** not yet supported
  • maxResults (integer): The amount of results returned, a number between 0 and 999.

Autorisation

authKey: This is the Authorization key. You have to add it as a GET parameter. Your auth key can be found on the CMS.

Pays disponibles

Pays-Bas

Vous recherchez notre API v1 ?

Documentation v1