get_transactions
Get transaction history including card programme activity. Standard format returns JSON; tax_export returns a compact CSV with full unmasked addresses, token contracts, vault tokens, sender/recipient details, and tax labels (Koinly/CoinTracker/TaxBit compatible). Use year for annual tax exports (up to 250 per request). Filter by typeGroup, type, category, currency, dates, counterparty, amount, status, hasNote, hasCategory, hasReceipt, and card. For card queries, pass card (matches a card by its last 4 digits like "1234" or by a substring of the card alias like "subscriptions"), cardId if you already have the UUID, or typeGroup: "card" for activity across all cards. CARD_* rows include merchantName, MCC, country, and last4.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | Friendly card filter — accepts either a 4-digit string (matches Card.lastFourDigits, e.g. "1234") or any other string (case-insensitive substring match on the card alias, e.g. "subscriptions"). Multiple cards can match the same alias; all matching cards owned by the user are included. | |
| sort | No | Sort: newest/oldest by date, amount_desc/amount_asc by raw amount (default: newest) | |
| type | No | Exact TransactionType: TRANSFER, SWAP, DEPOSIT_YO, WITHDRAWAL, ON_RAMP, OFF_RAMP_BANK, etc. | |
| year | No | Tax year (e.g. 2025). Filters Jan 1 – Dec 31. Overrides startDate/endDate. | |
| limit | No | Max results (standard: default 5, max 10; tax_export: default 50, max 250) | |
| cardId | No | Card programme card UUID. Use this when you already have the id. For natural-language queries like 'my subscriptions card' or 'card ending in 1234', use the `card` parameter instead. | |
| format | No | "standard" (default): JSON with direction, amount, counterparty. "tax_export": compact CSV with sent/received amounts, token addresses, sender/recipient with full unmasked addresses, user address, and tax labels. Use with year param for annual exports. | |
| offset | No | Skip N transactions for pagination | |
| search | No | Free-text substring search across transaction notes, raw reference fields, and card-transaction merchant names (case-insensitive). Use this for natural-language queries like 'Lidl' or 'rent' that could appear in any user-visible description of a transaction. | |
| status | No | Status filter. Default hides PENDING/FAILED (returns COMPLETED + COMPLETED_DELAYED). Pass "all" to return every status. | |
| endDate | No | To date (ISO 8601, e.g. 2025-12-31) | |
| hasNote | No | Filter by note presence. false = missing notes (for bulk annotation). true = only annotated. | |
| category | No | Spending category: FRIENDS_FAMILY, GROCERIES, RESTAURANTS, SHOPPING, TRAVEL, SALARY, etc. | |
| currency | No | Currency filter | |
| direction | No | Direction relative to the user: incoming (you received), outgoing (you sent), or exchange (internal swap). | |
| maxAmount | No | Max amount in human units (e.g. 500 = $500) | |
| minAmount | No | Min amount in human units (e.g. 100 = $100) | |
| startDate | No | From date (ISO 8601, e.g. 2025-01-01) | |
| typeGroup | No | Group filter: transfer, exchange, deposit, withdrawal, earnings, topup, offramp, card, trade (crypto/stock buys and sells; rows carry a `trade` block with fills, fees and failure) | |
| hasReceipt | No | Filter by receipt presence. false = no receipt attached (e.g. to chase missing receipts). true = has a receipt. | |
| hasCategory | No | Filter by category presence. false = uncategorized transactions. true = only categorized. | |
| counterparty | No | @username, wallet address, wallet name, IBAN, external provider (e.g. 'Coinbase'), or card merchant name (matches CARD_PURCHASE / CARD_ATM_WITHDRAWAL / CARD_REFUND rows by their `merchantName`). Use this for 'who was this transaction with' queries; use `search` for free-text catch-all. | |
| transactionHash | No | Exact transaction hash (0x prefix optional, case-insensitive). Returns at most one transaction. |