Get a cadastral parcel
curl --request GET \
--url https://api.gabin.ai/v1/parcels/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gabin.ai/v1/parcels/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gabin.ai/v1/parcels/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"label": "<string>",
"insee": "<string>",
"prefix": "<string>",
"section": "<string>",
"number": "<string>",
"area_m2": 123,
"center": [
123,
123
],
"geometry": {
"type": "Polygon",
"coordinates": [
"<unknown>"
]
},
"city": {
"insee": "<string>",
"name": "<string>",
"department": "<string>"
},
"district": {
"iris": "<string>",
"name": "<string>"
},
"buildings": [
{
"id": "<string>",
"address": "<string>",
"name": "<string>",
"gabin_url": "<string>"
}
],
"gabin_url": "<string>"
},
"meta": {}
}Parcels
Get a cadastral parcel
A cadastral parcel by id: section, number, area, GeoJSON boundary, city, district and the buildings standing on it. Owners are not listed here (corporate owners: GET /v1/buildings//owners). Parcel ids come from GET /v1/buildings//parcels or the parcels tile layer.
GET
/
v1
/
parcels
/
{id}
Get a cadastral parcel
curl --request GET \
--url https://api.gabin.ai/v1/parcels/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gabin.ai/v1/parcels/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gabin.ai/v1/parcels/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"label": "<string>",
"insee": "<string>",
"prefix": "<string>",
"section": "<string>",
"number": "<string>",
"area_m2": 123,
"center": [
123,
123
],
"geometry": {
"type": "Polygon",
"coordinates": [
"<unknown>"
]
},
"city": {
"insee": "<string>",
"name": "<string>",
"department": "<string>"
},
"district": {
"iris": "<string>",
"name": "<string>"
},
"buildings": [
{
"id": "<string>",
"address": "<string>",
"name": "<string>",
"gabin_url": "<string>"
}
],
"gabin_url": "<string>"
},
"meta": {}
}Authorizations
API key gab_live_… or OAuth access token gat_….
Path Parameters
Cadastral parcel id (14 characters: INSEE code, prefix, section, number). Example: "69266000AB0123".
Pattern:
^(\d{5}|2[AB]\d{3})[0-9A-Z]{9}$⌘I