Developer documentation

ledigt.org is an open format for publishing available rental apartments as static JSON files. Landlords publish; rental portals and aggregators fetch.

Specification 1.0

The normative text: discovery, index and feed files, the listing model, what a service that shows listings must do, takedown, license, privacy and versioning.

Read the specification →

Consumer guide

How to find a publisher's files, how often to fetch, how to show a listing and when to take it down.

Read the consumer guide →

Examples

Complete, valid example files: an index that points to a feed, a residential feed, and a small landlord with inline listings.

See the examples →

Changelog

What changed between versions of the specification and schemas.

See the changelog →

JSON Schemas

JSON Schema draft 2020-12. Served as application/json with Access-Control-Allow-Origin: *.

The schemas' $id values use https://ledigt.org/schema/1.0/…. Add "$schema" to your files for editor support.

Machine endpoints

  • /api/validate?url=<domain or URL> – the same check as the web validator, as JSON. Messages are in Swedish.

For landlords

The landlord guide is in Swedish: Kom igång.