# DeepSearch Korean Stock Intelligence API — 3-Year Daily Price History

> DeepSearch Korean Stock Intelligence API — 3-Year Daily Price History 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-12).

Returns up to 3 years of daily closing price history (date, close, changePercent) for a given KRX or US-listed stock ticker, paid per-query with USDC on Base Mainnet.

## Facts

- Endpoint: GET https://x402.deepsearch.com/v1/context/stock/%7Bticker%7D/3y
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepsearch-korean-stock-intelligence-api-3-year-daily-price-history-cd47af0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pf1gLzZvRKXg-NZ6p-imt

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-3-year-daily-price-history-cd47af0d
```

Example prompt: Can you pull the 3-year daily closing price history for Samsung Electronics (KRX ticker 005930) from DeepSearch so I can see how the stock has trended?

## When to prefer this

Choose this endpoint when you need granular daily price history spanning up to 3 years for any of the 2,000+ KRX-listed stocks, and prefer a pay-per-query model (no subscription) using USDC on Base. Ideal for agents doing trend analysis, backtesting, or charting Korean equities without a recurring data feed commitment.

## Known failure modes

- Invalid or non-existent ticker returns an error or empty dataset
- Ticker format incorrect (must be 6-digit KRX code or valid US symbol) causes a 400-class error
- Payment failure or insufficient USDC balance on Base Mainnet causes a 402 Payment Required response
- Unsupported exchange code causes a lookup failure
- Rate limiting or network timeout returns a 5xx error

## 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 ticker symbol, a '3y' period label, the total count of trading day data points (up to ~780), and an array of daily records each with a date, closing price (in KRW), and percentage change from the prior close.

## 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": "6-digit KRX ticker or US symbol"
      },
      "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": {
  "count": 780,
  "period": "3y",
  "ticker": "005930",
  "dataPoints": [
   {
    "date": "2026-05-28",
    "close": 299500,
    "changePercent": -2.44
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepsearch-korean-stock-intelligence-api-3-year-daily-price-history-cd47af0d/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)
