# DeepSearch Investment Risk Assessment API

> DeepSearch Investment Risk Assessment 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-10-10).

Returns AI-generated investment risk assessments for stocks based on 60 days of news and regulatory filings, including overall risk level, categorized risk factors, and mitigating signals.

## Facts

- Endpoint: GET https://x402.deepsearch.com/v1/context/risk/:ticker?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepsearch-investment-risk-assessment-api-3fd1ed0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2yJTH5io-WIRjkzqRIH0g

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-investment-risk-assessment-api-3fd1ed0b
```

Example prompt: Can you run a DeepSearch risk assessment on Samsung Electronics (ticker 005930 on KRX) and tell me the overall risk level, the main risk factors from recent news and filings, and any mitigating signals?

## When to prefer this

Use this endpoint when you need a quick, AI-synthesized risk snapshot for a specific stock based on recent news and regulatory filings — especially for KRX-listed Korean equities. Prefer this over raw news endpoints when you want a pre-analyzed risk categorization rather than raw articles. Choose this over financial history endpoints when the user's concern is current risk posture rather than historical performance.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty result
- Unsupported exchange code causes a lookup failure
- Insufficient recent news/filings data for the ticker may result in incomplete analysis
- Payment of $0.25 USDC not fulfilled results in 402 Payment Required response
- Rate limiting or quota exhaustion returns a 429 error

## How this service works

AI-generated investment risk assessment from 60 days of news and regulatory filings. Returns overall risk level (high/medium/low), categorized risk factors, and mitigating signals. Includes DeepSearch risk analysis.

## Output

Returns a structured risk assessment including an overall risk level (high/medium/low), categorized risk factors derived from 60 days of news and regulatory filings, mitigating signals, and a DeepSearch AI-generated narrative risk analysis for the queried stock.

## 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",
     "required": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string",
       "description": "Stock ticker code. e.g. 005930 (Samsung Electronics)"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "exchange": {
       "type": "string",
       "description": "Exchange code. Default: KRX"
      }
     }
    }
   },
   "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-investment-risk-assessment-api-3fd1ed0b/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)
