# StableFinance Company Facts

> StableFinance Company Facts is a paid API for AI agents from stablefinance.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns company metadata including name, exchange, sector, industry, SIC code, and location for a given public company.

## Facts

- Endpoint: GET https://stablefinance.dev/api/company/facts
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablefinance-dev-c70295bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VLTtEW0s4au2U-hCDP66e

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 stablefinance-dev-c70295bd
```

Example prompt: Can you pull up the company facts for Apple — I want to know what sector and industry it's classified under, which exchange it's listed on, and its SIC code? Use the ticker AAPL.

## When to prefer this

Use this endpoint when you need foundational company classification metadata (sector, industry, SIC, exchange, location) for a public US company identified by ticker or CIK. Prefer this over financial statement endpoints when you only need descriptive/categorical company info rather than numerical financials.

## Known failure modes

- Missing ticker and CIK — returns error requiring at least one identifier
- Invalid or unknown ticker symbol — returns empty or 404-style response
- Company not found in SEC database — no company_facts returned
- Network or upstream SEC data unavailability — may return 5xx error
- Payment not processed (x402) — returns 402 Payment Required before serving data

## How this service works

Company metadata: name, exchange, sector, industry, SIC, location.

## Output

A JSON object containing company_facts with fields such as company name, stock exchange, sector, industry classification, SIC code, and geographic location for the queried company.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "ticker": "AAPL"
  }
 }
}
```

## 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",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "cik": {
       "type": "string",
       "minLength": 1
      },
      "ticker": {
       "type": "string",
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "company_facts"
     ],
     "properties": {
      "company_facts": {
       "type": "object",
       "description": "Company metadata: name, exchange, sector, industry, SIC, location.",
       "propertyNames": {
        "type": "string"
       },
       "additionalProperties": {}
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "company_facts": {
   "cik": "0000320193",
   "name": "Apple Inc",
   "sector": "Information Technology",
   "ticker": "AAPL",
   "category": "Common Stock",
   "exchange": "NASDAQ",
   "industry": "Technology Hardware, Storage & Peripherals",
   "location": "California; U.S.A",
   "sic_code": "3571.0",
   "is_active": true,
   "sic_sector": "Manufacturing",
   "sic_industry": "Electronic Computers",
   "sec_filings_url": "https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablefinance-dev-c70295bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablefinance.dev](https://www.zero.xyz/host/stablefinance.dev/llms.txt)
