{
  "name": "rules.city API",
  "version": "v1",
  "description": "Practical civic information for cities worldwide — fees, procedures, required documents, rules, and institutions, with sources cited. Free, read-only, CORS-enabled. All text is sanitised; local languages preserved.",
  "endpoints": {
    "city": {
      "url": "https://api.rules.city/v1/city/{slug}",
      "description": "City metadata + the topics that have data.",
      "example": "https://api.rules.city/v1/city/berlin"
    },
    "topic": {
      "url": "https://api.rules.city/v1/city/{slug}/{topic}",
      "description": "Structured data for one topic in a city (fees, procedures, documents, rules, institutions, sources, quick answers).",
      "example": "https://api.rules.city/v1/city/berlin/parking"
    }
  },
  "also": {
    "markdown_twin": "Append .md to any topic page, e.g. https://berlin.rules.city/parking.md",
    "llms_txt": "https://rules.city/llms.txt",
    "sitemaps": "https://rules.city/sitemap-index.xml"
  },
  "terms": "Read-only. Please cache and attribute rules.city. Sources are linked per record."
}