Machine-readable JSON for everything Localinar shows on the map: institutions, events, elections, public funding, rent prices, and police reports for Tübingen and Freiburg. Free. CORS-enabled. No API key.
All endpoints return JSON. All URLs are relative to https://localinar.com.
# Get list of available cities curl https://localinar.com/api/v1/cities.json # Get all 504 entities (restaurants, cafes, venues, institutions) in Tubingen curl https://localinar.com/tuebingen/api/entities.json # Get 2026 state election results for Freiburg, by district curl https://localinar.com/freiburg/api/elections.json # Get all 25 annual events in Tubingen with budgets and dates curl https://localinar.com/tuebingen/api/events.json
const res = await fetch('https://localinar.com/tuebingen/api/entities.json'); const data = await res.json(); console.log(`${data.count} entities in Tübingen`); // Filter to restaurants only const restaurants = data.data.filter(e => e.cat === 'Food & Hospitality');
import requests data = requests.get('https://localinar.com/freiburg/api/elections.json').json() print(data['data']['freiburg']['parties']) # {'GRÜNE': {'pct': 48.7}, 'CDU': {'pct': 18.3}, ...}
Every city exposes the same endpoint structure under /[city]/api/[dataset].json.
| Endpoint | Description | Sample |
|---|---|---|
entities.json | Institutions, businesses, venues | Tübingen · Freiburg |
events.json | Annual events with dates & budgets | Tübingen · Freiburg |
elections.json | Landtagswahl 2026 results by district | Tübingen · Freiburg |
funding.json | Public money flows, sources, amounts | Tübingen · Freiburg |
rent.json | Average rent per district (€/m²) | Tübingen · Freiburg |
police.json | Recent police reports, geocoded | Tübingen · Freiburg |
insights.json | Gaps, outliers, patterns (manual) | Tübingen · Freiburg |
bicycle.json | Bicycle infrastructure (Tübingen only) | Tübingen |
housing.json | Building permits, housing projects | Tübingen |
network.json | Institutional networks (Tübingen only) | Tübingen |
people.json | Political actors & roles (Tübingen only) | Tübingen |
CORS: All endpoints send Access-Control-Allow-Origin: *. You can fetch directly from any browser without a proxy.
License: The data is aggregated from multiple sources with different licenses:
When using this data, please attribute: Data from localinar.com · OpenStreetMap contributors · Statistisches Landesamt BW
This is a raw data API. It does not currently support:
If you need any of these, tell us what you're building. The API will evolve based on real usage.