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

# Wallet Transfers API

> Returns on-chain token transfers for a wallet address, including the counterparty, token contract and timestamp.

`POST /v1/data/crypto/wallet-transfers/run`

**Pricing:** $0.005 per transfer ($5.00 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**address** `string[]` *required*

One or more wallet addresses to fetch token transfers for.

**chain** `string` (default: ethereum)

The blockchain network the wallet is on.

Allowed values: `ethereum` (Ethereum), `base` (Base), `solana` (Solana), `tron` (Tron), `bsc` (BSC).

**flow** `string`

Filter transfers by direction relative to the wallet.

Allowed values: `in` (Incoming), `out` (Outgoing).

**maxResults** `integer` (default: 20)

How many transfers to return in total. Defaults to 20; use 0 for all.

Max `100`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/crypto/wallet-transfers/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "address": [
      "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    ],
    "maxResults": 3
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/crypto/wallet-transfers/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "address": [
        "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    ],
    "maxResults": 3
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/crypto/wallet-transfers/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "address": [
    "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  ],
  "maxResults": 3
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one transfer, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `txHash` | Transaction Hash | text |
| `wallet` | Wallet | text |
| `timestamp` | Timestamp | datetime |
| `flow` | Flow | text |
| `tokenAddress` | Token Address | text |
| `amount` | Amount | text |
| `amountUsd` | Amount USD | currency |
| `fromAddress` | From Address | text |
| `toAddress` | To Address | text |
| `activityType` | Activity Type | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "crypto/wallet-transfers",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "tokenAddress": "0xf3ef9c801065fb47b97687efe81c8a4b2fef2c8b",
      "flow": "in",
      "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "activityType": null,
      "toAddress": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
      "txHash": "0x7826ff92f7dc9eb6f1524562a97ac6b72326397be36f4aa8e69ce9d6bbe6aff7",
      "fromAddress": "0xeeff562d9258fd03bb0d0a883f946206304dbed7",
      "timestamp": 1793919095,
      "amountUsd": null,
      "amount": "59155636491212.359227186"
    }
  ]
}
```

## Related APIs

To label the counterparties use [`crypto/wallets`](https://docs.mindcase.co/apis/crypto/wallets).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.