简体中文 | English
US Market Data for AI Coding Assistants
Options Greeks · 0DTE Flow · VIX Term Structure · SEC Filings & Insider Trades · Short Data · Fundamentals · Screener · Global Rates & FX · Taiwan · Energy
Architecture · Compliance · Quick Start · Endpoints · Data Sources · FAQ
> **Full-stack market data for US equities** — 16 layers · 50+ endpoints · 17 sources · zero-auth · only `requests`. > > **Official-source-first (V2.0):** CBOE options with full Greeks + **0DTE** flow, FINRA market-wide short volume, SEC EDGAR filing stream + a free market-wide screener, Treasury / CFTC / earnings calendar. **Every source is labeled with its compliance tier, terms quoted verbatim** — "official" does not mean "free to use". > > **New in V2.1:** a global rates & FX layer — policy rates for 38 central banks (BIS), ECB FX / key rates / euro-area yield curve, NY Fed SOFR / EFFR, Fed H.10 FX / H.6 money stock, and US Treasury auctions + federal debt, all tier S. Yahoo K-line now returns true full-history daily bars in exchange-local dates, builds weekly / monthly / quarterly bars from daily data, and works for Japan / Taiwan / Korea / India / Europe and more. > > **New in V2.2:** CBOE volatility indices (VIX since 1990) and the VIX term structure, FINRA short interest (twice a month, with days to cover), SEC Form 4 insider trades line by line and 13F institutional holdings, the Taiwan Stock Exchange / TPEx official open APIs (latest Taiwan quotes, P/E, monthly revenue; commercial use OK), and US EIA weekly crude oil / natural gas inventories plus spot prices (spot prices are tier B, see Compliance tiers). A single self-contained Skill file that turns raw US stock data — scattered across many sources — into a toolkit an AI coding assistant can call directly. You no longer memorize Eastmoney secid prefixes, Yahoo crumb auth flows, or SEC EDGAR CIK mappings. That's all handled. > *This project distributes **code, not market data**. Data is fetched by the user under each source's own terms. For commercial use, rely only on tier-S sources.* > Compatible with [Claude Code](https://github.com/anthropics/claude-code) · [Codex](https://github.com/openai/codex) · [OpenClaw](https://github.com/openclaw/openclaw). The Skill file is structured Markdown + embedded Python — any AI coding assistant with context injection can use it. --- ## Architecture ``` US Full-Stack Data · 16-layer architecture · V2.2 │ ├── Market Data Sina + Tencent + Eastmoney push2 Real-time quotes, 25-78 fields ├── K-line Sina(back to 1984) + Yahoo chart Daily / weekly / monthly / minute; JP/TW/KR/IN/EU via suffix ├── Technical Ind. MA/EMA + MACD + RSI + KDJ + Bollinger Pure Python, zero extra deps ├── Fundamentals Eastmoney + Yahoo + SEC XBRL Statements + key metrics + holdings ├── Fund Flow Eastmoney push2his Daily main/large/medium/small flow ├── Options Yahoo crumb Options chain (US only) ├── SEC Filing EDGAR submissions + XBRL 10-K/10-Q/8-K + 503 GAAP metrics (US) └── Tools Eastmoney + Yahoo + SEC CIK Search + market list + news + ticker↔CIK ━━━ New in V2.0 (official-source-first) ━━━ ├── Options·CBOE cdn.cboe.com official feed ⭐ full chain + IV + delta/gamma/vega/theta/rho + 0DTE + flow ├── Short Volume FINRA Reg SHO ⭐ market-wide daily short volume (12,112 symbols) + series ├── Filing Stream EDGAR daily index + FTS ⭐ Form 4 / 8-K / 13F same-day + full-text since 2001 ├── Market Screener EDGAR frames ⭐ any XBRL tag across the whole market (1,842~5,309 co.) — free └── Macro / Calendar Treasury + CFTC + Nasdaq ⭐ yield curve (1M~30Y) + COT + earnings calendar ━━━ New in V2.1 ━━━ └── Global Rates/FX BIS + ECB + NY Fed + Fed + Treasury ⭐ 38 central-bank policy rates + EUR/USD FX + SOFR/EFFR + euro curve + auctions ━━━ New in V2.2 ━━━ ├── Volatility CBOE index files ⭐ VIX since 1990 + VIX9D/3M/6M/1Y term structure + VVIX/SKEW/OVX/GVZ ├── Short Interest FINRA, twice a month ⭐ all US open short positions (22,595 symbols) + days to cover + rankings ├── Insiders / 13F SEC Form 4 + 13F ⭐ insider trades (price/shares/10b5-1 box on the filing) + quarterly institutional holdings ├── Taiwan TWSE + TPEx OpenAPI ⭐ latest quotes + P/E + monthly revenue + margin for all listed/OTC stocks (commercial OK) └── Energy US EIA ⭐ weekly crude/gas inventories + WTI (since 1986)/Brent/Henry Hub daily spot prices (tier B) ``` > Layer count: the original 8 layers + 5 in V2.0 (the CBOE options chain counts as its own layer) + 1 in V2.1 + 2 in V2.2 (Taiwan, energy). The V2.2 volatility indices, short interest and Form 4 / 13F parsers are new sections inside existing layers and are not counted as layers. --- ## Compliance tiers Source terms differ a lot. **"Official" does not mean "free to use".** These tiers come from reading each source's actual terms of service (2026-07-24; Yahoo / Nasdaq re-checked and 4 new official sources read on 2026-10-11; TWSE / TPEx and EIA read on 2026-10-12). Quotes are verbatim.| Tier | Commercial | Redistribute | Sources | Basis (quoted) |
|---|---|---|---|---|
| S | ✅ | ✅ | SEC EDGAR / Treasury / CFTC / Federal Reserve Board / NY Fed / BIS / ECB / EIA (inventories) / TWSE / TPEx | EDGAR: "Anyone can access and download this information for free", "We allow scripted access" — hard limit 10 req/s, User-Agent required. Fed Board: "public domain". NY Fed: "personal or business purposes", "through an automated process". BIS: "unrestricted". ECB: "reused free of charge". EIA's own data: "public domain". TWSE / TPEx: all 13 datasets we use are registered on Taiwan's government open data platform under the Open Government Data License, which allows use for any purpose, non-exclusive, irrevocable and royalty-free; both OpenAPI pages say they welcome integration, and the intellectual-property section of both sites' terms exempts data licensed to the open data platform, while asking that reproductions stay complete, with nothing arbitrarily added or removed (TPEx's OpenAPI page does not link the license and the platform lists web download URLs, so rating it S is this tool's judgment). BIS / ECB / Fed Board / TWSE / TPEx require attribution, ECB data must not be modified, and NY Fed reference rates need its notice when shown to others |
| B | ⚠️ verify first | ❌ | FINRA / EIA spot prices | FINRA files (daily short volume, short interest) are published for download, but terms prohibit "data mining, scraping or harvesting tools (including robots)" and state "non-commercial use". EIA's WTI / Brent / Henry Hub spot prices are sourced from "Refinitiv, an LSEG business"; reproducing third-party material beyond fair use needs the copyright owner's written permission (tier B is this tool's judgment) |
| C | ❌ needs permission | ❌ | CBOE / Eastmoney / Sina / Tencent | CBOE (options chains and volatility indices) requires "approval in advance" + "execution of a license agreement"; Eastmoney / Sina / Tencent are website front-end endpoints, personal research only |
| D | ❌ | ❌ | Yahoo / Nasdaq | Terms prohibit automated access without permission. Yahoo: "using any automated means… for any purpose without our express, prior permission". Nasdaq: "any process, whether automated or manual, to capture data… for any reason". Personal study and research only, at your own risk; no commercial use or redistribution |
| ⛔ Excluded | — | — | HKEX (CCASS) | Terms prohibit "any 'robot', 'bot', 'spider', 'scraper'..." and apply "whether or not for gain" → this tool ships no scraper for it |