{"openapi":"3.1.0","info":{"title":"FARAWAYHOME Public API","version":"1.0.0","summary":"Read-only access to FARAWAYHOME's furnished and serviced rental listings in Germany and London.","description":"Public, unauthenticated, read-only JSON over the same search index the\nwebsite's own rent search uses, so a result here is a listing a human\ncan open on farawayhome.com right now.\n\nRENT ONLY. FARAWAYHOME has retired its for-sale surface. Properties for\nsale are excluded from every endpoint at query level and cannot be\nreached through this API.\n\nNO BOOKING CALENDAR. Availability is a single date per listing, not a\ncalendar of free nights. `availability.available_from` is the earliest\ndate the listing can start; `availability.available_on_request` means\nthe provider handles dates case by case.\n\nMINIMUM STAY. Serviced apartments are bookable by the night\n(`minimum_stay.nightly_bookable`). Furnished apartments carry a\nminimum in months, typically three or more. A serviced listing\ndescribes a CATEGORY of apartment; the API does not report how many\nbookable units sit behind one, because that number is not recorded.\n\nADDRESSES AND COORDINATES. Street name, postcode, district and city\nare public; house numbers are never returned, for any listing.\nCoordinate precision is per listing and the payload always says which\nyou got. `geo.precision: \"exact\"` is the provider's own rooftop\ncoordinate, published because they opted into a fully public address.\n`geo.precision: \"approximate\"` is rounded to about 110 m, and carries\n`geo.accuracy_metres` to say so — never present an approximate point\nas an address, and do not infer a house number from one.\n\nSUBMITTING AN INQUIRY. This API is read-only. The write path is the\nMCP server at https://www.farawayhome.com/mcp, whose `create_inquiry_draft` tool\ncreates a HELD DRAFT. A draft is not an inquiry: it never reaches the\nprovider until the tenant confirms their email address from the\nmessage FARAWAYHOME sends them. Tell the tenant that, and never claim\nan inquiry has been sent.\n\nRATE LIMIT. 120 requests per hour per IP. Over the limit the response\nis 429 with a plain-text body.\n\nATTRIBUTION. Every object carries a `url` to the page it describes.\nCite it.","contact":{"name":"FARAWAYHOME","url":"https://www.farawayhome.com","email":"hello@farawayhome.com"},"license":{"name":"Proprietary — listing data may be quoted with attribution to farawayhome.com"}},"servers":[{"url":"https://www.farawayhome.com/api/v1","description":"FARAWAYHOME public API v1"}],"paths":{"/homes":{"get":{"operationId":"searchHomes","summary":"Search rental listings","description":"Returns the same listings the public rent search returns, in a stable order (soonest available first, then cheapest). Every filter is optional; with none, the whole search-visible rental inventory is paginated.","parameters":[{"name":"city","in":"query","required":false,"schema":{"type":"string"},"description":"City name or slug, either language, case-insensitive (e.g. `berlin`, `München`, `munich`). An unknown value is a 422 listing the valid ones. Omit to search every city."},{"name":"district","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"District name or slug. Repeatable as `district[]=mitte\u0026district[]=kreuzberg`, or comma-separated. Pair with `city` — district names repeat across cities."},{"name":"move_in","in":"query","required":false,"schema":{"type":"string","format":"date"},"description":"Earliest move-in, ISO 8601 (`2026-09-01`). Returns listings available ON OR BEFORE this date — no tolerance window is applied, unlike the website's search page. A date that has passed means moving in now and is read as today."},{"name":"duration_months","in":"query","required":false,"schema":{"type":"integer"},"description":"How long the tenant intends to stay. Returns listings whose MINIMUM stay fits: the value is matched to the tightest of the site's own buckets (1, 3, 6, 12, 12+ months), so `4` admits listings with a minimum of up to six months. Only applied together with `move_in`."},{"name":"rent_min","in":"query","required":false,"schema":{"type":"integer"},"description":"Minimum monthly rent in EUR. Listings priced on request are always included — they satisfy any budget."},{"name":"rent_max","in":"query","required":false,"schema":{"type":"integer"},"description":"Maximum monthly rent in EUR. Listings priced on request are always included."},{"name":"rooms_min","in":"query","required":false,"schema":{"type":"integer"},"description":"Minimum number of rooms (living rooms included, German convention)."},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["furnished","serviced"]},"description":"`furnished` for furnished apartments and houses, `serviced` for serviced apartments. Omit for both plus unfurnished long lets."},{"name":"page","in":"query","required":false,"schema":{"type":"integer"},"description":"1-based. Defaults to 1."},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer"},"description":"Defaults to 20. Values above 50 are clamped to 50; `meta.per_page` reports what was used."},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["de","en"]},"description":"Language of titles, descriptions, city and district names, amenity names and image alt text. Defaults to `en`."}],"responses":{"200":{"description":"Matching listings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeList"}}}},"422":{"description":"A parameter was rejected. The body names it and lists the accepted values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (120 requests per hour per IP)."}}}},"/homes/{id}":{"get":{"operationId":"getHome","summary":"One rental listing in full","description":"Adds description, amenities, every photo and approximate coordinates to the fields returned by /homes. Answers 404 for a listing the search cannot return — unpublished, photoless, or for sale.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"},"description":"The listing id, as returned by /homes."},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["de","en"]},"description":"Language of titles, descriptions, city and district names, amenity names and image alt text. Defaults to `en`."}],"responses":{"200":{"description":"The listing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeDetailEnvelope"}}}},"404":{"description":"No such listing, or it is not publicly listed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/cities":{"get":{"operationId":"listCities","summary":"Cities with listings","description":"The exact vocabulary the `city` filter accepts, with the number of search-visible rental listings in each. Read this before guessing a city name.","parameters":[{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["de","en"]},"description":"Language of titles, descriptions, city and district names, amenity names and image alt text. Defaults to `en`."}],"responses":{"200":{"description":"Cities","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CityList"}}}}}}},"/cities/{slug}/districts":{"get":{"operationId":"listCityDistricts","summary":"Districts of one city","description":"The vocabulary the `district` filter accepts within this city. District names repeat across cities (three cities have a Mitte), so always pair `district` with `city`.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"description":"A city slug or name from /cities, in either language."},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["de","en"]},"description":"Language of titles, descriptions, city and district names, amenity names and image alt text. Defaults to `en`."}],"responses":{"200":{"description":"Districts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DistrictList"}}}},"404":{"description":"No such city. The body lists the valid slugs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenapiDocument","summary":"This document","responses":{"200":{"description":"The OpenAPI 3.1 document"}}}}},"components":{"schemas":{"HomeList":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Home"}},"meta":{"$ref":"#/components/schemas/SearchMeta"}}},"HomeDetailEnvelope":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/HomeDetail"}}},"SearchMeta":{"type":"object","properties":{"page":{"type":"integer"},"per_page":{"type":"integer","description":"The page size actually used, after clamping."},"total":{"type":"integer","description":"Matching listings across all pages."},"total_pages":{"type":"integer"},"locale":{"type":"string","enum":["de","en"]},"filters_applied":{"type":"object","description":"What the server resolved the request to. `rent_only` is always true.","properties":{"city":{"type":["string","null"]},"district_ids":{"type":"array","items":{"type":"integer"}},"rent_only":{"type":"boolean"}}}}},"Home":{"type":"object","description":"A rental listing as it appears in search results.","properties":{"id":{"type":"integer"},"url":{"type":"string","format":"uri","description":"The public page for this listing. Cite this when recommending it."},"title":{"type":["string","null"]},"property_type":{"type":["string","null"],"enum":["furnished_apartment","apartment","furnished_house","house","serviced_apartment",null]},"property_type_label":{"type":["string","null"],"description":"The same value in the requested language."},"location":{"$ref":"#/components/schemas/Location"},"price":{"$ref":"#/components/schemas/Price"},"rooms":{"type":"object","properties":{"total":{"type":["number","null"],"description":"Rooms in the German sense — living rooms count, bathrooms and kitchens do not."},"bedrooms":{"type":["integer","null"]},"bathrooms":{"type":["integer","null"]}}},"size_sqm":{"type":["integer","null"],"description":"Floor area in square metres, converted from the listing's own unit where needed."},"minimum_stay":{"$ref":"#/components/schemas/MinimumStay"},"availability":{"$ref":"#/components/schemas/Availability"},"photo":{"oneOf":[{"$ref":"#/components/schemas/Photo"},{"type":"null"}]}}},"HomeDetail":{"allOf":[{"$ref":"#/components/schemas/Home"},{"type":"object","properties":{"description":{"type":["string","null"],"description":"Rich text as sanitized HTML (p, br, strong, em, ul, ol, li, h2-h4, a)."},"amenities":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"category":{"type":["string","null"],"description":"The amenity group. \"custom\" marks an amenity in the provider's own words rather than one from the fixed catalogue."}}}},"photos":{"type":"array","items":{"$ref":"#/components/schemas/Photo"}},"geo":{"oneOf":[{"$ref":"#/components/schemas/Geo"},{"type":"null"}]}}}]},"Price":{"type":"object","properties":{"price_on_request":{"type":"boolean","description":"True when the provider publishes no price. Such listings match every budget filter."},"currency":{"type":"string","description":"ISO 4217. EUR for German listings, GBP for London."},"rent_monthly":{"type":["integer","null"],"description":"Monthly rent after any discount, all-in where the listing says so."},"rent_monthly_is_from":{"type":["boolean","null"],"description":"True when the figure is a starting price rather than the price."},"price_per_night":{"type":["integer","null"],"description":"Only set for listings bookable by the night."},"price_per_night_is_from":{"type":["boolean","null"]}}},"MinimumStay":{"type":"object","properties":{"nightly_bookable":{"type":"boolean","description":"True for serviced apartments, which can be booked for single nights."},"min_stay_nights":{"type":["integer","null"],"description":"Set only when nightly_bookable."},"min_stay_months":{"type":["integer","null"],"description":"Set only when not nightly_bookable. Typically 3 or more for furnished apartments."}}},"Availability":{"type":"object","description":"One date, not a calendar. FARAWAYHOME keeps no public per-night availability.","properties":{"available_on_request":{"type":"boolean","description":"The provider handles dates individually; ask rather than assume."},"available_from":{"type":["string","null"],"format":"date","description":"Earliest start date. A date in the past means available now."}}},"Location":{"type":"object","description":"House numbers are never returned, for any listing.","properties":{"street":{"type":["string","null"],"description":"Street name only, no house number."},"zip":{"type":["string","null"]},"district":{"type":["string","null"]},"city":{"type":["string","null"]},"country_code":{"type":["string","null"],"description":"ISO 3166-1 alpha-2, uppercase."}}},"Photo":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"alt":{"type":["string","null"],"description":"Alt text in the requested language."}}},"Geo":{"type":"object","required":["latitude","longitude","precision"],"description":"Absent entirely for a listing that has never been geocoded. Always check `precision` before deciding how to describe the location.","properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"precision":{"type":"string","enum":["exact","approximate"],"description":"`exact` — the provider publishes this listing's full address, so this is its actual position. `approximate` — the address is published without a house number, and the point is rounded to match: it identifies the street and the block, not the building."},"accuracy_metres":{"type":"integer","description":"Present only when precision is `approximate`. Omitted on an exact point rather than set to 0."}}},"CityList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/City"}}}},"DistrictList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/District"}},"meta":{"type":"object","properties":{"city":{"$ref":"#/components/schemas/City"}}}}},"City":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"slug":{"type":"string","description":"Pass this as the `city` filter."},"country_code":{"type":["string","null"]},"listing_count":{"type":"integer","description":"Search-visible rental listings right now."},"url":{"type":"string","format":"uri"}}},"District":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"slug":{"type":["string","null"],"description":"Pass this as the `district` filter."},"city":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"slug":{"type":"string"}}},"listing_count":{"type":"integer"},"url":{"type":"string","format":"uri"}}},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_parameter","unknown_city","unknown_district","not_found","internal_error"]},"parameter":{"type":"string","description":"Which input was rejected, when the error is about one."},"message":{"type":"string","description":"Plain English, never translated."},"valid_values":{"type":"array","items":{"type":"string"},"description":"What to send instead, when the accepted set is enumerable."}}}}}}}}