# agentshop — Real GDP Macroeconomic Report API (x402)

> agentshop — Real GDP Macroeconomic Report API (x402) 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 real GDP report (constant 2015 USD, 2015–2025) with rankings, trends, volatility, and coverage metadata, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-real-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/agentshop-real-gdp-macroeconomic-report-api-x402-2697ae23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4UrOedm4b0NvGe-e38tpb

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-real-gdp-macroeconomic-report-api-x402-2697ae23
```

Example prompt: Pull me the real GDP report for 20 economies covering 2015 to 2025 in JSON format — I want rankings, trends, and volatility metrics included.

## When to prefer this

Choose this endpoint when you need ready-made, multi-economy real GDP panel data (2015–2025) with pre-computed analytics (rankings, trends, volatility) in a single fetch, without setting up accounts or API keys — especially in automated/agent pipelines that can handle x402 micropayments in USDC. Prefer it over raw World Bank API calls when you want derived metrics and formatted reports out of the box.

## Known failure modes

- 402 Payment Required if x402 USDC payment is not attached or insufficient
- Invalid format parameter returns an error (must be one of html/json/csv/summary-csv)
- Data may be unavailable or incomplete for certain economies due to World Bank coverage gaps
- Network or host unavailability returns a 5xx error
- Stale data if underlying World Bank source has not been refreshed

## 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 macroeconomic report covering 20 economies with real GDP (constant 2015 USD) data from 2015–2025, including key findings, an economy ranking table, share of group total, trend lines with R², volatility metrics, a full year-by-year matrix, and coverage/data-quality disclosure. Available as HTML, JSON, CSV (long panel), or summary-CSV (one row per economy).

## 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.KD"
  ],
  "contentType": "text/html",
  "description": "Real GDP Report (Constant Prices)",
  "freePreview": "/preview/macro-real-gdp",
  "indicatorsLabel": [
   "GDP (constant 2015 US$)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshop-real-gdp-macroeconomic-report-api-x402-2697ae23/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)
