china_rmb_fixing
Pack: china-macro · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/china_rmb_fixing for the schema, then POST the same URL with its arguments for the data.
China’s RMB central parity (人民币汇率中间价), the daily USD/CNY fixing the PBOC publishes at 09:15 Beijing time, for a named date or the latest: USD/CNY by default, or any published pair (EUR/CNY, 100JPY/CNY, HKD/CNY, GBP/CNY and more, or all), with an optional history window. Answers “USD/CNY central parity today”, “what was the PBOC fixing on 2026-11-06”, “RMB midpoint history”. A weekend or holiday date returns found:false with reason no_fixing_for_date and the nearest earlier fixing. Keyless, sourced live from the China Foreign Exchange Trade System.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | string | no | Date as YYYY-MM-DD (Beijing). Omit for the latest published fixing. |
pair | string | no | Currency pair such as “USD/CNY” (default), “EUR/CNY”, “100JPY/CNY”, “CNY/KRW”, or “all” for every published pair. |
history_days | number | no | Also return the fixings for this many calendar days up to the date, 0-366 (default 0). |
Example call
Arguments
{
"date": "2026-11-06",
"pair": "USD/CNY"
}
curl
curl -X POST https://gateway.pipeworx.io/china-macro/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"china_rmb_fixing","arguments":{"date":"2026-11-06","pair":"USD/CNY"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('china_rmb_fixing', {
"date": "2026-11-06",
"pair": "USD/CNY"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
reason | string | null | |
message | string | null | |
hint | string | null | |
data_as_of | string | null | |
source | string | null | |
pair | string | |
date | string | |
rate | number | null | |
rates | object | |
history | array | |
nearest_earlier | unknown | nearest earlier fixing when the requested date had none |
quote_convention | string | |
is_weekend | boolean |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"message": {
"type": [
"string",
"null"
]
},
"hint": {
"type": [
"string",
"null"
]
},
"data_as_of": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"pair": {
"type": "string"
},
"date": {
"type": "string"
},
"rate": {
"type": [
"number",
"null"
]
},
"rates": {
"type": "object",
"additionalProperties": true
},
"history": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"nearest_earlier": {
"description": "nearest earlier fixing when the requested date had none"
},
"quote_convention": {
"type": "string"
},
"is_weekend": {
"type": "boolean"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the china-macro pack
{
"mcpServers": {
"china-macro": {
"url": "https://gateway.pipeworx.io/china-macro/mcp"
}
}
}
See Getting Started for client-specific install steps.