# TBS SEC Filings API – XBRL Financial Facts

> TBS SEC Filings API – XBRL Financial Facts is a paid API for AI agents from sec-x402.tbs-digital.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Fetches XBRL financial facts (revenue, net income, assets, EPS) from SEC EDGAR for a given company identified by ticker or CIK, returning structured financial data in a unified schema.

## Facts

- Endpoint: GET https://sec-x402.tbs-digital.com/sec/facts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tbs-sec-filings-api-xbrl-financial-facts-e26c1009
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q5nqpsfQwseeDbnHfUXNj

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 tbs-sec-filings-api-xbrl-financial-facts-e26c1009
```

Example prompt: Pull Apple's XBRL revenue facts from SEC EDGAR — the ticker is AAPL and I want the Revenues concept specifically.

## When to prefer this

Choose this endpoint when you need structured XBRL financial facts (revenue, net income, assets, EPS) for a specific public company identified by ticker or CIK, and want a unified schema with sub-cent per-call pricing payable in USDC via x402 on Base — without needing an API key or managing raw EDGAR API complexity.

## Known failure modes

- Invalid or unknown ticker returns no company match
- CIK not found in EDGAR returns empty or error response
- Unrecognized us-gaap concept filter returns empty facts array
- Payment not completed via x402/USDC results in 402 Payment Required response
- Rate limiting or EDGAR upstream downtime causes timeout or 5xx error

## How this service works

SEC EDGAR data for AI agents in one sub-cent call: resolve a ticker or company name to its CIK, list recent filings (10-K, 10-Q, 8-K) with direct document URLs, and pull XBRL financial facts (revenue, net income, assets, EPS). Keyless, unified schema, USDC-payable via x402 on Base.

## Output

Returns a JSON object containing the company's CIK and name, an array of XBRL financial fact records (each with concept label, value, unit, fiscal year, fiscal period, end date, and form type), a count of matching facts, the data source (sec-edgar), a request ID, and generation timestamp. Payment metadata (payer address and network) is also included.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "cik": {
       "type": "string",
       "description": "SEC CIK, e.g. 320193 (or use ticker)"
      },
      "ticker": {
       "type": "string",
       "description": "Stock ticker, e.g. AAPL (or use cik)"
      },
      "concept": {
       "type": "string",
       "description": "us-gaap concept filter, e.g. Revenues (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "facts": {
       "type": "array"
      },
      "payer": {
       "type": "object",
       "properties": {
        "address": {
         "type": "string",
         "nullable": true
        },
        "network": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "company": {
       "type": "object"
      },
      "request_id": {
       "type": "string"
      },
      "generated_at": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "facts": [
   {
    "fp": "FY",
    "fy": 2023,
    "end": "2023-09-30",
    "form": "10-K",
    "unit": "USD",
    "label": "Revenues",
    "value": 383285000000,
    "concept": "Revenues"
   }
  ],
  "payer": {
   "address": "0x0000000000000000000000000000000000000000",
   "network": "base"
  },
  "source": "sec-edgar",
  "company": {
   "cik": "0000320193",
   "name": "Apple Inc."
  },
  "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
  "generated_at": "2026-08-11T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tbs-sec-filings-api-xbrl-financial-facts-e26c1009/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sec-x402.tbs-digital.com](https://www.zero.xyz/host/sec-x402.tbs-digital.com/llms.txt)
