# DeepSearch 5-Year Quarterly Financial History API

> DeepSearch 5-Year Quarterly Financial History API is a paid API for AI agents from x402.deepsearch.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Returns approximately 20 quarters (~5 years) of quarterly financial data for a given stock ticker, enabling medium-term trend analysis and multi-year profitability evaluation.

## Facts

- Endpoint: GET https://x402.deepsearch.com/v1/context/financials/:ticker/5y
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepsearch-5-year-quarterly-financial-history-api-4fcd4a42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DFEGICTXf9rzlpx3ny2P9

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 deepsearch-5-year-quarterly-financial-history-api-4fcd4a42
```

Example prompt: Can you pull the last 5 years of quarterly financial history for Samsung Electronics (ticker: 005930) on KRX so I can analyze its medium-term revenue and profitability trends?

## When to prefer this

Choose this endpoint when you need a balanced view of a company's financial history — roughly 5 years of quarterly data (~20 quarters) — for medium-term trend analysis, multi-year profitability evaluation, or comparing performance across business cycles. Prefer this over shorter-window endpoints when you need more than 1-2 years of context but don't need the full decade of history provided by 10-year endpoints.

## Known failure modes

- Invalid or unknown ticker symbol returns an error or empty result
- Missing required ticker query parameter returns a validation error
- Unsupported exchange identifier may return no data
- Network timeout or service unavailability returns a 5xx error
- Payment failure (insufficient USDC balance) results in a 402 Payment Required response

## How this service works

5-year quarterly financial history (~20 quarters). Use for medium-term trend analysis, multi-year profitability evaluation.

## Output

Returns approximately 20 quarters of quarterly financial data for the specified ticker, including metrics such as revenue, net income, operating profit, and other key financial statement line items useful for medium-term trend analysis and multi-year profitability evaluation.

## Example request

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

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string"
      },
      "exchange": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepsearch-5-year-quarterly-financial-history-api-4fcd4a42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.deepsearch.com](https://www.zero.xyz/host/x402.deepsearch.com/llms.txt)
