# Guides, Migrations & Data Playbooks

> Migration guides for yfinance, GOOGLEFINANCE(), Excel, and FMP—plus technical playbooks for SEC EDGAR XBRL, 13F/Form 4 filings, adjusted closes, ETF holdings, and MCP.

Canonical URL: https://quantset.dev/docs/guides
Full LLM API Contract: https://api.quantset.dev/llms-full.txt

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

Drop-in migration guides for teams moving off brittle scrapers, deprecated endpoints, or broken spreadsheet formulas—plus deep technical playbooks with copyable API examples.

          

## Start here

          
            [60-Second API Quickstart
              Copy examples for a multi-asset quote, daily bar, statement and CSV export using mw_demo.](/docs/quickstart)
          

          

## Research workflows

          
            [Choose a search strategyFind a listing, locate a filing, cite a passage or screen a market.](/docs/guides/search)
            [Read congressional disclosuresInterpret filing notices, trade dates and reported amount bands.](/docs/api/politician-trades)
            [Find SEC filingsFilter by issuer, form and filing date and identify amendments.](/docs/api/sec-filings)
          
          

## Integrations

          

[Browse all setup guides](/docs/integrations) for clients, agents, spreadsheets and event receivers.
          
            [AI Agents: Claude, ChatGPT, Codex, Cursor and More
              Connect nine clients to the MCP server with OAuth or a key, and check the connection with one question.](/docs/agents)
            [Spreadsheets: Google Sheets and Excel
              Pull any dataset into a sheet with one =IMPORTDATA() formula or Excel Power Query.](/docs/spreadsheets)
            [Global Markets: 66 Markets in Local Currency and USD
              Find a listing in London, Tokyo, Mumbai or Seoul, read prices in GBp, JPY or INR, convert to dollars, and pull non-US company financials.](/docs/global-markets)
            [Financial Data MCP Server for Claude & Cursor
              Connect Claude Desktop, Claude Code, Cursor, and Codex to provenance-stamped SEC filings, global prices, and stock screens in 30 seconds.](/docs/guides/financial-data-mcp-server)
          

          

## Data quality

          
            [How QuantSet Verifies Data
              The checks behind every response, with example requests: filings matched to accession, real quarters, split evidence, and null never 0.](/docs/data-quality)
            [Adjusted Close vs. Raw Close & Stock Splits
              Understand close, split_adj_close, and verified adj_close across forward/reverse splits, dividends, and SPX alpha backtests.](/docs/guides/adjusted-close-splits-api)
          

          

## Switch from

          
            [Yahoo Finance API & yfinance Alternative
              Replace brittle Python scrapers, 429 IP blocks, and 4-quarter statement caps with documented REST, Pandas/Polars DataFrames, and 64-year history.](/docs/switch/yfinance)
            [GOOGLEFINANCE() & Excel Stock Data Alternative
              Fix stuck Loading... and #N/A spreadsheet cells using deterministic =IMPORTDATA() CSV URLs and Excel Power Query.](/docs/switch/googlefinance)
            [Switch from Financial Modeling Prep (FMP)
              Keep your existing FMP /stable/ and legacy /v3/ code working by swapping only the base host and API key.](/docs/switch/fmp)
          

          

## Data playbooks

          
            [SEC EDGAR & XBRL API (10-K, 10-Q & CIK Lookup)
              Avoid XBRL tag drift and cumulative YTD 10-Q cash-flow traps; query normalized statements, segments, or raw XBRL facts by ticker or 10-digit CIK.](/docs/guides/sec-edgar-xbrl-api)
            [Form 13F Holdings, Form 4 Insiders & Share Float
              Track institutional ownership, open-market insider buys vs. RSU withholding, and diluted share-count buyback cannibals.](/docs/guides/13f-insider-float-api)
            [Analyst Price Targets, Upgrades & GAAP vs. Non-GAAP EPS
              Query forward revenue/EPS consensus, buy/hold/sell ratings, and earnings surprises without mixing GAAP and non-GAAP bases.](/docs/guides/analyst-estimates-upgrades-api)
            [ETF Holdings (Form N-PORT), Treasury Yields & Macroeconomics
              Pull 1,800+ ETF constituent weights, constant-maturity 1M–30Y Treasury curves, macroeconomic series, and global market hours under one key.](/docs/guides/etf-holdings-treasury-yield-api)
            [Google Sheets, Excel & Notion Stock Market Templates (=QUANTSET())
              Copy-paste the =QUANTSET() custom Google Sheets function, 4 ready-made =IMPORTDATA() financial models, Excel Power Query M scripts, and Notion AI MCP setup.](/docs/guides/google-sheets-excel-notion-stock-templates)

---

## QuantSet Ecosystem & Integrations (https://quantset.dev/integrations)

- **MCP Clients & 7 Skills:** `npx quantset init` & `npx skills add quantset/skills` (Claude, Claude Code, Cursor, ChatGPT, Codex, Hermes, OpenClaw, Block Goose, Cline, Docker MCP Toolkit — `https://api.quantset.dev/mcp`)
- **Python SDK & Agent Frameworks:** `pip install "quantset[pandas]"` · `from quantset.tools import build_agent_functions, langchain_tools, crewai_tools` (PydanticAI, LangGraph, LangChain, CrewAI, Agno, AutoGen, Google ADK, OpenAI Agents SDK)
- **TypeScript SDK & Vercel AI / Mastra:** `npm install quantset` · `import { createQuantsetTools } from "quantset/tools"` (Node 20+, Bun, Deno, Cloudflare Workers, Vercel Edge)
- **Spreadsheets & Workspaces:** Google Sheets (`=QUANTSET()` & `=IMPORTDATA()`), Microsoft Excel Power Query (`?format=csv`), Notion MCP & n8n/Make webhooks (`https://quantset.dev/docs/guides/google-sheets-excel-notion-stock-templates`)
- **Drop-In Migrations & Machine Payments:** FMP `/stable/*` & `/v3/*` adapter (`https://quantset.dev/docs/switch/fmp`), `yfinance` migration (`https://quantset.dev/docs/switch/yfinance`), autonomous signup (`https://api.quantset.dev/skill.md`), and `x402` Base USDC.
