SEC EDGAR API

SEC EDGAR filings data with full-text search, XBRL company facts, and filing details — flattened, enriched with filing type descriptions, and optimized for agent consumption.

GET /api/edgar/search 8 sats

Full-text search across SEC filings. Flattens nested EFTS response, adds human-readable filing type descriptions, and formats dates consistently.

ParameterTypeDescription
querystringSearch query (required)
dateRangestringDate range filter (e.g., "custom", "30d", "1y")
formstringFiling type filter (e.g., "10-K", "10-Q", "8-K")
# Direct call (no L402)
curl "https://agent-commerce.store/api/edgar/search?query=artificial+intelligence&form=10-K"

# Via L402 proxy (paid)
curl "https://api.lightningenable.com/l402/proxy/{proxyId}/search?query=artificial+intelligence&form=10-K"

Response includes formTypeDescription for each filing (e.g., "Annual report — comprehensive overview of financial performance") and direct filingUrl links.

GET /api/edgar/company/{cik} 10 sats

Get company XBRL facts and recent filings in a single call. Combines data from two SEC endpoints (company facts + EFTS search) and extracts key financial metrics.

ParameterTypeDescription
cikstringCentral Index Key (e.g., "320193" for Apple)
# Apple Inc. (CIK auto-padded to 10 digits)
curl "https://agent-commerce.store/api/edgar/company/320193"

# Microsoft Corp.
curl "https://agent-commerce.store/api/edgar/company/789019"

Response includes extracted keyFacts (Revenue, Net Income, EPS, etc.) with most recent values, plus recentFilings from the last 30 days.

GET /api/edgar/filing/{accessionNumber} 10 sats

Get filing details by accession number with parsed metadata and filing type description.

ParameterTypeDescription
accessionNumberstringSEC accession number (e.g., "0000320193-23-000106")
curl "https://agent-commerce.store/api/edgar/filing/0000320193-23-000106"
Usage tips: Use company names or ticker symbols for search. CIK is a numeric ID (e.g., 320193 for Apple, 789019 for Microsoft). Accession numbers use the format "0000320193-24-000123". The form parameter filters by filing type — common values are 10-K (annual), 10-Q (quarterly), and 8-K (current events).

Value-Add

Upstream Source

SEC EDGAR Full-Text Search (EFTS) and SEC EDGAR API — public domain, no API key required. Requires User-Agent header with contact information.