APIs / Bien'ici / Locations

Bien'ici: Locations

Locations from Bien'ici as JSON. 1 credit per successful call.

GET /v1/bienici/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 120 characters
typestringOptionalUp to 160 characters

Example request

Bien'ici
GET/v1/bienici/locations?query=Lyon
{
  "success": true,
  "data": {
    "results": [
      {
        "id": "AaA4_cPXGG-57rezQ70R",
        "name": "Lyon",
        "type": "city",
        "admin_level": "8",
        "insee_code": "69123",
        "insee_codes": [
          "69123"
        ],
        "postalCodes": [
          "69000"
        ],
        "boundingBox": {
          "west": 4.771813419327079,
          "south": 45.70736656825094,
          "east": 4.898377419032792,
          "north": 45.80826281300394
        },
        "zoneIds": [
          "-120965"
        ],
        "population": 484344,
        "score": 1449.7289
      },
      {
        "id": "AaA4_gFTmLxk3VI7OpbG",
        "name": "Lyon 3e",
        "type": "arrondissement",
        "admin_level": "9",
        "insee_code": "69383",
        "insee_codes": [
          "69383"
        ],
        "postalCodes": [
          "69003"
        ],
        "boundingBox": {
          "west": 4.838420353541046,
          "south": 45.73902568641815,
          "east": 4.898377419032792,
          "north": 45.76373958080384
        },
        "zoneIds": [
          "-120967"
        ],
        "population": 96162,
        "score": 396.60107
      },
      {
        "id": "AaA4_bxHdyC9Kq_tzSbi",
        "name": "Lyon 8e",
        "type": "arrondissement",
        "admin_level": "9",
        "insee_code": "69388",
        "insee_codes": [
          "69388"
        ],
        "postalCodes": [
          "69008"
        ],
        "boundingBox": {
          "west": 4.847632217453579,
          "south": 45.718788985479115,
          "east": 4.892184433464071,
          "north": 45.749437502540616
        },
        "zoneIds": [
          "-10686"
        ],
        "population": 78793,
        "score": 307.92548
      }
    ],
    "resultCount": 10
  },
  "meta": {
    "duration_ms": 750,
    "endpoint_family": "locations"
  }
}
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.results has these 11 fields, read from a recorded call that returned 10 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
namestring
typestring
admin_levelstring
insee_codestring
insee_codesstring[]
postalCodesstring[]
boundingBoxobject
zoneIdsstring[]
populationinteger
scorenumber