---
title: "Export piggy banks from Firefly III"
method: GET
path: "/v1/data/export/piggy-banks"
tags: ["data"]
---

# Export piggy banks from Firefly III

`GET /v1/data/export/piggy-banks`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/data/export/piggy-banks`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://demo.firefly-iii.org/oauth/authorize`
    - Token URL: `https://demo.firefly-iii.org/oauth/token`
  - HTTP bearer

This endpoint allows you to export your piggy banks from Firefly III into a file. Currently supports CSV exports only.

## Query parameters

- `type` 'csv'

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

The exported transaction in a file.

## Other responses

- `400`: Bad request
- `401`: Unauthenticated
- `404`: Page not found
- `500`: Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-16.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-16/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-16/revisions/9935effbe852?raw)
