# BRAINIAC Currency Purchasing Power Comparator

> BRAINIAC Currency Purchasing Power Comparator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-12).

Compares the real purchasing power of currencies across countries using caller-supplied or World Bank price index data, FX rates, debt, and macro indicators.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/macro-intelligence/currency-purchasing-power-compare?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-currency-purchasing-power-comparator-af03aba8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tYSz29PgHIIvtDU39QXSq

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 brainiac-currency-purchasing-power-comparator-af03aba8 -d '<json body>'
```

Example prompt: Compare the real purchasing power of USD versus GBP as of January 2026, using a US price index of 100 and a UK price index of 95 with an FX rate of 0.78 GBP per USD, and tell me which currency buys more in real terms.

## When to prefer this

Use this endpoint when you need a transparent, audit-friendly comparison of real currency purchasing power across countries using caller-supplied data or World Bank public data, without relying on paid financial data providers or account credentials. Prefer it over generic FX converters when you need inflation-adjusted real indices and ratio analysis across multiple country pairs in a single call.

## Known failure modes

- Missing FX rates or price indices for a country cause that item to be excluded from pair calculations
- Supplying malformed date strings in asOf fields may cause parsing errors
- Exceeding maxItems limits on rates, events, or debt arrays returns a validation error
- Ambiguous country codes may result in incorrect World Bank lookups
- If no data is supplied and World Bank data is unavailable, pairs cannot be computed

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a list of resolved items (each with country, currency, real index, price index, FX rate, and data sourcing flags) plus pair-wise purchasing power ratios, a comparison status, findings, limitations, and whether paid providers or API keys were used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "debt": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000000000,
      "minimum": 0
     },
     "coupon": {
      "type": "number",
      "maximum": 100,
      "minimum": 0
     },
     "source": {
      "type": "string",
      "maxLength": 160
     },
     "country": {
      "type": "string",
      "maxLength": 80
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     },
     "instrument": {
      "type": "string",
      "maxLength": 160
     },
     "maturityDate": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 500
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "rates": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "asOf": {
      "type": "string",
      "maxLength": 40
     },
     "bank": {
      "type": "string",
      "maxLength": 160
     },
     "rate": {
      "type": "number",
      "maximum": 100,
      "minimum": -100
     },
     "source": {
      "type": "string",
      "maxLength": 160
     },
     "country": {
      "type": "string",
      "maxLength": 80
     },
     "previousRate": {
      "type": "number",
      "maximum": 100,
      "minimum": -100
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "events": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "kind": {
      "type": "strin
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "P-1",
    "asOf": "2026-01-01",
    "source": "Caller-supplied price level",
    "country": "US",
    "currency": "USD",
    "fxPerUsd": 1,
    "realIndex": 100,
    "priceIndex": 100,
    "apiKeyRequired": false,
    "fxPerUsdSupplied": true,
    "paidProviderUsed": false,
    "realIndexSupplied": true,
    "priceIndexSupplied": true
   },
   {
    "id": "P-2",
    "asOf": "2026-01-01",
    "source": "Caller-supplied price level",
    "country": "GB",
    "currency": "GBP",
    "fxPerUsd": 0.78,
    "realIndex": 121.7949,
    "priceIndex": 95,
    "apiKeyRequired": false,
    "fxPerUsdSupplied": true,
    "paidProviderUsed": false,
    "realIndexSupplied": true,
    "priceIndexSupplied": true
   }
  ],
  "pairs": [
   {
    "ratio": 0.8211,
    "leftCountry": "US",
    "rightCountry": "GB",
    "leftRealIndex": 100,
    "ratioSupplied": true,
    "apiKeyRequired": false,
    "rightRealIndex": 121.7949,
    "paidProviderUsed": false
   }
  ],
  "status": "compared",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "pairCount": 1,
  "limitations": [
   "Observations, rates, yields, releases, debt, commodities, and events are copied only from labeled fields supplied by the caller, or from key-free public World Bank responses when requested.",
   "No paid financial data provider is used and no API key is required.",
   "Missing consensus, previous values, FX rates, and debt amounts are not invented.",
   "Country risk labels summarize supplied indicators only and are not a credit rating.",
   "Event impact timelines link supplied events to nearby observation dates; causation is not claimed."
  ],
  "publicSources": [],
  "apiKeyRequired": false,
  "ratingAssigned": false,
  "causationClaimed": false,
  "paidProviderUsed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-currency-purchasing-power-comparator-af03aba8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
