# CNY to HKD Currency Converter

> CNY to HKD Currency Converter is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Converts a given amount of Chinese Yuan (CNY) to Hong Kong Dollar (HKD) using a live exchange rate

## Facts

- Endpoint: GET https://api.x402node.dev/forex/convert/cny/hkd/cny-hkd
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cny-to-hkd-currency-converter-1bdccaa3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C80YOn_4wB69L4_-MY5ty

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 cny-to-hkd-currency-converter-1bdccaa3
```

Example prompt: How much is 500 Chinese yuan worth in Hong Kong dollars right now?

## When to prefer this

Use this endpoint when you need a quick, live CNY-to-HKD conversion with a specific amount and want a structured JSON response including rate, result, and timestamp. Ideal for finance apps, travel tools, or any agent task involving RMB/HKD cross-border calculations in the Asia-Pacific region.

## Known failure modes

- Invalid or missing amount parameter returns an error
- Non-numeric amount value causes a bad request response
- Rate feed unavailability may return stale or error response
- Network timeout if upstream forex data provider is down

## How this service works

Convert CNY to HKD at live rate. Pass ?amount=100 for value in Hong Kong Dollar. 人民币兑换港币换算。人民元を香港ドルに換算。Convertir yuan a dólar de Hong Kong. 위안를 홍콩 달러로 환전. cny to hkd convert. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object with the source currency (from), target currency (to), the live exchange rate (rate), the as-of timestamp (as_of), the input amount (amount), the converted result in HKD (result), and the data source (source).

## 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",
     "required": [
      "amount"
     ],
     "properties": {
      "amount": {
       "type": "string",
       "description": "要换算的金额，如 ?amount=100"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cny-to-hkd-currency-converter-1bdccaa3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
