# Chinese Stock Quote Lookup

> Chinese Stock Quote Lookup is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Fetches real-time price, change, P/E ratio, and market cap for a Chinese A-share stock by ticker code

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/cn-stock-quote?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chinese-stock-quote-lookup-927fa3f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nlbcTi5zvCvSQ_D1P4yyw

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 chinese-stock-quote-lookup-927fa3f7
```

Example prompt: What's the current stock price and P/E ratio for Kweichow Moutai — ticker sh600519 — on the Chinese market?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.002 USDC) real-time or near-real-time quote for a Chinese A-share stock by exchange ticker code (sh/sz prefix), with no API key or account setup required. Prefer it for lightweight agent workflows needing price, P/E, market cap, or intraday range for mainland Chinese equities paid via x402 micropayment on Base.

## Known failure modes

- Invalid or malformed ticker code returns an error or empty result
- Ticker code uses wrong exchange prefix (sh vs sz) causes lookup failure
- Market closed periods may return stale or last-close prices rather than real-time data
- Payment failure via x402 protocol blocks the request entirely
- Network timeout on duckdns dynamic DNS host if host is temporarily offline

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

A JSON object containing the stock's ticker code, company name, current price (CNY), open price, intraday high, intraday low, percent price change, P/E ratio, and total market cap in CNY.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "code": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pe": 20.54,
  "low": 1324.79,
  "code": "sh600519",
  "high": 1341.98,
  "name": "Kweichow Moutai",
  "open": 1325.4,
  "price": 1338,
  "change_pct": 0.22,
  "market_cap_cny": 1672609000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chinese-stock-quote-lookup-927fa3f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
