Skip to main content
Glama
VENTURE-AI-LABS

CryptoDataAPI MCP Server

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
NameRequiredDescriptionDefault
assetYesAsset for ETF flows: btc, eth, sol, or xrp

Implementation Reference

  • 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`);
    }
  • 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,

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VENTURE-AI-LABS/cryptodataapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server