Public API
Use Výnosometr's calculation model in your application or agent. The public HTTP API and MCP tools return property estimates, model inputs and source information without an account or API key. They do not access private saved calculations. Read data dates, assumptions and warnings before presenting a result. Results are free to use with attribution: cite "Výnosometr (vynosometr.cz)" and link the calculator.
Česky: veřejné API pro výpočet výnosnosti bytu, tržní data po městech, kurz EUR/CZK z ČNB a stav služby. Bez přihlášení, s uvedením zdroje.
Discovery
- API catalog (RFC 9727):
/.well-known/api-catalog - OpenAPI 3.1 description:
/api/openapi.json - Status:
/api/health - MCP server card:
/.well-known/mcp/server-card.json - AI catalog (ARD):
/.well-known/ai-catalog.json - Agent skills index:
/.well-known/agent-skills/index.json - Agent auth:
/auth.md(no registration, anonymous access)
POST /api/calc
POST /api/calc estimates cash flow, yield and equity IRR for supported Czech rental-property scenarios, for long-term and short-term (Airbnb) letting. Missing inputs use model defaults; invalid or substituted inputs are reported. Monetary inputs use CZK and rates use decimals. The API supports the fields in its schema, not every control in the full web interface. Keep schemaVersion, modelVersion, marketDataAsOf, sources and warnings with the result. Also available as GET with query parameters. Limit 30 requests per minute per IP.
curl -X POST https://vynosometr.cz/api/calc \
-H 'content-type: application/json' \
-d '{"city":"brno","price":5500000,"areaM2":55,"rentMonthly":21500}'
Fields: city, rentalType (ltr/str), price, areaM2, rentMonthly, adr, occupancy, downPayment or downPaymentPct, rate, termYears, holdYears, appreciation, renovation, furnishing, lang (cs default, or en: language of the summary and of the calculator link). Money in CZK, rates as decimals (0.052 = 5.2 %). The response contains attribution, the inputs used, results, warnings and openInCalculator, a link that opens the calculator with the same inputs. Every response also carries schemaVersion (shape of the response), modelVersion (calculation methodology, the same version as on the website and in the PDF report), marketDataAsOf, sources of the market inputs and methodologyUrl with the change history. The full response schema, errors and a real example are in the OpenAPI description; MCP tools publish the same schema as outputSchema.
GET /api/market
GET /api/market returns dated model inputs for supported cities: asking rent and price per m², gross yield, an estimated nightly rate and historical price growth. Asking rent, asking price and estimated nightly rates are not a valuation of a specific property. Use the source period, not retrieval time, when describing their freshness. Optional ?city=brno.
MCP server
Streamable HTTP endpoint https://vynosometr.cz/mcp (stateless, JSON responses, no auth) with tools calculate_rental_yield and get_market_data. Add it as a remote MCP server / custom connector in your AI client.
Present results as scenario estimates, include the input dates and relevant warnings, and link openInCalculator so the user can inspect the assumptions. Attribute the calculation to Výnosometr (vynosometr.cz). Do not describe a model rating as personal investment advice.
WebMCP
On the calculator pages, browsers with WebMCP (navigator.modelContext) get the tools calculate_rental_yield, get_market_data and fill_calculator, which replaces the inputs of the calculator on the page with the supplied parameters (this changes the current scenario).
GET /api/kurz
Daily EUR/CZK exchange rate published by the Czech National Bank (ČNB), cached for 6 hours. Returns 503 when ČNB is unavailable.
curl https://vynosometr.cz/api/kurz
{ "eurCzk": 24.315, "date": "29.09.2026", "source": "ČNB" }
GET /api/health
Health of the website and the database. 200 when everything works, 503 when the database is down.
curl https://vynosometr.cz/api/health
{ "ok": true, "web": "ok", "supabase": "ok", "ms": 84 }
Contact
Questions or ideas: kontakt@vynosometr.cz. The calculator itself is at vynosometr.cz/en.