---
title: "Seed Demo Data"
method: POST
path: "/api/banking/seed-demo-data"
tags: ["Banking"]
---

# Seed Demo Data

`POST /api/banking/seed-demo-data`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/banking/seed-demo-data`
- Auth: HTTP bearer

Import Monzo CSV transactions as demo data for a user.

Creates a demo bank connection and account, parses the CSV,
and stores all transactions. If demo data already exists for
this user, it is cleared and re-seeded.

## Request body

- SeedRequest
  - `user_id` string, required

## Response `200`

Successful Response

- AppApiBankingSeedResponse
  - `total_transactions` integer, required
  - `date_range` object, required
  - `categories` string[], required
  - `total_spend` number, required
  - `total_income` number, required
  - `account_id` string, required
  - `connection_id` string, required
  - `recategorization` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
