China CPI and PPI in one paid call, aligned as monthly JSON series
cn-data-x402.cn-data-x402-worker.workers.dev/cn/macro-prices
China CPI and PPI in one paid call, aligned as monthly JSON series: CPI national/city/rural year-on-year and month-on-month changes plus the same-month index, and PPI year-on-year change, same-month index and year-to-date index. Pass ?limit=1-60 months; default 12. Useful for macro briefs, inflation monitoring and automated research reports. 中文:中国 CPI 与 PPI 月度快照——同比、环比和价格指数。 No API key and no sign
GET
https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/macro-pricesUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/macro-prices?limit=12");
console.log(await res.json());Example input
{
"limit": 12
}