---
title: "A city index's map counts by grade and its neighbourhood table; the SVG is at /city/{slug}/map.svg"
method: GET
path: "/city/{slug}/map.json"
---

# A city index's map counts by grade and its neighbourhood table; the SVG is at /city/{slug}/map.svg

`GET /city/{slug}/map.json`

## Request

- Base URL: `https://directindex.org`
- URL: `https://directindex.org/city/{slug}/map.json`
- Auth: one of:
  - none
  - HTTP bearer

## Path parameters

- `slug` string, required

## Response `200`

Map data

## Other responses

- `404`: No such index

---

[API](https://skmtc.dev/directindex/apis/the-direct-index-api.md) · [All operations](https://skmtc.dev/directindex/apis/the-direct-index-api/llms.txt) · [OpenAPI document](https://skmtc.dev/directindex/apis/the-direct-index-api/revisions/c3390f276403?raw)
