# getEtfSnapshot

**Identifier:** `defillama_getEtfSnapshot`

**Provider:** [DefiLlama](https://kirha.com/providers/defillama.md)

Get current crypto ETF data including Bitcoin and Ethereum spot ETFs with ticker, issuer, AUM, trading volume, fees, and net flows. Use this to track institutional crypto flows.

## Run it with the CLI

```bash
kirha tools run defillama_getEtfSnapshot \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "defillama_getEtfSnapshot",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "asset": {
      "description": "filter by underlying asset. If omitted, returns all ETFs.",
      "enum": [
        "bitcoin",
        "ethereum",
        "solana"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "etfs": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "asset": {
            "type": "string"
          },
          "aum": {
            "type": "number"
          },
          "custodian": {
            "type": "string"
          },
          "etfName": {
            "type": "string"
          },
          "fee": {
            "type": "number"
          },
          "flows": {
            "type": "number"
          },
          "issuer": {
            "type": "string"
          },
          "ticker": {
            "type": "string"
          },
          "volume": {
            "type": "number"
          }
        },
        "required": [
          "ticker",
          "asset",
          "issuer",
          "etfName",
          "custodian"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "etfs"
  ],
  "type": "object"
}
```

-----

[All DefiLlama tools](https://kirha.com/providers/defillama.md) · [< Back to tools list](https://kirha.com/tools.md)