# ReportBazaar Macro GDP Report API

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

Fetches a multi-economy GDP comparison report (2015–2025, 20 economies) via pay-per-fetch USDC micropayment, returning key findings, rankings, trends, and year-by-year data.

## Facts

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

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-macro-gdp-report-api-bfbabd20
```

Example prompt: Pull me the latest GDP comparison report for major economies in JSON format — I need the rankings, trends, and year-by-year data from 2015 to 2025.

## When to prefer this

Choose this endpoint when you need a pre-packaged, analysis-ready GDP comparison report covering 20 major economies over a 10-year span, without managing API keys or account registration. It is ideal for agents that need to pay per use in USDC via x402, want multiple output formats (including tidy CSV panels), and require derived metrics like volatility and trend R² alongside raw data — rather than raw World Bank API access which requires parsing and computation yourself.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment
- Invalid format query parameter — returns validation error
- Service unavailable or upstream World Bank data issue — returns 5xx error
- Stale or cached data if World Bank source has not been refreshed recently

## How this service works

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

## Output

A structured report covering GDP (current US$) for 20 major economies from 2015–2025, including key findings, a ranking table, each economy's share of the group total, trend analysis with R² coefficient, volatility scores, a full year-by-year data matrix, and a coverage/data-quality disclosure. Available in HTML, JSON, CSV (long panel), or summary-CSV (one row per economy) 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": [
   "NY.GDP.MKTP.CD"
  ],
  "contentType": "text/html",
  "description": "GDP Comparison Report — Major Economies",
  "freePreview": "/preview/macro-gdp",
  "indicatorsLabel": [
   "GDP (current US$)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reportbazaar-macro-gdp-report-api-bfbabd20/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)
