# SEC EDGAR XBRL Financial Fundamentals Lookup

> SEC EDGAR XBRL Financial Fundamentals Lookup is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches historical XBRL financial concept values (e.g. Revenues, Assets, NetIncomeLoss) for a US public company from SEC EDGAR by CIK and XBRL tag.

## Facts

- Endpoint: GET https://data.greeneris.io/v1/us/sec-fundamentals
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sec-edgar-xbrl-financial-fundamentals-lookup-41753a66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2dHVSzKbGMYQ2p7n8u1Co

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-edgar-xbrl-financial-fundamentals-lookup-41753a66
```

Example prompt: Pull Apple's annual Revenues from SEC EDGAR — Apple's CIK is 320193, use the us-gaap taxonomy, and give me the 8 most recent fiscal year values.

## When to prefer this

Use this endpoint when you need official, authoritative XBRL financial data (revenues, assets, net income, etc.) for a US SEC-registered public company, sourced directly from SEC EDGAR. Prefer it over third-party financial data APIs when regulatory accuracy and public-domain provenance matter, or when you already have the company's CIK and a specific XBRL concept tag to query.

## Known failure modes

- Invalid or unknown CIK returns an empty or error response
- Unknown XBRL tag for the given taxonomy returns no data
- Limit out of range (must be 1-40) may cause validation error
- Company has not filed XBRL data for the requested concept — empty units array
- Payment not completed (HTTP 402 returned with machine-readable quote until x402 payment confirmed)
- Network timeout or SEC EDGAR upstream unavailability

## How this service works

As-filed XBRL fundamentals for any SEC-registered company, straight from the EDGAR companyconcept API (updated as filings are accepted). Query: ?cik=320193 (Apple) &tag=Revenues|Assets|NetIncomeLoss|EntityCommonStockSharesOutstanding... &taxonomy=us-gaap|dei (default us-gaap) &limit=N most recent facts per unit (1-40, default 8). Each fact carries period, value, fiscal year/period, form type and filing date, grouped by unit (USD, shares...). Served with a 12h cache.

## Output

Returns a JSON object with the company name, XBRL tag label, and an array of financial values per unit (e.g. USD) including the fiscal period, fiscal year, start/end dates, filing form type, filing date, and the reported numeric value. Source is attributed to SEC EDGAR XBRL public domain 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "cik",
      "tag"
     ],
     "properties": {
      "cik": {
       "type": "string",
       "description": "SEC Central Index Key, 1-10 digits (e.g. 320193 = Apple)"
      },
      "tag": {
       "type": "string",
       "description": "XBRL concept, e.g. Revenues, Assets, NetIncomeLoss"
      },
      "limit": {
       "type": "string",
       "default": "8",
       "description": "Most recent facts per unit (1-40)"
      },
      "taxonomy": {
       "enum": [
        "us-gaap",
        "dei"
       ],
       "type": "string",
       "default": "us-gaap"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cik": 320193,
  "tag": "Revenues",
  "label": "Revenues",
  "units": {
   "USD": [
    {
     "fp": "FY",
     "fy": 2018,
     "end": "2018-09-29",
     "form": "10-K",
     "filed": "2018-11-05",
     "start": "2017-10-01",
     "value": 265595000000
    }
   ]
  },
  "entity": "Apple Inc.",
  "source": "SEC EDGAR XBRL companyconcept API (US federal data, public domain)",
  "taxonomy": "us-gaap"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sec-edgar-xbrl-financial-fundamentals-lookup-41753a66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
