EDGAR XBRL company-facts (all tags)

$0.005 per call · USDC via x402 · GET /api/edgar-company-facts

All XBRL concepts reported by a company. Send GET /api/edgar-company-facts with no required fields (4 optional) and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with cik, entityName, mode and taxonomies.

Default returns a compact summary per tag (label, unit, latest value, latest end date) - typically a few hundred KB. Pass tags=Revenues,Assets,NetIncomeLoss to get full time-series for just those concepts. Source: data.sec.gov/api/xbrl/companyfacts. ?ticker=AAPL

Category: Live public data · Tags: edgar sec xbrl financials fundamentals facts company

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
tickerstringnoUS stock ticker (alternative to cik)
cikstringnoSEC CIK number (alternative to ticker)
taxonomystringnoOptional taxonomy filter, e.g. "us-gaap" or "dei"
tagsstringnoOptional comma-separated tag list - when set, returns full time series for ONLY these tags (e.g. Revenues,Assets,NetIncomeLoss)

Example request

curl -i "https://agent402.tools/api/edgar-company-facts?ticker=AAPL"

Without payment this returns HTTP 402 Payment Required with the exact price for edgar-company-facts; any x402 v2 or MPP client pays it and retries.

Example response

{
  "cik": "0000320193",
  "entityName": "Apple Inc.",
  "mode": "summary",
  "taxonomies": {
    "us-gaap": {
      "count": 312,
      "sample": {
        "Revenues": {
          "label": "Revenues",
          "unit": "USD",
          "latestEnd": "2024-09-28",
          "latestVal": 391035000000,
          "observations": 48
        }
      }
    }
  }
}
FieldTypeAlways presentIn the example
cikstringyes0000320193
entityNamestringyesApple Inc.
modestringyessummary
taxonomiesobjectyes1 field: us-gaap

From an MCP client

catalog.call {
  "slug": "edgar-company-facts",
  "params": {
    "ticker": "AAPL"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for edgar-company-facts; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/edgar-company-facts?ticker=AAPL");

Part of these workflows

EDGAR XBRL company-facts (all tags) is one step in these 2 skill packs, each sold as a single call:

Related tools

EDGAR XBRL company-concept (one tag, full history)

$0.005 · GET /api/edgar-company-concept

Full reported history of a single XBRL concept for one company (e.g. quarterly Revenues for Apple). Each datapoint cites…

EDGAR XBRL frame (cross-company snapshot)

$0.005 · GET /api/edgar-xbrl-frame

All US public companies that reported a given XBRL tag for a given period, in one call. Killer endpoint for cross-sectio…

Company financials summary

$0.02 · GET /api/company-financials

Key financial metrics (Revenue, Net Income, Operating Income, Total Assets, Liabilities, Equity, EPS, Operating Cash Flo…

EDGAR company lookup (ticker → CIK)

$0.001 · GET /api/edgar-company-lookup

Resolve a US stock ticker (e.g. AAPL) to its SEC CIK number, the primitive every other EDGAR call needs. Returns ticker,…

EDGAR Form 13F data set head (one table, bounded)

$0.005 · GET /api/edgar-13f-dataset-head

A bounded head of ONE table in a Form 13F data set, read with two byte-range requests against sec.gov (the archive's cen…

EDGAR Form 13F data sets (index)

$0.003 · GET /api/edgar-13f-datasets

The SEC's bulk Form 13F Data Sets: every quarterly (2013Q2-2023Q4) and rolling three-month (2024-) archive the SEC publi…