# CN Data – Chinese Public Fund Lookup

> CN Data – Chinese Public Fund Lookup is a paid API for AI agents from cn-data-x402.cn-data-x402-worker.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-16).

Returns structured JSON data for a Chinese public mutual fund (公募基金) by its 6-digit fund code, including NAV, returns, risk level, and historical net values.

## Facts

- Endpoint: GET https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/fund?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cn-data-chinese-public-fund-lookup-4c9b0d07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PzaIukBQO0L7dHdbCNfdw

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 cn-data-chinese-public-fund-lookup-4c9b0d07
```

Example prompt: Can you pull up the fund details for Chinese public fund code 000001 — I want the latest NAV, cumulative NAV, the 1-year and 3-year returns, and the last 10 historical NAV entries?

## When to prefer this

Choose this endpoint when you need structured, machine-readable data about Chinese public mutual funds (公募基金) including NAV history and multi-period returns, especially when Chinese-language sources publish only as web pages. It is ideal for agents operating without API keys and willing to pay per-call in USDC via x402. Prefer it over scraping Chinese financial portals directly, which are not machine-readable.

## Known failure modes

- Invalid or non-existent fund code returns an error or empty data
- Fund code not matching the 6-digit format may cause a bad request
- HTTP 402 returned on first call requiring USDC payment before data is served
- History parameter outside 0-60 range may be clamped or rejected
- Some funds may have incomplete historical data if the source lacks records

## How this service works

Chinese market and China-focused public data over the x402 protocol. No API key and no signup: call any endpoint, receive HTTP 402 with payment terms, pay the listed amount in USDC on Base and retry. Every response is JSON. Some Chinese-language sources are published only as web pages — these endpoints return them as clean, machine-readable JSON.

## Output

A JSON object with the fund's full name, type, scale, latest unit and cumulative NAV, daily change percentage, annualized and period returns (1m, 3m, 1y, 3y, YTD), risk level label and numeric level, fund management company, manager names, establishment date, data source attribution, and an array of up to 60 historical daily NAV records (date, unitNav, cumulativeNav, dailyChangePercent).

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "code": {
       "type": "string",
       "description": "6 位公募基金代码，如 000001"
      },
      "history": {
       "type": "integer",
       "description": "附带最近多少条历史净值 0-60，默认 20；传 0 不返回历史"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "code": "000001",
   "name": "华夏成长混合",
   "type": "混合型-偏股",
   "scale": "39.38亿",
   "latest": {
    "date": "2026-09-30",
    "unitNav": 1.222,
    "cumulativeNav": 3.795,
    "dailyChangePercent": -1.93
   },
   "source": "蛋卷基金（档案与区间收益）+ 天天基金（历史净值）",
   "company": "华夏基金管理有限公司",
   "history": [
    {
     "date": "2026-09-30",
     "unitNav": 1.222,
     "cumulativeNav": 3.795,
     "dailyChangePercent": -1.93
    }
   ],
   "returns": {
    "last1m": -8.19,
    "last1y": 8.43,
    "last3m": -25.35,
    "last3y": 40.45,
    "yearToDate": 12.83
   },
   "fullName": "华夏成长证券投资基金",
   "managers": "刘睿聪 郑晓辉",
   "riskLevel": {
    "label": "中高风险",
    "level": 4
   },
   "established": "2001-12-18"
  },
  "endpoint": "/cn/fund"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cn-data-chinese-public-fund-lookup-4c9b0d07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cn-data-x402.cn-data-x402-worker.workers.dev](https://www.zero.xyz/host/cn-data-x402.cn-data-x402-worker.workers.dev/llms.txt)
