# agentshop — x402 Macroeconomic Imports Report API

> agentshop — x402 Macroeconomic Imports 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 comprehensive macroeconomic report on global imports of goods and services (2015–2025) across 20 economies, paid per call in USDC via x402.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-imports?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-x402-macroeconomic-imports-report-api-3abe0f36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dK_ucnHPS1xkwS98kQFre

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-imports-report-api-3abe0f36
```

Example prompt: Pull me the macroeconomic imports report covering 2015 to 2025 across 20 economies — give it to me as JSON so I can see the rankings, trends, and volatility figures.

## When to prefer this

Choose this endpoint when you need structured, analysis-ready macroeconomic import data for 20 major economies without setting up API keys or accounts — especially in autonomous agent workflows where pay-per-call USDC settlement via x402 is preferred. Ideal when you need derived metrics like R², volatility, and ranking tables out of the box rather than raw data you'd have to compute yourself.

## Known failure modes

- 402 Payment Required if USDC payment via x402 is not attached or fails
- Invalid format parameter returns an error (must be one of: html, json, csv, summary-csv)
- Network or upstream data source unavailability may return 5xx errors
- Empty or partial data if World Bank source data is incomplete for certain economies or years

## 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 covering imports of goods and services (World Bank indicator NE.IMP.GNFS.CD) for 20 economies from 2015–2025, including key findings, a ranking table, share of group total, trend lines with R², volatility metrics, 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": [
   "NE.IMP.GNFS.CD"
  ],
  "contentType": "text/html",
  "description": "Merchandise and Services Imports Report",
  "freePreview": "/preview/macro-imports",
  "indicatorsLabel": [
   "Imports of goods and services (current US$)"
  ]
 }
}
```

## More

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