Compare inflation series API
Compare supplied CPI or inflation observations by country using the latest and previous points only.
The Compare inflation series operation is part of the Global Financial Markets & Macro Intelligence API on BRAINIAC.software. Compare supplied CPI or inflation observations by country using the latest and previous points only. It is exposed as POST /api/v1/macro-intelligence/inflation-series-compare and priced at $0.04 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied public economic series World Bank Open Data (no API key) when requested Limitations: No paid financial data provider is used and no API key is required. Missing consensus, FX, and debt values are not invented. Country risk labels summarize supplied indicators only and are not a credit rating. Event timelines do not claim causation. World Bank responses are used only when country and indicator codes are supplied. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Compare central bank rates, Analyze yield curves, Track economic indicator releases, Calculate macro surprises. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/macro-intelligence/inflation-series-compareExample request
curl -i -X POST "https://www.brainiac.software/api/v1/macro-intelligence/inflation-series-compare" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"series": [
{
"id": "CPI-US",
"name": "US CPI YoY",
"country": "US",
"kind": "inflation",
"unit": "%"
}
],
"observations": [
{
"seriesId": "CPI-US",
"country": "US",
"date": "2026-08",
"value": 2.9,
"unit": "%",
"source": "Caller-supplied BLS excerpt"
},
{
"seriesId": "CPI-US",
"country": "US",
"date": "2026-09",
"value": 3.1,
"unit": "%",
"source": "Caller-supplied BLS excerpt"
},
{
"seriesId": "CPI-EA",
"country": "EA",
"date": "2026-08",
"value": 2.1,
"unit": "%",
"source": "Caller-supplied Eurostat excerpt"
},
{
"seriesId": "CPI-EA",
"country": "EA",
"date": "2026-09",
"value": 2,
"unit": "%",
"source": "Caller-supplied Eurostat excerpt"
}
]
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Compare central bank rates — $0.04 USDC
- Analyze yield curves — $0.05 USDC
- Track economic indicator releases — $0.04 USDC
- Calculate macro surprises — $0.05 USDC
Related APIs
Global Financial Markets & Macro Intelligence APIFull docsHow it works