# SEC Fundamentals API — Peer Comparison & Industry Benchmarks

> SEC Fundamentals API — Peer Comparison & Industry Benchmarks 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 a company's key financial metrics alongside industry cohort percentiles (p10/p25/median/p75/p90) for peer comparison and benchmarking.

## Facts

- Endpoint: GET https://sec.multyplylabs.com/compare/%7Bcik%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-peer-comparison-industry-benchmarks-318db428
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_48PoJDBHDadwHQsdBmriF

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-peer-comparison-industry-benchmarks-318db428
```

Example prompt: How does Apple (CIK 320193) compare to its industry peers on gross margin — what percentile does it fall in, and what's the sector median?

## When to prefer this

Use this endpoint when you need to contextualize a single company's financial metrics relative to its industry peers using normalized SEC data. It is ideal for equity research, competitive analysis, and investment screening where percentile rankings within a sector cohort matter. Prefer this over raw filings endpoints when you need pre-computed benchmarks rather than raw financial statements.

## Known failure modes

- Invalid or unknown CIK returns a 404 or empty company object
- CIK provided as wrong type (non-string) may cause a validation error
- Company with insufficient XBRL filing history may return sparse or null metric values
- Rate limiting or payment failure (402) if USDC x402 payment is not properly attached
- Industry cohort percentiles unavailable for very small or niche sectors with few peers

## 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 target company's financial metrics (e.g. gross_margin) alongside an array of cohort percentile breakdowns (p10, p25, median, p75, p90) for each metric across the company's industry peer group, sourced from normalized SEC EDGAR XBRL data.

## 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": [
      "cik"
     ],
     "properties": {
      "cik": {
       "type": "string",
       "description": "SEC CIK number as string, e.g. '320193' for Apple"
      }
     }
    },
    "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": {
  "company": {
   "cik": 320193,
   "gross_margin": 0.469
  },
  "cohort_percentiles": [
   {
    "median": 0.55,
    "metric": "gross_margin"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sec-fundamentals-api-peer-comparison-industry-benchmarks-318db428/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)
