Open data interface
All published flea markets as JSON or as a calendar – freely usable, no registration, no key. If you run a council website, a regional portal or a village app, you can use this without asking us first.
Licence
Free to use, including commercially. Please name flohmaps.org as the source and link back. The map data comes from OpenStreetMap (ODbL) – please pass that credit on as well.
The three addresses
| Address | Returns |
|---|---|
https://flohmaps.org/api/events.json |
Upcoming markets as JSON, soonest first |
https://flohmaps.org/kalender.ics |
The same as a calendar to subscribe to |
https://flohmaps.org/feed.xml |
Newly published markets as an RSS feed |
Parameters
All optional, all combinable, and they work for both events.json and kalender.ics.
| Name | Meaning |
|---|---|
plz |
Postcode. A partial code is enough: 1234 covers everything starting with those digits. |
ort |
Town, exactly as written (city also works) |
bundesland |
Federal state (state also works) |
lat, lng, umkreis |
Radius in kilometres around a point, max. 300 |
tage |
Only the next N days, max. 730 |
limit |
Number of entries, 1 to 500 (default 100) |
Example
All markets in one postcode area within the next 90 days:
https://flohmaps.org/api/events.json?plz=1234&tage=90
The answer looks like this:
{
"source": "flohmaps.org",
"license": "Freie Nutzung mit Quellenangabe",
"generated": "2026-08-04T12:00:00+02:00",
"filter": { "plz": "1234", "tage": 90 },
"count": 2,
"events": [
{
"title": "5. Musterstädter Höfeflohmarkt",
"url": "https://flohmaps.org/e/musterstaedter-hoefeflohmarkt-a1b2c3",
"embed_url": "https://flohmaps.org/e/musterstaedter-hoefeflohmarkt-a1b2c3/embed",
"city": "Musterstadt",
"postcode": "12345",
"state": "Musterland",
"area": "Nordstadt",
"starts_at": "2026-09-12T10:00:00+02:00",
"ends_at": "2026-09-12T16:00:00+02:00",
"type": "neighbourhood",
"theme": null,
"center": { "lat": 52.412345, "lng": 12.598765 },
"stand_count": 23
}
]
}
Calendar subscription
The most convenient route: enter the address once as a subscription in Outlook, Google Calendar or on your website. New markets then appear automatically – nobody has to do anything again.
https://flohmaps.org/kalender.ics?ort=Musterstadt
Times are given in local time with time zone Europe/Berlin, refresh interval 12 hours.
Or simply embed it
If you do not want to build anything yourself: three ready-made views fit into any page via iframe. They stay up to date on their own – nobody has to maintain anything.
<!-- Map of one event -->
<iframe src="https://flohmaps.org/e/DEIN-SLUG/embed"
width="100%" height="480" style="border:0"></iframe>
<!-- Its list of stands -->
<iframe src="https://flohmaps.org/e/DEIN-SLUG/embed/liste"
width="100%" height="600" style="border:0"></iframe>
<!-- Upcoming markets in your area -->
<iframe src="https://flohmaps.org/embed/termine?ort=Musterstadt"
width="100%" height="400" style="border:0"></iframe>
The date list takes the same filters as the interface above: plz, ort, bundesland, lat/lng with umkreis, tage, limit. Add ?farbe=1e5aa8 anywhere to match your own colours – six hex digits, no hash. Colours too light for text are darkened automatically so the contrast stays readable.
The frames report their height to the surrounding page, so you can let them grow with their content instead of guessing a fixed height:
<iframe id="fm" src="https://flohmaps.org/embed/termine" width="100%" height="400" style="border:0"></iframe>
<script>
addEventListener('message', function (e) {
var f = document.getElementById('fm');
if (f && e.source === f.contentWindow && e.data && e.data.flohmaps === 'height') f.height = e.data.px;
});
</script>
From the browser
The interface allows cross-origin requests (Access-Control-Allow-Origin: *), so fetch() from your own project works directly:
const r = await fetch('https://flohmaps.org/api/events.json?plz=1234');
const d = await r.json();
d.events.forEach(ev => console.log(ev.starts_at, ev.title));
Please be considerate
There is no hard rate limit – we would rather not need one. The data
changes at most a few times a day, so one request per hour is plenty, and
answers may be cached (Cache-Control: max-age=300). If you
need substantially more, just drop us a line.
What we do not promise
- The content comes from the organisers. We do not check it for accuracy – if something is wrong there, it is wrong here too.
- Entries can disappear when an event is cancelled or deleted.
- Field names stay stable. If something fundamentally new comes along, it will appear alongside – we will not switch off the old form without notice.
- No personal data is included: no email addresses, no names of private sellers, no exact stand addresses.
Questions, wishes, built something with it? hallo (at) flohmaps.org – we are glad when someone does something with it.