# Agentshop x402 Macroeconomic Yearbook 2020 Report API

> Agentshop x402 Macroeconomic Yearbook 2020 Report API is a paid API for AI agents from reportbazaar.app.workbuddy.host, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-02).

Fetches the 2020 World Economy Yearbook covering 20 economies and 5 macroeconomic indicators (2016–2020) in multiple formats, payable per-fetch in USDC via x402.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/yearbook-2020?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshop-x402-macroeconomic-yearbook-2020-report-api-938029e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zYv64JYnNhNXX_IBzJKzj

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-x402-macroeconomic-yearbook-2020-report-api-938029e9
```

Example prompt: Pull the 2020 World Economy Yearbook report in JSON format — I need GDP, GDP growth, inflation, unemployment, and population data for all 20 economies from 2016 to 2020, including rankings and trend stats.

## When to prefer this

Choose this endpoint when you need structured, multi-format macroeconomic panel data for 20 economies across 2016–2020 without requiring account registration or API keys. Ideal for AI agents that can handle x402 micropayments in USDC and need GDP, inflation, unemployment, or population data in machine-readable formats (JSON, CSV) for analysis, reporting, or pipeline ingestion. Prefer over general data APIs when frictionless pay-per-fetch access and pre-computed trend statistics (R², volatility) are needed.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 with payment requirements
- Invalid or unsupported format query parameter — may return 400 or default format
- Report endpoint unavailable or host unreachable — returns 503 or timeout
- x402 facilitator network issues causing payment verification failure
- Free preview endpoint (/preview/yearbook-2020) accessible without payment but returns limited data

## 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 macroeconomic report for the 2020 yearbook covering 20 economies and 5 indicators (GDP, GDP growth, inflation, unemployment, population) over 2016–2020. Output includes key findings, a ranking table, share-of-group totals, trend lines with R², volatility metrics, a full year-by-year data matrix, and coverage/data-quality disclosures. Available in html, json, csv (long panel), or summary-csv (one row per economy) 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": "2016:2020",
  "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",
   "NY.GDP.MKTP.KD.ZG",
   "FP.CPI.TOTL.ZG",
   "SL.UEM.TOTL.ZS",
   "SP.POP.TOTL"
  ],
  "contentType": "text/html",
  "description": "2020 Yearbook — World Economy, 2016-2020",
  "freePreview": "/preview/yearbook-2020",
  "indicatorsLabel": [
   "GDP (current US$)",
   "GDP growth (annual %)",
   "Inflation, consumer prices (annual %)",
   "Unemployment, total (% of labor force)",
   "Total population"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshop-x402-macroeconomic-yearbook-2020-report-api-938029e9/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)
