/pap/locations/search

POST /api/pap/locations/search

Price: 1 credit

Resolve a location name (city, arrondissement, department, region or postal code) into PAP.fr location matches. Returns each match with its id and canonical name. Use it to disambiguate a place before searching and pass the exact name as the location argument of pap/listings/search.

How to use it

Type-ahead resolver for PAP.fr locations. Pass a keyword (place name, department, region or postal code) and get matches, each with id (the PAP geo id, e.g. 43588) and name (e.g. 'Bordeaux (33)'). Pick the canonical name to disambiguate, then pass that name as the location argument of pap/listings/search.

Parameters

Request body

Response

Errors

Response headers