APIs / Leboncoin Immo / Geocode

Leboncoin Immo: Geocode

Geocode from Leboncoin Immo as JSON. 1 credit per successful call.

GET /v1/leboncoin-immo/geocode

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
zipcodestringRequiredAny

Example request

Leboncoin Immo
GET/v1/leboncoin-immo/geocode?zipcode=69003
{
  "success": true,
  "data": [
    {
      "zipcode": "69003",
      "name": "Lyon",
      "type": "city",
      "lat": 45.75898,
      "lon": 4.86125,
      "centroid": {
        "coordinates": [
          4.86125,
          45.75898
        ]
      },
      "shape": {
        "features": [
          {
            "type": "Feature",
            "geometry": "…"
          }
        ],
        "type": "FeatureCollection"
      }
    }
  ],
  "meta": {
    "duration_ms": 713,
    "endpoint_family": "geocode"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data has these 7 fields, read from a recorded call that returned 232 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
zipcodestring
namestring
typestring
latnumber
lonnumber
centroidobject
shapeobject