---
title: "Open data: a month's CSV or JSON dump (all.csv for every business across indexes, {slug}.csv and {slug}.json per index, index.json for the list); listed at /data"
method: GET
path: "/data/{month}/{file}"
---

# Open data: a month's CSV or JSON dump (all.csv for every business across indexes, {slug}.csv and {slug}.json per index, index.json for the list); listed at /data

`GET /data/{month}/{file}`

## Request

- Base URL: `https://directindex.org`
- URL: `https://directindex.org/data/{month}/{file}`
- Auth: one of:
  - none
  - HTTP bearer

## Path parameters

- `month` string, required
- `file` string, required

## Response `200`

The file, CORS open, cached a day (a past month a week)

## Other responses

- `404`: No such dump

---

[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)
