get_etf_flows
Retrieve daily net inflow/outflow data for BTC, ETH, SOL, or XRP spot ETFs to monitor institutional demand and selling pressure across major ETF issuers.
Instructions
Get ETF flow data for BTC, ETH, SOL, or XRP spot ETFs. Shows daily net inflows/outflows across all major ETF issuers (BlackRock, Fidelity, Grayscale, etc.). Consistent positive flows signal institutional demand; negative flows signal institutional selling. BTC ETF flows have been a major market driver since January 2024.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset for ETF flows: btc, eth, sol, or xrp |
Implementation Reference
- src/tools/etf-flows.ts:18-20 (handler)The handler function that executes the request to retrieve ETF flow data for the specified asset.
export async function handler(args: z.infer<typeof schema>) { return apiGet(`/api/v1/market-intelligence/etf/${args.asset}/flows`); } - src/tools/etf-flows.ts:12-16 (schema)Input validation schema for the get_etf_flows tool, defining the required asset type.
export const schema = z.object({ asset: z .enum(["btc", "eth", "sol", "xrp"]) .describe("Asset for ETF flows: btc, eth, sol, or xrp"), }); - src/index.ts:27-45 (registration)Registration of the etfFlows tool into the main server tool list in src/index.ts.
import * as etfFlows from "./tools/etf-flows.js"; import * as options from "./tools/options.js"; // Prompts import * as marketBriefing from "./prompts/market-briefing.js"; const tools = [ daily, marketHealth, fearGreed, fundingRates, liquidations, openInterest, btcCycle, coinProfile, searchCoins, macro, stablecoinFlows, etfFlows,