Skip to main content
GET
/
v0
/
transactions
List transactions
curl --request GET \
  --url https://api.example.com/v0/transactions
{
  "data": [
    {
      "id": "<string>",
      "account_id": "<string>",
      "amount": 123,
      "source": {
        "category": "<string>"
      },
      "counterparty": {
        "type": "<string>",
        "counterparty_id": "<string>",
        "counterparty_name": "<string>"
      },
      "occurred_at": "<string>"
    }
  ]
}
Returns the 50 most recent transactions for a specific bank account, ordered by most recent first. You must provide an account_id to specify which account’s transactions to retrieve.
Pagination and date filters will be introduced in a future version of the API.

Query parameters

account_id
string
required
The ID of the bank account to retrieve transactions for. You can find account IDs using the List accounts endpoint.

Response

data
Transaction[]

Example

Request

curl "https://api.getlemma.com/v0/transactions?account_id=d4f5a1b2-3c4d-4e5f-8a6b-7c8d9e0f1a2b" \
  -H "Authorization: Bearer lm_key_your_api_key"

Response

{
  "data": [
    {
      "id": "a1b2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "account_id": "d4f5a1b2-3c4d-4e5f-8a6b-7c8d9e0f1a2b",
      "amount": 325000,

      "source": {
        "category": "check_deposit"
      },
      "counterparty": {
        "type": "external",
        "counterparty_id": "f1a2b3c4-5d6e-4f7a-8b9c-0d1e2f3a4b5c",
        "counterparty_name": "Aetna Health Insurance"
      },
      "occurred_at": "2026-03-12T16:45:00Z"
    },
    {
      "id": "b2c3d4e5-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
      "account_id": "d4f5a1b2-3c4d-4e5f-8a6b-7c8d9e0f1a2b",
      "amount": -150000,

      "source": {
        "category": "wire_transfer"
      },
      "counterparty": {
        "type": "external",
        "counterparty_id": "a7b8c9d0-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
        "counterparty_name": "Medical Supply Co"
      },
      "occurred_at": "2026-03-11T10:20:00Z"
    },
    {
      "id": "c3d4e5f6-7a8b-4c9d-0e1f-2a3b4c5d6e7f",
      "account_id": "d4f5a1b2-3c4d-4e5f-8a6b-7c8d9e0f1a2b",
      "amount": 50000,

      "source": {
        "category": "internal_transfer"
      },
      "counterparty": {
        "type": "internal",
        "counterparty_id": "e5a6b7c8-9d0e-4f1a-8b2c-3d4e5f6a7b8c",
        "counterparty_name": "Collections Account"
      },
      "occurred_at": "2026-03-10T14:00:00Z"
    }
  ]
}
In this example, the first transaction is a $3,250.00 deposit from Aetna, the second is a $1,500.00 outbound wire, and the third is a $500.00 internal transfer.