---
title: "Export agent wallet transactions as CSV"
method: GET
path: "/v1/agent-wallets/expenses/transactions/export"
tags: ["Agent Wallets"]
---

# Export agent wallet transactions as CSV

`GET /v1/agent-wallets/expenses/transactions/export`

## Request

- Base URL: `https://api.prod.keyban.io`
- URL: `https://api.prod.keyban.io/v1/agent-wallets/expenses/transactions/export`
- Auth: one of:
  - API key in header `X-Api-Key`
  - `bearer` (a scheme the document does not define)

Canonical USDC transfers across an application's agent wallets within a required date range (inclusive days), honouring the agent/owner/destination filters. One row per transfer, plus an information row without amount for the Keyban welcome offer when it was granted in the range (no destination filter). Capped: a range matching more than 50,000 transfers is refused (narrow the range) rather than truncated.

## Query parameters

- `applicationId` string, uuid, required
- `agentId` string, uuid
- `ownerId` string, uuid
- `destination` string
- `from` string, date, required
- `to` string, date, required

## Response `200`

CSV file generated successfully

## Other responses

- `400`: Range too large, or from after to

---

[API](https://skmtc.dev/keyban/apis/keyban-rest-apis.md) · [All operations](https://skmtc.dev/keyban/apis/keyban-rest-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/keyban/apis/keyban-rest-apis/revisions/0bb79a1da961?raw)
