# BizCal FX – Foreign Exchange Rates API

> BizCal FX – Foreign Exchange Rates API is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-13).

Returns current or historical foreign exchange rates for one or more currency pairs, with optional amount conversion, via a pay-per-call x402 endpoint.

## Facts

- Endpoint: GET https://api.firstmention.uk/s/bizcal-api/fx?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bizcal-fx-foreign-exchange-rates-api-ee4f1ee7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_07_GtHGLsuhMzl51mSZCm

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 bizcal-fx-foreign-exchange-rates-api-ee4f1ee7
```

Example prompt: What's today's exchange rate from EUR to USD and GBP? Also, how much would 250 EUR convert to in both currencies?

## When to prefer this

Choose this endpoint when you need real-time or historical foreign exchange rates for one or more currency pairs, optionally with amount conversion, and you are operating in an x402/USDC micropayment environment. It supports both single-date and date-range (time series) queries. Prefer it over free public FX APIs when you need reliable pay-per-call access without API key management, or when integrating with other firstmention.uk services in the same agent workflow.

## Known failure modes

- Missing required 'base' or 'symbols' parameters returns an error
- Invalid currency code (not 3-letter ISO) may return an error or empty rates
- Date out of supported historical range returns no data or an error
- Providing 'start' without 'end' (or vice versa) may cause a malformed series response
- Payment failure (insufficient USDC balance) results in HTTP 402 and no data returned

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

A JSON object containing the base currency, the date of the rates, a 'kind' field (e.g. 'latest'), a 'rates' map of target currency codes to their exchange rates, a 'symbols' array, and optionally a 'converted' map showing the input amount converted into each target currency.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "base",
      "symbols"
     ],
     "properties": {
      "base": {
       "type": "string",
       "description": "Base currency, e.g. EUR"
      },
      "amount": {
       "type": "string",
       "description": "Amount to convert"
      },
      "symbols": {
       "type": "string",
       "description": "Comma-separated targets, e.g. USD,GBP"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string"
      },
      "date": {
       "type": "string"
      },
      "kind": {
       "type": "string"
      },
      "rates": {
       "type": "object",
       "properties": {
        "GBP": {
         "type": "number"
        },
        "USD": {
         "type": "number"
        }
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "EUR",
  "date": "2026-11-02",
  "kind": "latest",
  "rates": {
   "GBP": 0.8421,
   "USD": 1.0765
  },
  "symbols": [
   "USD",
   "GBP"
  ],
  "converted": {
   "GBP": 84.21,
   "USD": 107.65
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bizcal-fx-foreign-exchange-rates-api-ee4f1ee7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
