Properties
| Name | Type | Description |
|---|---|---|
| success | boolean | `true` si la recherche a abouti, `false` en cas d'erreur de paramètre. |
| count | integer | Nombre de communes retournées (20 max). |
| communes | array | Communes correspondantes, au format "CP VILLE". |
| errors | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/hypotheques-en-ligne-fr/json-schema/hypotheques-en-ligne-fr-commune-search-response-schema.json",
"title": "CommuneSearchResponse",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/hypotheques-en-ligne-fr-api-openapi.yml#/components/schemas/CommuneSearchResponse",
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "`true` si la recherche a abouti, `false` en cas d'erreur de paramètre."
},
"count": {
"type": "integer",
"description": "Nombre de communes retournées (20 max)."
},
"communes": {
"type": "array",
"description": "Communes correspondantes, au format \"CP VILLE\".",
"items": {
"$ref": "#/$defs/CommuneItem"
}
},
"errors": {
"type": "array",
"items": {
"$ref": "#/$defs/ErrorItem"
}
}
},
"$defs": {
"CommuneItem": {
"type": "object",
"properties": {
"code_postal_ville": {
"type": "string",
"description": "Commune au format \"CP VILLE\"."
}
}
},
"ErrorItem": {
"type": "object",
"description": "Détail d'une erreur de validation.",
"properties": {
"code": {
"type": "string",
"description": "Code machine de l'erreur.",
"enum": [
"AUTH_REQUIRED",
"INVALID_TOKEN",
"INVALID_JSON",
"MISSING_FIELD",
"INVALID_VALUE",
"INVALID_COMBINATION",
"LIMIT_EXCEEDED",
"ALSACE_MOSELLE_RESTRICTION",
"DUPLICATE_VALUE",
"LOT_INCOMPLETE",
"SERVER_ERROR"
]
},
"message": {
"type": "string",
"description": "Message explicatif en français."
},
"field": {
"type": [
"string",
"null"
],
"description": "Chemin du champ concerné (ex `parcelles[2].section_cadastrale`)."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hypotheques-en-ligne-fr-commune-search-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.