{
  "id": "surf.market.etf",
  "object": "tool",
  "name": "ETF Flow History",
  "summary": "Returns daily spot ETF flow history.",
  "description": "Returns daily spot ETF flow history. Included fields: net flow (USD), token price, per-ticker breakdown. Sorted by date descending. symbol: BTC, ETH, XRP, SOL, or HYPE.\n\nRaw surf#market/etf endpoint: input is { body, queryParams, pathParams } as the provider documents them (https://docs.asksurf.ai/data-api/market/etf).",
  "category": "lookup",
  "hosted_by": "Surf",
  "runtime": "partner",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": null,
  "providers": [
    {
      "id": "surf",
      "name": "Surf",
      "price": null,
      "own_key_only": true
    }
  ],
  "mcp_name": "surf_market_etf",
  "input_schema": {
    "type": "object",
    "properties": {
      "queryParams": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "enum": [
              "BTC",
              "ETH",
              "XRP",
              "SOL",
              "HYPE"
            ],
            "description": "Token symbol. Can be BTC, ETH, XRP, SOL, or HYPE. Example: BTC."
          },
          "sort_by": {
            "default": "timestamp",
            "type": "string",
            "enum": [
              "flow_usd",
              "timestamp"
            ],
            "description": "Field to sort results by. Example: timestamp. Defaults to \"timestamp\"."
          },
          "order": {
            "default": "desc",
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "Sort order. Example: desc. Defaults to \"desc\"."
          },
          "from": {
            "type": "string",
            "minLength": 1,
            "description": "Start of time range. Accepts Unix seconds or date string (YYYY-MM-DD). Example: 2026-01-01."
          },
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "End of time range. Accepts Unix seconds or date string (YYYY-MM-DD). Example: 2026-03-01."
          }
        },
        "required": [
          "symbol"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "queryParams"
    ],
    "additionalProperties": false
  },
  "kind": "endpoint"
}