{"uid":"cap_Diy48O7_pkZsHnH8XaEUI","slug":"china-fx-rates-api-e6cc0b9f","name":"China FX Rates API","description":"China market data for AI agents, paid per call in USDC via x402 (HTTP 402). No signup, no API key. Endpoints cover RMB onshore and offshore FX with their spread, Chinese commodity futures main contracts, China equity indices, a Baidu real-time hot-search attention signal, and a one-call cross-asset snapshot. A free /v1/china/sample endpoint returns live samples of every dataset so a client can size the data before paying.","url":"https://china-market-data-api.vercel.app/v1/china/fx?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_na1v_MyLC0Y-g48ZtZcES","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time RMB onshore (CNY) and offshore (CNH) exchange rates along with their spread, paid per call via x402 micropayment","exampleAgentPrompt":"What are the current onshore CNY and offshore CNH rates against the US dollar, and how wide is the spread between them right now?","exampleUseCases":[{"title":"RMB arbitrage spread monitoring","prompt":"Check the live CNY and CNH rates against USD and tell me how wide the onshore/offshore spread is — I want to know if there's a meaningful arbitrage signal right now."},{"title":"China trade invoice FX pricing","prompt":"I need today's live USD to CNY onshore rate to price a cross-border invoice in renminbi — can you pull the current CNY rate?"},{"title":"Macro research RMB snapshot","prompt":"Pull the real-time CNY and CNH exchange rates and their spread for my China macro research note — I need the latest figures."}],"resultDescription":"Returns the current RMB onshore (CNY) and offshore (CNH) exchange rates against a reference currency (typically USD), along with the spread between the two rates and a timestamp indicating data freshness.","failureModes":["402 Payment Required if USDC payment via x402 is missing or insufficient","Rate data temporarily unavailable if upstream FX feed is delayed","Malformed response if the source data provider has an outage","Stale data if the FX feed has not refreshed recently","Network timeout on Vercel cold start"],"whenToPreferThis":"Choose this endpoint when you need real-time RMB onshore/offshore FX data with no signup or API key — just a USDC micropayment. Ideal for AI agents that need fresh CNY/CNH rates and spread on demand without managing credentials. Prefer over general FX APIs when CNY/CNH spread is specifically required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:37:03.418Z","isFirstParty":false,"canonicalSlug":"china-fx-rates-api-e6cc0b9f"}