DocsAPI v1Get API key

Client libraries

Client libraries

Official SDKs cover every /v1 endpoint, read the key from CRYPTOETF_API_KEY and raise a typed error with the HTTP status, the error code and Retry-After. Both have no dependencies. Source: zerosix-studio/cryptoetf-sdk.

TypeScript / JavaScript — Node 18+, Deno, Bun and browsers · cryptoetf on npm

Shell
npm i cryptoetf
JavaScript
import { CryptoETF } from "cryptoetf";

const etf = new CryptoETF(); // reads CRYPTOETF_API_KEY
const { days } = await etf.flows.asset("btc"); // oldest → newest

Python — 3.9+ · cryptoetf on PyPI

Shell
pip install cryptoetf
Python
from cryptoetf import CryptoETF

etf = CryptoETF()  # reads CRYPTOETF_API_KEY
print(etf.flows.asset("btc")["days"][-1])  # newest day