# DeepSearch Korean Stock Intelligence API

> DeepSearch Korean Stock Intelligence API is a paid API for AI agents from x402.deepsearch.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns up to 10 years of financials and 3 years of daily price history for a KRX-listed stock by ticker code

## Facts

- Endpoint: GET https://x402.deepsearch.com/v1/context/company/%7Bticker%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepsearch-korean-stock-intelligence-api-88110f1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QNKlcGBE0lGs-L8MyEpPy

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-korean-stock-intelligence-api-88110f1d
```

Example prompt: Pull up the financials and current price for Samsung Electronics (ticker 005930) on the KRX — I need PER, PBR, ROE, and market cap.

## When to prefer this

Use this endpoint when you need comprehensive Korean stock market data — financials and price history — for any of the 2,000+ KRX-listed companies, especially when you want pay-per-query access without a subscription commitment. Prefer this over general market data APIs when the focus is specifically on Korean equities with deep historical financial context.

## Known failure modes

- Invalid or unknown ticker code returns an error or empty result
- Payment not fulfilled results in HTTP 402 response blocking access
- Exchange code not supported returns an error
- Network timeout for slow upstream data fetch
- Ticker for a delisted company may return incomplete or no data

## How this service works

Up to 10 years of financials + 3 years of daily price history for all 2,000+ KRX stocks. Pay-per-query with USDC on Base Mainnet — no subscription.

## Output

A JSON object containing the company name, ticker, current price, market cap, and key valuation ratios (PER, PBR, ROE) sourced from up to 10 years of financial data and 3 years of daily price history for the requested KRX-listed stock.

## 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",
       "description": "Stock ticker code. e.g. 005930 (Samsung Electronics)"
      },
      "exchange": {
       "type": "string",
       "description": "Exchange code. Default: KRX"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pbr": 1.2,
  "per": 12.5,
  "roe": 10.1,
  "name": "Samsung Electronics",
  "price": 61800,
  "ticker": "005930",
  "marketCap": "400조원"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepsearch-korean-stock-intelligence-api-88110f1d/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)
