---
title: "Export a list as CSV"
method: GET
path: "/lists/{id}/export.csv"
tags: ["Lists"]
---

# Export a list as CSV

`GET /lists/{id}/export.csv`

## Request

- Base URL: `https://api.companystack.co.uk`
- URL: `https://api.companystack.co.uk/lists/{id}/export.csv`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`

One row per company (reference, tags, note, status, grade, deadlines, latest change, latest KYB). From the website this is metered against the web-app plan's monthly export rows. `companies=` exports a selection.

## Path parameters

- `id` integer, required

## Query parameters

- `companies` string

## Response `200`

CSV

## Other responses

- `401`: API key missing, malformed or revoked
- `403`: Plan limit or feature not included
- `429`: Per-minute or per-day limit reached (`code: rate_limited`, `window: minute|day`). Wait `Retry-After` seconds; when both windows are full the day is reported. A refused request does not count against either limit. A bulk lookup (`POST /company/bulk`) counts each company number in it as one request, so one that is more than you have left is refused whole, and the body adds `requested` and `fits`.

---

[API](https://skmtc.dev/companystack/apis/companystack-api.md) · [All operations](https://skmtc.dev/companystack/apis/companystack-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companystack/apis/companystack-api/revisions/8f3234237d2d?raw)
