> ## Documentation Index
> Fetch the complete documentation index at: https://moneykit.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Transactions

> Fetches transactions for a user. This endpoint fetches all transactions for a user across all of their links.  You can use it to retrieve transactions from any or all accounts at once, regardless of which institution they belong to.

<div className="tailwind hidden">
  ```
  curl --request GET \
    --url 'http://localhost:8080/users/{id}/transactions?transaction_type=credit&transaction_type=debit&category=category.name&account_id=123&institution_id=123&page=1&size=50&start_date=2023-11-11&end_date=2023-11-11'
  ```

  ```
  {
    "total": 82,
    "page": 1,
    "size": 50,
    "transactions": [
      {
        "transaction_id": "c7318ff7-257c-490e-8242-03a815b223b7",
        "account_id": "a3ba443a-257c-490e-8242-03a84789d39f",
        "amount": 384.05,
        "type": "debit",
        "currency": "USD",
        "date": "2023-02-16T00:00:00",
        "datetime": "2023-02-16T09:14:11",
        "description": "Regina's Mulberry",
        "raw_description": "Regina's Mulberry #1402 T48999-84",
        "pending": true,
        "category": "food_and_drinks.restaurants"
      }
    ],
    "accounts": {
      "account_id1": {
        "name": "Premier Checking",
        "last_synced_at": "2023-02-16T09:14:11",
        "institution_id": "string",
        "link_id": "string"
      },
      "account_id2": {
        "name": "Premier Checking",
        "last_synced_at": "2023-02-16T09:14:11",
        "institution_id": "string",
        "link_id": "string"
      }
    }
  }
  ```
</div>
