# BizCal API - Currency Compare

> BizCal API - Currency Compare 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-20).

Converts an amount from a base currency into one or more target currencies using European Central Bank reference rates

## Facts

- Endpoint: GET https://api.firstmention.uk/s/bizcal-api/compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bizcal-api-currency-compare-af0cb481
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KEwnF7zrx6ZjEEtIsI8n1

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-api-currency-compare-af0cb481
```

Example prompt: Can you convert 100 euros to USD and GBP using the latest ECB exchange rates?

## When to prefer this

Use this endpoint when you need reliable, authoritative ECB reference rates for EUR-based currency conversions, especially when targeting USD and GBP. It is ideal for financial calculations, invoice generation, or multi-currency display where ECB sourcing is acceptable. Prefer this over general FX APIs when you need a pay-per-call model with no subscription, or when operating in an x402/USDC micropayment environment.

## Known failure modes

- Unsupported currency symbol returns an error or omits the symbol from the response
- Missing required query params (base, symbols) may return a 400 or empty rates object
- ECB rates are only updated on business days — weekends/holidays return the most recent available rate
- Network or upstream ECB data unavailability may result in a 503 or timeout
- Payment failure via x402 (insufficient USDC balance) results in a 402 Payment Required response

## 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, the kind (e.g. 'latest'), the source (European Central Bank reference rates), the requested target symbols, the raw exchange rates per symbol, and the converted amounts (if an input amount was provided).

## 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": [
      "date",
      "days",
      "countries"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Start date YYYY-MM-DD"
      },
      "days": {
       "type": "string",
       "description": "Business days to add"
      },
      "countries": {
       "type": "string",
       "description": "Comma-separated countries"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "days": {
       "type": "number"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "date": {
          "type": "string"
         },
         "country": {
          "type": "string"
         }
        }
       }
      },
      "worst_case": {
       "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
  },
  "source": "European Central Bank reference rates",
  "symbols": [
   "USD",
   "GBP"
  ],
  "converted": {
   "GBP": 84.21,
   "USD": 107.65
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bizcal-api-currency-compare-af0cb481/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)
