# SEC Fundamentals API — Company Financials by CIK

> SEC Fundamentals API — Company Financials by CIK is a paid API for AI agents from sec.multyplylabs.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-13).

Returns normalized multi-year financial metrics (revenue, gross margin, etc.) for a US public company identified by SEC CIK number

## Facts

- Endpoint: GET https://sec.multyplylabs.com/company/%7Bcik%7D/financials?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sec-fundamentals-api-company-financials-by-cik-5c05ec58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZP23_CEDcXAqIHu7FJ5ht

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-company-financials-by-cik-5c05ec58
```

Example prompt: Pull Apple's normalized annual financials from SEC EDGAR — CIK is 320193 — and show me revenue and gross margin by year.

## When to prefer this

Choose this endpoint when you need normalized, multi-year annual financial metrics (revenue, gross margin) for a specific US public company and you already know or can resolve its SEC CIK number. It is ideal for investment research, financial modeling, and automated data pipelines that need clean, machine-readable financials without parsing raw SEC filings. Prefer this over direct EDGAR scraping when you need consistently structured data refreshed nightly across 20,000+ companies.

## Known failure modes

- Invalid or non-existent CIK returns 404 or empty result
- CIK for a private company (not an SEC registrant) returns no data
- Payment failure via x402 if insufficient USDC balance
- Rate limiting or throttling if too many calls in quick succession
- Missing XBRL data for older filings may result in incomplete year coverage

## 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 company's CIK and an array of annual financial records, each with fiscal year, revenue (in USD), and gross margin ratio. Data covers 20,000+ US public companies, refreshed nightly from SEC EDGAR XBRL filings.

## 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",
       "pattern": "^\\d+$",
       "description": "SEC CIK number as a string, e.g. '320193' for Apple. Resolve a ticker or company name to one with the free /company/lookup."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "fy_to": {
       "type": "integer",
       "description": "Latest fiscal year to return (inclusive)."
      },
      "fy_from": {
       "type": "integer",
       "description": "Earliest fiscal year to return (inclusive)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cik": 320193,
  "years": [
   {
    "revenue": 416161000000,
    "fiscal_year": 2025,
    "gross_margin": 0.469
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sec-fundamentals-api-company-financials-by-cik-5c05ec58/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)
