locations
Get cities list
Changed onGet list of cities. Supports optional search and province filters for autocomplete functionality.
get/api/cities
Request
- Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
- URL: https://api.corabea.it/api/cities
- Auth: none declared
Query parameters
searchstring nullable
City name search: exact matches first, then prefixes, then other substring matches
province_codestring nullable
Optional province code filter (e.g. RM, MI)
limitinteger nullable
Maximum number of results to return (useful for autocomplete)
Response
Successful Response
Example response
{
"cities": [
{
"cadastral_code": "H501",
"id": 58091,
"name": "Roma",
"province_code": "RM"
}
],
"total": 1
}Changes
- info
added the optional property
//to the response with the status
- info