# GNI Per Capita Macroeconomic Report API (x402)

> GNI Per Capita 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).

Returns a multi-economy GNI per capita report (Atlas method, 2015–2025) in your choice of format, paid per fetch in USDC via x402 with no API keys required.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-gni-per-capita?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/gni-per-capita-macroeconomic-report-api-x402-419ea708
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FB7-a8xtPkjPpzsgMR6mU

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 gni-per-capita-macroeconomic-report-api-x402-419ea708
```

Example prompt: Pull me the GNI per capita macroeconomic report in JSON format — I want key findings, the economy rankings, and year-by-year data from 2015 to 2025.

## When to prefer this

Choose this endpoint when you need multi-economy GNI per capita data (2015–2025) with pre-computed analytics (rankings, trends, volatility) and want frictionless machine-to-machine access without account registration or API keys. It is especially suited for AI agents that can pay autonomously via x402/USDC and need the data in a specific format (HTML, JSON, or CSV) for downstream processing or reporting.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 with payment requirements
- Invalid format query parameter value — returns 400 bad request
- Network or host unavailability — returns 5xx or connection timeout
- Data not yet available for the most recent year — partial dataset returned with coverage disclosure

## 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 report covering 20 economies and the World Bank GNI per capita indicator (NY.GNP.PCAP.CD) from 2015–2025. Depending on the requested format, it includes key findings, an economy ranking table, group share percentages, trend lines with R² values, volatility measures, a full year-by-year data matrix, and a 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.GNP.PCAP.CD"
  ],
  "contentType": "text/html",
  "description": "GNI per Capita Report (Atlas Method)",
  "freePreview": "/preview/macro-gni-per-capita",
  "indicatorsLabel": [
   "GNI per capita, Atlas method (current US$)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gni-per-capita-macroeconomic-report-api-x402-419ea708/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)
