> ## 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.

# Crypto ETF Flows API

> Provides daily net capital flow figures for crypto exchange-traded funds along with a directory of individual fund issuers, fees and assets under management.

`POST /v1/data/crypto/etf-flows/run`

**Pricing:** $0.005 per ETF flow record ($5.00 per 1,000).

## Request

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

**asset** `string[]` *required*

One or more cryptocurrency ticker symbols to get ETF flow data for.

Allowed values: `BTC`, `ETH`, `SOL`, `XRP`, `HYPE`.

**startDate** `date`

Only return flow records on or after this date.

**endDate** `date`

Only return flow records on or before this date.

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

How many daily flow records to return in total. Defaults to 100; use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/crypto/etf-flows/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "asset": [
      "BTC",
      "ETH"
    ],
    "startDate": "2026-12-17",
    "endDate": "2026-12-21"
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/crypto/etf-flows/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "asset": [
        "BTC",
        "ETH"
    ],
    "startDate": "2026-12-17",
    "endDate": "2026-12-21"
}},
)
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/etf-flows/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "asset": [
    "BTC",
    "ETH"
  ],
  "startDate": "2026-12-17",
  "endDate": "2026-12-21"
} }),
});
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 ETF flow record, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `flowId` | Flow Id | text |
| `asset` | Asset | text |
| `date` | Date | date |
| `netFlowUsd` | Net Flow Usd | currency |
| `assetPriceUsd` | Asset Price Usd | currency |
| `settled` | Settled | boolean |
| `etfs` | Per Etf Flows | object\_array |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "crypto/etf-flows",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "etfs": [
        {
          "ticker": "IBIT",
          "flowUsd": -233700000
        },
        {
          "ticker": "FBTC",
          "flowUsd": -201000000
        }
      ],
      "asset": "BTC",
      "date": "2026-10-30",
      "settled": true,
      "assetPriceUsd": 77962.7,
      "netFlowUsd": -643200000,
      "flowId": "BTC:2026-10-30"
    }
  ]
}
```

## Related APIs

For token prices and market cap use [`coingecko/coins`](https://docs.mindcase.co/apis/coingecko/coins).


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