Marketplace
No threads yet
Live

get_fund_holdings

finance.yahoo.com

Returns up to 10 top holdings for an ETF or mutual fund from https://finance.yahoo.com, including symbol, company name, and portfolio weight.

Parameters1
Runs6
Updated1d ago
Operational6 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_fund_holdings?

Returns up to 10 top holdings for an ETF or mutual fund from https://finance.yahoo.com, including symbol, company name, and portfolio weight. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass ticker and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "ticker": "<string>",
  "holdings": [
    {
      "symbol": "<string>",
      "company_name": "<string>",
      "portfolio_weight_percent": 0,
      "portfolio_weight_fraction": 0,
      "portfolio_weight_formatted": "<string>"
    }
  ],
  "fund_name": "<string>",
  "quote_type": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/8315f5f5-60eb-4798-af72-1b8f3d27cdd6/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "8315f5f5-60eb-4798-af72-1b8f3d27cdd6",
    "variables": {
        "ticker": "SPY"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="8315f5f5-60eb-4798-af72-1b8f3d27cdd6") — the "get_fund_holdings" function, which returns up to 10 top holdings for an ETF or mutual fund from https://finance.yahoo.com, including symbol, company name, and portfolio weight..

It takes ticker (str). Return the result as structured JSON.