# ReportBazaar Macro-Trade Report API

> ReportBazaar Macro-Trade 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 macroeconomic merchandise and services exports report covering 20 economies (2015–2025) with trend analysis, rankings, and volatility metrics, paid per-fetch in USDC via x402.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-trade?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-trade-report-api-728b15b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zLDBrlKGNWv5FhuNhiHhe

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-trade-report-api-728b15b1
```

Example prompt: Pull me the latest macro trade report covering exports of goods and services across 20 economies from 2015 to 2025 — give it to me in JSON format so I can work with the data programmatically.

## When to prefer this

Choose this endpoint when you need a ready-made, multi-economy exports report with derived analytics (rankings, trends, volatility) without managing API keys or subscriptions. Ideal for agents that can transact in USDC via x402 and need macroeconomic trade data in multiple formats (JSON, CSV, HTML) on demand. Prefer over raw World Bank API calls when you want pre-computed summaries and R²-backed trend analysis rather than raw time-series data.

## Known failure modes

- Payment not provided or rejected — returns HTTP 402 requiring USDC payment via x402 protocol
- Invalid format query parameter — request fails or defaults if enum value is unrecognized
- Upstream data unavailability — report may be stale or incomplete if World Bank source data is temporarily inaccessible
- Network timeout — slow connections may fail to retrieve the full report payload

## 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 on exports of goods and services (World Bank indicator NE.EXP.GNFS.CD) for 20 economies spanning 2015–2025. Includes key findings, a ranking table, each economy's share of group total, trend lines with R² values, volatility measures, a full year-by-year matrix, and a coverage/data-quality disclosure. Available in html, json, csv (long panel), or summary-csv (one row per economy with 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": [
   "NE.EXP.GNFS.CD"
  ],
  "contentType": "text/html",
  "description": "Merchandise and Services Exports Report",
  "freePreview": "/preview/macro-trade",
  "indicatorsLabel": [
   "Exports of goods and services (current US$)"
  ]
 }
}
```

## More

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