Twinkle HubTwinkle Hub

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

us_get_sec_company_facts

🇺🇸 미국읽기 전용

關鍵字 / 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.

파라미터

이름타입설명
cik *string
원본 JSON schema
{
  "properties": {
    "cik": {
      "title": "Cik",
      "type": "string"
    }
  },
  "required": [
    "cik"
  ],
  "title": "us_get_sec_company_factsArguments",
  "type": "object"
}

호출 방법

스타터 — 파라미터는 위 표 참조
us_get_sec_company_facts({ cik: "…" })