{"uid":"cap_bXlp29tKK5rSQGpUB4eqp","slug":"oecd-cpi-headline-national-inflation-data-93096ed6","name":"OECD CPI Headline National Inflation Data","description":"Headline national CPI, year-on-year growth rate (%), monthly, from the official OECD SDMX API (dataset DSD_PRICES@DF_PRICES_ALL). Complements Eurostat HICP with USA, GBR, JPN, CAN and other OECD economies under one methodology. Query: ?country=USA (REF_AREA code) &last_n=12 (1-24 months, default 1). Returns date-sorted observations plus the latest print; 24h cache. Recency varies by country; series older than 18 months are refused (502, not charged). Data: OECD, CC BY 4.0.","url":"https://x402-datashop-production.up.railway.app/v1/oecd/cpi","method":"GET","headers":{},"bodySchema":{"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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"last_n":{"type":"integer","default":1,"description":"Number of most recent months (1-24)"},"country":{"type":"string","default":"USA","description":"OECD REF_AREA code (USA, GBR, JPN, FRA...)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AFlcf7lEbjQsLygjremJc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves headline national Consumer Price Index (CPI) and year-on-year growth rate for OECD economies via the official OECD SDMX API","exampleAgentPrompt":"What is the headline CPI inflation rate for the USA right now, and can you also pull the last 12 months of monthly readings so I can see the trend?","exampleUseCases":null,"resultDescription":"Returns an array of date-sorted monthly CPI observations for the requested country, each with the observation date and year-on-year growth rate (%), plus the latest/most recent CPI print. Data is cached for 24 hours and sourced from the OECD SDMX API under CC BY 4.0.","failureModes":["502 error if the most recent data is older than 18 months (series too stale, call not charged)","Invalid or unsupported OECD REF_AREA country code returns an error","last_n outside the 1-24 range is rejected","OECD upstream API unavailable causes failure","Countries not covered by OECD methodology will not be found"],"whenToPreferThis":"Choose this endpoint when you need official OECD-methodology CPI data for non-EU economies like USA, GBR, JPN, CAN, or other OECD members — especially when you want consistent cross-country comparability under one methodology. Prefer over Eurostat HICP for non-EU country analysis or when OECD standardization is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:57:07.073Z","isFirstParty":false}