# Macro Trade Openness Report API

> Macro Trade Openness 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).

Returns a macroeconomic report on trade openness (trade as % of GDP and merchandise trade as % of GDP) across 20 economies from 2015–2025, payable per-fetch in USDC via x402.

## Facts

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

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 macro-trade-openness-report-api-3910ad1c
```

Example prompt: Pull me the trade openness macroeconomic report in JSON format — I need the ranked table, trends, and volatility data for all 20 economies from 2015 to 2025.

## When to prefer this

Choose this endpoint when you need a pre-packaged, analyst-quality macroeconomic trade openness report across 20 economies spanning 2015–2025, with rankings, trends, and volatility already computed — rather than pulling raw World Bank indicator data yourself. Ideal for agents that need to deliver economic briefings, populate dashboards, or run trade analysis without building a data pipeline, and where pay-per-fetch with no account setup (via x402/USDC) is acceptable.

## Known failure modes

- Payment failure or insufficient USDC balance causes 402 response with no data returned
- Invalid format query parameter returns an error or unexpected content type
- Network timeout if the report backend is slow to generate
- Stale or incomplete data coverage for some economies noted in data-quality disclosure

## 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 containing: key findings, a ranked table of economies by trade openness, share of group total, trend analysis with R² coefficients, volatility metrics, a full year-by-year data matrix (2015–2025) for 20 economies, and coverage/data-quality disclosures. Indicators covered are Trade (% of GDP) and Merchandise trade (% of GDP). 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": 20,
  "indicators": [
   "NE.TRD.GNFS.ZS",
   "TG.VAL.TOTL.GD.ZS"
  ],
  "contentType": "text/html",
  "description": "Trade Openness Report",
  "freePreview": "/preview/macro-trade-openness",
  "indicatorsLabel": [
   "Trade (% of GDP)",
   "Merchandise trade (% of GDP)"
  ]
 }
}
```

## More

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