---
title: "A search's whole answer, past one page, as CSV (format=csv) or JSON: cases (the case search's parameters, such as q, firm, state, occupation, from, to, outcome), employers, law-firms or occupations (q). Needs the export scope; Plus exports up to 1,000 rows. Counted as one call."
method: GET
path: "/exports/{kind}"
---

# A search's whole answer, past one page, as CSV (format=csv) or JSON: cases (the case search's parameters, such as q, firm, state, occupation, from, to, outcome), employers, law-firms or occupations (q). Needs the export scope; Plus exports up to 1,000 rows. Counted as one call.

`GET /exports/{kind}`

## Request

- Base URL: `https://permtracker.app/v1`
- URL: `https://permtracker.app/v1/exports/{kind}`
- Auth: HTTP bearer

Needs a key with the export scope.

## Path parameters

- `kind` string, required

## Query parameters

- `q` string
- `format` string
- `limit` string

## Response `200`

The answer, with `meta.source`, `meta.asOf` and `meta.url` naming where it came from.

- object
  - `data` unknown
  - `meta` object

## Other responses

- `400`: The request isn't valid. Not counted.
- `401`: No key, or a key we don't recognise.
- `403`: The key lacks the scope, or the plan lacks the feature. Not counted.
- `404`: No such record. Counted.
- `429`: A minute, day or month limit. Retry-After says when it lifts.

---

[API](https://skmtc.dev/permtracker/apis/perm-tracker-api.md) · [All operations](https://skmtc.dev/permtracker/apis/perm-tracker-api/llms.txt) · [OpenAPI document](https://skmtc.dev/permtracker/apis/perm-tracker-api/revisions/9f3b735c0dca?raw)
