# SEC Fundamentals API — Industry Benchmark Aggregates by Metric

> SEC Fundamentals API — Industry Benchmark Aggregates by Metric is a paid API for AI agents from sec.multyplylabs.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns industry-level benchmark percentiles (median, cohort sizes, and breakdown by company size and SIC industry group) for a specified financial metric across US public companies.

## Facts

- Endpoint: GET https://sec.multyplylabs.com/aggregate/%7Bmetric%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sec-fundamentals-api-industry-benchmark-aggregates-by-metric-5b83a8cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7jbljZRwB3mIgLTF8B1XK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sec-fundamentals-api-industry-benchmark-aggregates-by-metric-5b83a8cd
```

Example prompt: What's the median gross margin for large US public companies in SIC industry group 73, based on SEC filings? Pull the industry benchmark aggregate for gross_margin.

## When to prefer this

Use this endpoint when you need industry-level aggregate benchmarks (median by size bucket and SIC group) for a specific financial metric across the entire US public company universe. Prefer this over the peer comparison endpoint when you want sector-wide statistics rather than a specific company's metrics vs. its peers, and over the stock screener when you want distribution statistics rather than a filtered list of companies.

## Known failure modes

- Invalid metric name returns an error or empty cohort array
- Unknown or unsupported SIC industry group yields no results
- Metric with sparse data may return cohorts with very low n values, reducing statistical reliability
- Network or payment authorization failure (x402) blocks the call
- Nightly refresh lag may mean very recent filings are not yet reflected

## How this service works

Pay-per-call API for normalized SEC EDGAR financial data: company financials, XBRL facts, filings, industry benchmarks, peer comparison and stock screening. USDC via x402 or API keys. 20,000+ US public companies, refreshed nightly.

## Output

A JSON object containing the metric name and an array of cohort objects, each with: the number of companies (n), the median value of the metric, a size bucket label (e.g. 'large'), and the SIC industry group code. Enables direct benchmarking of a company's financial ratio against its industry peers segmented by size.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "metric"
     ],
     "properties": {
      "metric": {
       "type": "string",
       "description": "e.g. gross_margin, operating_margin, rd_intensity, roe"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "metric": "gross_margin",
  "cohorts": [
   {
    "n": 214,
    "median": 0.67,
    "size_bucket": "large",
    "industry_group": "73"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sec-fundamentals-api-industry-benchmark-aggregates-by-metric-5b83a8cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sec.multyplylabs.com](https://www.zero.xyz/host/sec.multyplylabs.com/llms.txt)
