# USD to CNY Live Forex Converter

> USD to CNY Live Forex 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 specified USD amount to Chinese Yuan (CNY) at the current live exchange rate

## Facts

- Endpoint: GET https://api.x402node.dev/forex/convert/usd/cny/usd-cny
- 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/usd-to-cny-live-forex-converter-2ac59e37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tt1NIbB5_Bq1pEcWOJiN7

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 usd-to-cny-live-forex-converter-2ac59e37
```

Example prompt: How much is 250 US dollars in Chinese yuan right now — can you convert it at the live exchange rate?

## When to prefer this

Use this endpoint when you need to convert a specific USD amount to Chinese Yuan (CNY / renminbi) with a live rate and want the converted result directly. Prefer this over a plain rate-lookup endpoint when you need both the rate and the computed result in one call.

## Known failure modes

- Invalid or missing amount parameter returns an error
- Upstream forex data source unavailable causes rate fetch failure
- Non-numeric amount value may cause a 400 bad request
- Rate data may be slightly delayed depending on source freshness

## How this service works

Convert USD to CNY at live rate. Pass ?amount=100 for value in Chinese Yuan. 美元兑换人民币换算。米ドルを人民元に換算。Convertir dólar a yuan. 달러를 위안로 환전. usd to cny convert. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object with: 'from' (USD), 'to' (CNY), 'rate' (current live exchange rate), 'amount' (the input USD value), 'result' (the converted CNY amount), 'as_of' (timestamp of the rate), and 'source' (data provider).

## 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/usd-to-cny-live-forex-converter-2ac59e37/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)
