# DeepSearch KRX ETF Context API

> DeepSearch KRX ETF Context API is a paid API for AI agents from x402.deepsearch.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Retrieves holdings and metadata for a KRX-listed ETF by its 6-digit symbol, paid per-query with USDC on Base Mainnet.

## Facts

- Endpoint: GET https://x402.deepsearch.com/v1/context/etf/%7Bsymbol%7D
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepsearch-krx-etf-context-api-8c3ff0f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ImnkvE-3JBb0vF70akk_t

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-krx-etf-context-api-8c3ff0f8
```

Example prompt: Can you pull up the holdings and issuer info for the KRX ETF with code 305720 — I want to see which stocks it holds?

## When to prefer this

Use this endpoint when you need structured ETF holdings and issuer metadata for a specific KRX-listed ETF identified by its 6-digit code, particularly in pay-as-you-go agent workflows without subscription overhead. Prefer it over general market data APIs when you need KRX-specific ETF composition data with no monthly commitment.

## Known failure modes

- Invalid or non-existent 6-digit KRX ETF code returns empty or error response
- Payment failure on Base Mainnet if USDC balance is insufficient or x402 wallet not configured
- ETF code for a regular stock (not ETF) may return no data
- Rate limiting or network timeout from the pay-per-query infrastructure
- Stale holdings data if ETF rebalancing has not yet propagated

## 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 ETF's Korean name, issuer (asset management company), ticker symbol, and a list of constituent holdings each with stock name and symbol.

## 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": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "6-digit KRX ETF code, e.g. 305720"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "KODEX 2차전지산업",
  "issuer": "삼성자산운용",
  "symbol": "305720",
  "holdings": [
   {
    "name": "에코프로",
    "symbol": "086520"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepsearch-krx-etf-context-api-8c3ff0f8/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)
