API and MCP for AI agents
Assistants and agents can call the mietzuhoch.de Berlin rent check directly, as a keyless REST API or as an MCP server. The answer contains the local reference rent, the maximum initial rent under the Mietpreisbremse and the possible overpayment, all as estimates.
mietzuhoch.de editorial team · Last updated:
REST API
curl -X POST https://mietzuhoch.de/api/v1/check \
-H "Content-Type: application/json" \
-d '{"address":"Sonnenallee 12","area_sqm":60,"construction_year":1930,"move_in":"2025-03","cold_rent_eur":900,"lang":"en"}'POST JSON to https://mietzuhoch.de/api/v1/check (recommended, so the address and rent are not in the URL), or GET with the same fields as query parameters. The OpenAPI 3.1 description works for GPT Actions and other tool integrations.
| Field | Required | Meaning |
|---|---|---|
| address | yes | Berlin street and house number, optionally with postcode: Sonnenallee 12, 12047 Berlin |
| area_sqm | yes | Living area in m² (10–400) |
| move_in | yes | Start of the tenancy, YYYY-MM or YYYY-MM-DD |
| cold_rent_eur | no | Initial Nettokaltmiete per month. Without it you get the reference rent and the cap only |
| construction_year | no | Year the building was ready for occupancy, or unknown |
| contract_signed | no | Date the lease was signed; selects the Mietspiegel edition (default: move_in) |
| furnished | no | true / false |
| lang | no | de (default) or en for summary, notes and next step |
Response
{
"ok": true,
"status": "likely_overpaying",
"summary": "The initial rent is likely above the rent brake: estimated possible overpayment €315.00–465.00 per month (Berliner Mietspiegel 2024), unless an exception applies.",
"address": {
"street": "Sonnenallee",
"house_number": "12",
"postcode": "12047",
"district": "Neukölln"
},
"mietspiegel_edition": "Berliner Mietspiegel 2024",
"wohnlage": "einfach",
"reference_rent_eur_per_sqm": {
"low": 5.55,
"high": 8.82,
"mid": 6.54
},
"max_initial_rent_eur_per_month": {
"low": 432,
"high": 582
},
"possible_overpayment_eur": {
"per_month": {
"low": 315,
"high": 465
},
"per_year": {
"low": 3780,
"high": 5580
}
},
"flags": [
"modernisation_unknown",
"contract_before_2026_mietspiegel"
],
"notes": [
"Estimate based on the Berliner Mietspiegel 2024, the latest edition published when your contract was concluded.",
"Basis: Berliner Mietspiegel 2024, einfach Wohnlage, 5.55–8.82 EUR/m², cap = reference rent × 1.10."
],
"next_step": {
"text": "Free detailed check with the flat's features and the lease. Optional and paid: ready-made complaint letters (Rüge) to send yourself if the overpayment is confirmed.",
"url": "https://mietzuhoch.de/en/check?y=2025&utm_source=agent&utm_medium=rest&utm_campaign=api_v1"
},
"disclaimer": "Estimate based on the official Berlin Mietspiegel for flats it covers; not legal advice. Exceptions (higher previous rent, comprehensive modernisation, new build, furnished) can allow a higher rent.",
"source": "https://mietzuhoch.de/en/methodik"
}- status:
likely_overpaying,borderline(close to the cap, depends on the features),within_cap,needs_review(an exception may apply) orreference_only(no rent given: reference rent and cap only). - Errors:
address_ambiguousreturnscandidateswith postcode and district; ask again with the postcode. Others:postcode_mismatch,house_number_missing,house_number_range,address_not_found,invalid_date,move_in_in_future,outside_berlin,moved_in_before_mietpreisbremse,edition_unsupported(leases before 13 May 2019),building_newer_than_edition,table_cell_missing,invalid_input,rate_limited. Ifcontract_signedis missing and a new Mietspiegel appeared around the move-in,flagscontainsedition_depends_on_signing_date. - Please pass
disclaimerandnext_step.urlon to the user. The result is an estimate, not legal advice.
MCP server
Endpoint https://mietzuhoch.de/api/mcp (Streamable HTTP, stateless, no auth). Tools: check_berlin_rent and search_berlin_street. Example client configuration:
{
"mcpServers": {
"mietzuhoch": { "type": "http", "url": "https://mietzuhoch.de/api/mcp" }
}
}Agent skill
A ready-made instruction file in SKILL.md format: download SKILL.md.
Terms
- Free, keyless, fair use: 2,000 requests per hour per IP.
- Covers Berlin leases signed from 13 May 2019 (Mietspiegel 2019 to 2026). Data sources and method: method.
- We do not store addresses or rents from API calls in our database or analytics; we only count calls and result types. With
GETthe values are part of the URL and may appear in the host's technical access logs, so preferPOST.