# AgentShop — Demographic Shift Macroeconomic Report

> AgentShop — Demographic Shift Macroeconomic Report is a paid API for AI agents from reportbazaar.app.workbuddy.host, paid per call via x402, $0.28/call, status unknown (last checked 2026-10-02).

Fetches a structured macroeconomic report on demographic age structure and population growth trends across 20 economies (2015–2025), paid per-call in USDC via x402.

## Facts

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

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-demographic-shift-macroeconomic-report-cdf25e9e
```

Example prompt: Pull me the demographic shift report in JSON format — I need age structure breakdowns and population growth trends across all 20 economies from 2015 to 2025, including rankings and trend R² values.

## When to prefer this

Choose this endpoint when you need a pre-computed, multi-indicator demographic report covering 20 economies with trend analysis, rankings, and volatility scores — without needing to build a pipeline from raw World Bank data. Ideal for agents that need a ready-to-use structured report rather than raw indicator lookups, and that can pay per-call in USDC via x402 without managing API keys or subscriptions.

## Known failure modes

- Payment not received or insufficient USDC — returns 402 Payment Required
- Invalid format query parameter value — returns 400 Bad Request
- Upstream World Bank data unavailable — may return 503 or degraded partial data
- Network timeout on large CSV responses

## 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 covering 20 economies from 2015–2025 with four World Bank demographic indicators: population ages 0–14 (% of total), 15–64 (% of total), 65+ (% of total), and annual population growth rate. Output includes key findings, a ranked table, group share calculations, trend lines with R² values, volatility scores, a full year-by-year data matrix, and a coverage/data-quality disclosure. 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": [
   "SP.POP.0014.TO.ZS",
   "SP.POP.1564.TO.ZS",
   "SP.POP.65UP.TO.ZS",
   "SP.POP.GROW"
  ],
  "contentType": "text/html",
  "description": "Demographic Shift Report — Age Structure and Growth",
  "freePreview": "/preview/theme-demographic-shift",
  "indicatorsLabel": [
   "Population ages 0-14 (% of total)",
   "Population ages 15-64 (% of total)",
   "Population ages 65 and above (% of total)",
   "Population growth (annual %)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshop-demographic-shift-macroeconomic-report-cdf25e9e/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)
