---
title: "Export a series as CSV"
method: GET
path: "/api/v1/export.csv"
---

# Export a series as CSV

`GET /api/v1/export.csv`

## Request

- Base URL: `https://invokely.ai`
- URL: `https://invokely.ai/api/v1/export.csv`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
  - none

The series of get_series as CSV, one row per period with the source and retrieval date. Requires an API key on any plan, Free included.

## Query parameters

- `indicator` string, required
- `place` string, required
- `from` string
- `to` string
- `frequency` 'year' | 'half' | 'quarter' | 'month'
- `country` string
- `as_of` string

## Response `200`

CSV file.

## Other responses

- `400`: Invalid argument (INVALID_ARGUMENT).
- `401`: API key required (UNAUTHORIZED).
- `402`: Allowance used up (QUOTA_EXHAUSTED).
- `404`: Unknown indicator or place, or no data (INDICATOR_NOT_FOUND, PLACE_NOT_FOUND, AMBIGUOUS_PLACE, NO_DATA). hint and suggestions say what to try next.
- `429`: Rate limited (RATE_LIMITED). Retry after retry_after_seconds.

---

[API](https://skmtc.dev/invokely/apis/invokely-statistics-api.md) · [All operations](https://skmtc.dev/invokely/apis/invokely-statistics-api/llms.txt) · [OpenAPI document](https://skmtc.dev/invokely/apis/invokely-statistics-api/revisions/3b0f775bccb6?raw)
