Rechercher dans un périmètre
curl --request POST \
--url https://partner.urbanora.fr/v1/zones/search \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"area": {
"kind": "polygon",
"geometry": {
"type": "<string>",
"coordinates": "<unknown>"
}
}
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
area: {kind: 'polygon', geometry: {type: '<string>', coordinates: '<unknown>'}}
})
};
fetch('https://partner.urbanora.fr/v1/zones/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}zones
Rechercher dans un périmètre
Recherche multi-entités (copros, immeubles, occupants…) sur un polygone, des codes INSEE, un IRIS ou une bbox. Pas d’export de dump.
POST
/
v1
/
zones
/
search
Rechercher dans un périmètre
curl --request POST \
--url https://partner.urbanora.fr/v1/zones/search \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"area": {
"kind": "polygon",
"geometry": {
"type": "<string>",
"coordinates": "<unknown>"
}
}
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
area: {kind: 'polygon', geometry: {type: '<string>', coordinates: '<unknown>'}}
})
};
fetch('https://partner.urbanora.fr/v1/zones/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}Authorizations
Clé API partenaire (upk_live_… / upk_test_…). Alias MCP : Authorization: Bearer upk_….
Body
application/json
Response
Default Response
The response is of type object.
⌘I