# Get user transactions

`GET https://api.cryptohopper.com/v1/user/transactions`

Part of [Users](https://www.cryptohopper.com/api-documentation/api-reference/users.md) in the Cryptohopper API reference.

Returns the user's credit transactions, newest first, at most 200. type is in for credits added and out for credits spent or withdrawn.

OAuth scope: `read`, `user`

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/user/transactions" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": [
        {
            "id": "391000",
            "user_id": "123456",
            "purchase_id": "466000",
            "purchase_type": "subscription",
            "type": "out",
            "credits": "29.00",
            "description": "",
            "transaction_date": "2026-09-01 10:15:00"
        }
    ]
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
