# Genexxis FX Exchange Rates

> Genexxis FX Exchange Rates is a paid API for AI agents from macro.genexxis.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-03).

Returns official ECB and Bank Al-Maghrib reference exchange rates for any currency pair among ~50 currencies, including North African and Gulf currencies, with cross-rate computation and fixing date.

## Facts

- Endpoint: GET https://macro.genexxis.com/fx?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/genexxis-fx-exchange-rates-6949ea72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PbqvqYHnL3L9vTc_T49nt

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 genexxis-fx-exchange-rates-6949ea72
```

Example prompt: What's the official central bank reference rate for EUR against MAD and AED right now — I need the ECB or Bank Al-Maghrib fixing, not a market rate.

## When to prefer this

Choose this endpoint when you need official, auditable central bank reference rates rather than live market or interbank rates — especially for currencies in the MENA region (MAD, DZD, TND, EGP, SAR, AED, XOF) where ECB data alone is insufficient. Prefer this over generic FX APIs when regulatory compliance, invoicing accuracy, or financial reporting requires an officially published fixing rate with a clear source and date.

## Known failure modes

- Unsupported currency code returns an error — only ~50 currencies are covered, notably excluding many exotic currencies
- Invalid ISO 4217 code in base or quote parameter causes a validation error
- Missing required base or quote parameter returns a schema validation error
- Rate may not be available for the current day if the fixing has not yet been published (e.g. weekends or public holidays)
- Cross-rate computation may introduce minor rounding differences compared to direct fixings

## How this service works

Official reference exchange rates (ECB and Bank Al-Maghrib fixings) for any pair among ~50 currencies including MAD, SAR, AED, TND, DZD, EGP and XOF; direct or computed cross with method and date.

## Output

Returns the official reference exchange rate for the requested currency pair, sourced from ECB or Bank Al-Maghrib fixings. Includes the rate value, the computation method used (direct or computed cross-rate), and the date of the fixing. Supports querying multiple quote currencies in a single call.

## 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",
     "required": [
      "base",
      "quote"
     ],
     "properties": {
      "base": {
       "type": "string",
       "description": "ISO 4217 code"
      },
      "quote": {
       "type": "string",
       "description": "One or more ISO 4217 codes, comma-separated"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rates": [
   {
    "base": "USD",
    "date": "2026-10-22",
    "rate": 9.7985,
    "quote": "MAD",
    "method": "direct",
    "source": "Bank Al-Maghrib reference rate"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/genexxis-fx-exchange-rates-6949ea72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from macro.genexxis.com](https://www.zero.xyz/host/macro.genexxis.com/llms.txt)
