Twinkle HubTwinkle Hub
登入

📌 2026-08-17 新增:⚖️ 台灣法條時光機 — 歷史法條原文 · 修法沿革 · 全文檢索 · 條文關聯圖(935 個 dataset · 35,454+ 筆 row)

查看完整 Changelog →

美股 SEC XBRL 財務數據 (全欄位)

us_get_sec_company_facts

台灣​專屬MIT

**關鍵字 / Keywords**: SEC EDGAR XBRL company facts financial statements revenue net income assets liabilities equity us-gaap dei taxonomy 財報 財務數據 財務報表 營收 淨利 資產 負債 股東權益

Scope: US public companies filing with the SEC (EDGAR).

All XBRL facts for one filer — the raw machine-parseable financial
statement data (revenue · net income · assets · liabilities ·
equity · cash flows · every reported us-gaap and dei concept).

Endpoint:
    https://data.sec.gov/api/xbrl/companyfacts/CIK{cik10}.json

Args:
    cik: CIK (zero-padded or not).

Returns dict with:
    entity_name: str
    taxonomies: {taxonomy → {tag_count, tags_sample: [first 25 tags]}}
    facts: {taxonomy → {tag → {label, description, units:
                               {unit → [{end, val, accn, fy, fp,
                                         form, filed, frame?}, ...]}}}}
Downstream agents pick the tag they want (e.g.
`facts["us-gaap"]["NetIncomeLoss"]["units"]["USD"]`) — no
server-side flattening. Large response (100 KB to a few MB for
mega-caps). License: US Public Domain. Rate-limited to 10 req/sec.

輸入 schema

{
  "properties": {
    "cik": {
      "title": "Cik",
      "type": "string"
    }
  },
  "required": [
    "cik"
  ],
  "title": "us_get_sec_company_factsArguments",
  "type": "object"
}

呼叫​方式

配置​好 Twinkle Hub 的 MCP client 後,​agent 會​看到 us_get_sec_company_facts。直接讓它呼叫​即可,​例如:

# Ask Claude / any MCP client:
請用 us_get_sec_company_facts 處理 "…"。

# It will call:
us_get_sec_company_facts(input="…")

尚未​設定 Client?

Claude Desktop 約 3 分鐘即可完成​設定 — 下載 .mcpb 檔案並雙擊​即可,或參閱​文件中的各 Client 安裝​步驟。

查看使用者設定​文件