# ReportBazaar — Government Net Lending/Borrowing Macroeconomic Report

> ReportBazaar — Government Net Lending/Borrowing Macroeconomic Report is a paid API for AI agents from reportbazaar.app.workbuddy.host, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-29).

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.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-net-lending?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reportbazaar-government-net-lending-borrowing-macroeconomic-report-96d5351e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z0SMSmr6kgCV6p50CboDB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability reportbazaar-government-net-lending-borrowing-macroeconomic-report-96d5351e
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Machine-to-machine macroeconomic report API. Pay per fetch in USDC over x402. No accounts, no API keys.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reportbazaar-government-net-lending-borrowing-macroeconomic-report-96d5351e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from reportbazaar.app.workbuddy.host](https://www.zero.xyz/host/reportbazaar.app.workbuddy.host/llms.txt)
