# DeepSearch Korean Stock Risk Intelligence API

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

Retrieves AI-generated risk assessment for a KRX-listed stock, including identified risks, severity levels, mitigating factors, and overall risk level based on news and disclosure data.

## Facts

- Endpoint: GET https://x402.deepsearch.com/v1/context/risk/%7Bticker%7D
- Price: $0.25/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-risk-intelligence-api-31c7cedb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l7Xtp0VCAHtvn1ThbRvZb

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-risk-intelligence-api-31c7cedb
```

Example prompt: Can you pull the risk assessment for Samsung Electronics (ticker 005930) on the KRX exchange — I want to see its overall risk level, what the main risks are, and any mitigating factors from DeepSearch?

## When to prefer this

Use this endpoint when you need a structured, AI-generated risk profile for a specific KRX-listed Korean stock, especially when you want news- and disclosure-backed risk categorization without building your own NLP pipeline. Prefer this over generic financial data APIs when the focus is specifically on risk factors and sentiment from Korean-language sources (뉴스 API, 공시 API). Best for investment due diligence, portfolio risk monitoring, or automated Korean equity screening.

## Known failure modes

- Invalid or unknown ticker code returns empty or error response
- Missing required ticker query parameter causes request failure
- Payment failure via x402/USDC blocks access to data
- Exchange code not recognized defaults to KRX or may error
- No recent news results in empty risks array and low overall risk level

## 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

Returns a JSON object with the stock ticker, company name, overall risk level (e.g. low/medium/high), an array of specific risks each with a title, category, and severity, a list of mitigating factors, total and negative article counts, and a timestamp of when the report was generated.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "ticker": "005930",
   "exchange": "KRX"
  }
 }
}
```

## 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": {
  "risks": [
   {
    "title": "Memory chip price cycle risk",
    "category": "market",
    "severity": "medium"
   }
  ],
  "ticker": "005930",
  "mitigants": [
   "Strong balance sheet",
   "Diversified product portfolio"
  ],
  "overallRiskLevel": "medium"
 }
}
```

## More

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