SEC EDGAR Filings API

List a public company's SEC EDGAR filings - form type, filing date, accession number, and document links - by ticker, company name, or CIK, with optional form-type and date filters.

按用量計費;執行前先報價

公開 ID: data.sec.filings · 版本 1

定價

按用量計費;執行前先報價

已釋出的計價規則

費率和條件按已釋出規則展示,報價與最終費用由服務端計算。

{
  "charge_on": "success",
  "components": [
    {
      "id": "base",
      "metric": "call",
      "mode": "fixed",
      "per": "1",
      "unit_price": "0.0022"
    },
    {
      "id": "results",
      "limit_field": "limit",
      "max_quantity": "25",
      "metric": "result_count",
      "mode": "unit",
      "per": "1",
      "unit_price": "0.00044"
    }
  ],
  "currency": "USD",
  "schema_version": 2,
  "scope": "run"
}

快速開始

使用 API 金鑰探索此工具,再透過回傳的 provider 和 endpoint 檢查介面後執行。

將 GLOOP_API_BASE 設為 API 位址,GLOOP_API_KEY 設為伺服器端金鑰。

curl

curl --fail-with-body "${GLOOP_API_BASE%/}/v1/discover" \
  -H "Authorization: Bearer $GLOOP_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "limit": 5,
  "query": "SEC EDGAR Filings"
}'

Python

import os, json, urllib.request

url = os.environ['GLOOP_API_BASE'].rstrip('/') + "/v1/discover"
headers = {'Authorization': 'Bearer ' + os.environ['GLOOP_API_KEY']}
headers['Content-Type'] = 'application/json'
data = "{\n  \"limit\": 5,\n  \"query\": \"SEC EDGAR Filings\"\n}".encode('utf-8')
request = urllib.request.Request(url, data=data, headers=headers)
with urllib.request.urlopen(request) as response:
    print(json.load(response))

Node.js

const url = process.env.GLOOP_API_BASE.replace(/\/$/, '') + "/v1/discover";
const headers = { Authorization: `Bearer ${process.env.GLOOP_API_KEY}` };
headers['Content-Type'] = 'application/json';
const response = await fetch(url, { method: 'POST', headers, body: JSON.stringify({
  "limit": 5,
  "query": "SEC EDGAR Filings"
}) });
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
工具 API 文件 · POST /v1/inspect

輸入結構

{
  "additionalProperties": false,
  "properties": {
    "companyName": {
      "description": "Company name to search for (partial match supported, e.g. 'Tesla' or 'Berkshire'). Use this when you do not have the ticker symbol. If both ticker and companyName are given, ticker takes precedence.",
      "type": "string"
    },
    "dateFrom": {
      "description": "Only return filings filed on or after this date, in YYYY-MM-DD format (e.g. 2025-01-01).",
      "type": "string"
    },
    "dateTo": {
      "description": "Only return filings filed on or before this date, in YYYY-MM-DD format (e.g. 2026-06-01).",
      "type": "string"
    },
    "form": {
      "description": "Filter filings by SEC form type (e.g. 10-K, 10-Q, 8-K, 4, DEF 14A, S-1, 13F-HR); omit for all forms.",
      "type": "string"
    },
    "limit": {
      "description": "Maximum number of filings to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.",
      "maximum": 25,
      "minimum": 1,
      "type": "integer"
    },
    "ticker": {
      "description": "Company stock ticker symbol, e.g. AAPL, MSFT, or TSLA. Provide either ticker or companyName; ticker is the more precise lookup.",
      "type": "string"
    }
  },
  "required": [
    "ticker",
    "limit"
  ],
  "title": "SEC EDGAR filings input",
  "type": "object"
}

輸出結構

{
  "type": "object"
}

同類型工具