{"uid":"cap_qmo9kuMwEpF8kYRJoxu8e","slug":"boj-macro-snapshot-api-x402-f9c55a49","name":"BOJ Macro Snapshot API (x402)","description":"Learning-only BOJ-themed macro snapshot API for x402 v2 Base mainnet verification.","url":"https://x402-boj-macro-snapshot.vercel.app/api/boj/macro-snapshot?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["service","asOf","source","data","freshness"],"properties":{"asOf":{"type":"string"},"data":{"type":"object","required":["policyRatePercent","monetaryBaseTrillionYen","currentAccountBalanceTrillionYen","cpiYearOverYearPercent","observations"],"properties":{"observations":{"type":"array","items":{"type":"object","required":["label","value","unit"],"properties":{"unit":{"type":"string"},"label":{"type":"string"},"value":{"type":"number"}},"additionalProperties":false}},"policyRatePercent":{"type":"number"},"cpiYearOverYearPercent":{"type":"number"},"monetaryBaseTrillionYen":{"type":"number"},"currentAccountBalanceTrillionYen":{"type":"number"}},"additionalProperties":false},"source":{"type":"object","required":["name","url","note"],"properties":{"url":{"type":"string"},"name":{"type":"string"},"note":{"type":"string"}},"additionalProperties":false},"service":{"type":"string"},"freshness":{"type":"object","required":["fetchedAt","stale"],"properties":{"stale":{"type":"boolean"},"fetchedAt":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gF8AnKwkUrfP5E2mOzhAX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a real-time snapshot of Bank of Japan macroeconomic indicators including policy rate, monetary base, CPI, and current account balance, gated behind x402 micropayment on Base mainnet.","exampleAgentPrompt":"Can you pull the latest Bank of Japan macro snapshot for me — I need the current policy rate, monetary base, CPI year-over-year, and current account balance?","exampleUseCases":[{"title":"Japan inflation research dashboard","prompt":"Fetch the latest BOJ macro snapshot — I need the current CPI year-over-year and policy rate figures for my Japan inflation research."},{"title":"Monetary policy comparison analysis","prompt":"Get me the Bank of Japan's current monetary base and policy rate so I can compare them against the Fed's figures for a G7 central bank analysis."},{"title":"Automated macro monitoring bot","prompt":"Pull the BOJ macro snapshot and tell me if the data is stale or fresh, and what the current account balance and monetary base are in trillion yen."}],"resultDescription":"A JSON object containing: service name, asOf timestamp, source attribution (name, URL, note), freshness metadata (fetchedAt, stale boolean), and a data object with policyRatePercent, monetaryBaseTrillionYen, currentAccountBalanceTrillionYen, cpiYearOverYearPercent, and an observations array of labeled metric objects (label, value, unit).","failureModes":["Payment not processed — x402 payment header missing or rejected, returns 402 Payment Required","Stale data — freshness.stale returns true if the upstream BOJ data feed has not been refreshed recently","Upstream BOJ source unavailable — service may return an error or cached stale snapshot","Network timeout — Vercel serverless cold start may cause occasional latency spikes"],"whenToPreferThis":"Choose this endpoint when you need a quick, structured BOJ macroeconomic snapshot without building your own scraper against the Bank of Japan's website. It is ideal for agents that need Japan monetary policy data on-demand with micropayment access via x402 on Base mainnet. Best suited for lightweight reads where a single consolidated payload of key indicators (rate, monetary base, CPI, current account) suffices, rather than deep historical time-series queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:58:44.152Z","isFirstParty":false,"canonicalSlug":"boj-macro-snapshot-api-x402-f9c55a49"}