# SEC Financial Data by Ticker

> SEC Financial Data by Ticker is a paid API for AI agents from x402-agent-api-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-13).

Returns annual and quarterly SEC-reported financial data (revenue, net income, EPS, cash) for a given stock ticker symbol.

## Facts

- Endpoint: GET https://x402-agent-api-production.up.railway.app/sec/financials/%7Bticker%7D?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sec-financial-data-by-ticker-f4225640
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mSxOWPz-zYTJCRENy_xqJ

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-financial-data-by-ticker-f4225640
```

Example prompt: Pull the last 3 years of annual SEC financials for Microsoft — I want to see revenue, net income, EPS, and cash.

## When to prefer this

Use this endpoint when you need standardized, SEC-sourced financial fundamentals (revenue, net income, EPS, cash) for US-listed public companies, especially when you want pay-per-call pricing in USDC via x402 rather than a subscription. Prefer this over scraping or unstructured sources when you need reliable, structured annual or quarterly financials tied directly to regulatory filings.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty result
- Ticker exists but company has no SEC filings (e.g. foreign-only listed companies)
- Requested years or quarters exceed available historical data
- Payment failure via x402 protocol prevents data retrieval
- Rate limiting or server errors from the upstream Railway-hosted service

## How this service works

SEC and supplement safety data, pay per call in USDC via x402.

## Output

A JSON object containing the company name, ticker, and an array of annual financial periods, each with end date, fiscal period label, revenue, net income, diluted EPS, and cash — sourced from SEC EDGAR 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"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string",
       "description": "Stock ticker, e.g. MSFT"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "years": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1
      },
      "quarters": {
       "type": "integer",
       "maximum": 12,
       "minimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "annual": [
   {
    "end": "2025-06-30",
    "cash": 30242000000,
    "period": "CY2025",
    "revenue": 281724000000,
    "net_income": 101832000000,
    "eps_diluted": 13.64
   }
  ],
  "ticker": "MSFT",
  "company": "MICROSOFT CORP"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sec-financial-data-by-ticker-f4225640/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-api-production.up.railway.app](https://www.zero.xyz/host/x402-agent-api-production.up.railway.app/llms.txt)
