{"uid":"cap_Z0SMSmr6kgCV6p50CboDB","slug":"reportbazaar-government-net-lending-borrowing-macroeconomic-report-96d5351e","name":"ReportBazaar — Government Net Lending/Borrowing Macroeconomic Report","description":"Machine-to-machine macroeconomic report API. Pay per fetch in USDC over x402. No accounts, no API keys.","url":"https://reportbazaar.app.workbuddy.host/report/macro-net-lending?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","properties":{"format":{"enum":["html","json","csv","summary-csv"],"type":"string","description":"Delivery format. csv is a tidy long panel; summary-csv is one row per economy of derived metrics."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"years":"2015:2025","schema":"/schema/report.json","formats":["html","json","csv","summary-csv"],"contains":["key findings","ranking table","share of group total","trend with R²","volatility","full year-by-year matrix","coverage and data-quality disclosure"],"economies":20,"indicators":["GC.NLD.TOTL.GD.ZS"],"contentType":"text/html","description":"Government Net Lending Report","freePreview":"/preview/macro-net-lending","indicatorsLabel":["Net lending (+) / net borrowing (-) (% of GDP)"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","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.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EmvRTI2L100aCVBraIMMX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a multi-economy government net lending/borrowing report (% of GDP) covering 20 economies from 2015–2025, delivered via pay-per-call USDC over x402.","exampleAgentPrompt":"Pull me the government net lending and borrowing report across 20 economies in JSON format — I want the full year-by-year matrix, rankings, and trend data from 2015 to 2025.","exampleUseCases":[{"title":"Fiscal surplus country ranking","prompt":"Which economies are currently net lenders versus net borrowers as a share of GDP? Give me a ranked table with trend data for the last decade."},{"title":"CSV download for economic research","prompt":"Download the government net lending data as a tidy CSV panel so I can load it into my analysis — I need the year-by-year figures for all 20 economies."},{"title":"Fiscal volatility screening","prompt":"Get me the macro net lending report in JSON and highlight which economies show the highest volatility in their fiscal balance over 2015 to 2025."}],"resultDescription":"Returns a structured report covering 20 economies with government net lending/borrowing (% of GDP) data from 2015–2025. Includes key findings, a ranking table, share of group total, trend analysis with R², volatility metrics, a full year-by-year data matrix, and coverage/data-quality disclosure. Available in HTML, JSON, CSV (tidy long panel), or summary-CSV (one row per economy of derived metrics) formats.","failureModes":["402 Payment Required — x402 payment not included or malformed USDC payment","Invalid format query parameter — must be one of html, json, csv, summary-csv","Data unavailable for requested year range — World Bank indicator may have gaps for some economies","Network timeout — underlying data aggregation takes too long","503 Service Unavailable — backend report generation service is down"],"whenToPreferThis":"Choose this endpoint when you need pre-aggregated, multi-economy government fiscal balance data (net lending/borrowing as % of GDP) without requiring API key registration. Ideal for AI agents operating in accountless, pay-per-call workflows via x402/USDC. Prefer over raw World Bank API access when you want pre-computed rankings, trends, volatility, and key findings already synthesized into a single report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:46:56.911Z","isFirstParty":false,"canonicalSlug":"reportbazaar-government-net-lending-borrowing-macroeconomic-report-96d5351e"}