# agentshop — Macro-Fiscal Report API (x402)

> agentshop — Macro-Fiscal Report API (x402) is a paid API for AI agents from reportbazaar.app.workbuddy.host, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-02).

Fetches a machine-readable macroeconomic fiscal position report (tax revenue, government debt, education spending) for 10 economies over 2015–2025, paid per fetch in USDC via x402.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-fiscal?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshop-macro-fiscal-report-api-x402-1684db83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UfmY05H5rrSIpPA-A6hjY

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 agentshop-macro-fiscal-report-api-x402-1684db83
```

Example prompt: Can you pull the fiscal position report — tax revenue, government debt, and education spending across 10 economies from 2015 to 2025 — and give it to me as a JSON summary?

## When to prefer this

Choose this endpoint when you need a ready-made, multi-economy fiscal report with derived analytics (rankings, trends, volatility) rather than raw indicator values. It is ideal for agents that need structured macroeconomic fiscal data without managing API keys or subscriptions — paying only per fetch via x402/USDC. Prefer it over World Bank APIs when you need pre-aggregated, analyst-quality output with key findings already computed.

## Known failure modes

- Payment failure or insufficient USDC balance returns HTTP 402 with payment required details
- Invalid format parameter value returns an error (only html, json, csv, summary-csv are accepted)
- Network or host unavailability returns a 5xx error
- Data freshness lag: underlying World Bank indicators may not include the most recent year

## 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 fiscal position report covering 10 economies for 2015–2025 with indicators for tax revenue (% of GDP), central government debt (% of GDP), and government education expenditure (% of GDP). 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 disclosures. Available in html, json, csv, or summary-csv format.

## 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": 10,
  "indicators": [
   "GC.TAX.TOTL.GD.ZS",
   "GC.DOD.TOTL.GD.ZS",
   "SE.XPD.TOTL.GD.ZS"
  ],
  "contentType": "text/html",
  "description": "Fiscal Position Report — Tax, Debt and Education Spending",
  "freePreview": "/preview/macro-fiscal",
  "indicatorsLabel": [
   "Tax revenue (% of GDP)",
   "Central government debt, total (% of GDP)",
   "Government expenditure on education (% of GDP)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshop-macro-fiscal-report-api-x402-1684db83/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)
