# BizIntel API – Forex Rate Lookup

> BizIntel API – Forex Rate Lookup is a paid API for AI agents from bizintel-api.hahavoid0.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current foreign exchange rate for a given base currency against one or more target currencies

## Facts

- Endpoint: POST https://bizintel-api.hahavoid0.workers.dev/finance/forex-rate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bizintel-api-forex-rate-lookup-56ce8129
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7cF5TFeF5Nz7rfotk6o17

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 bizintel-api-forex-rate-lookup-56ce8129 -d '<json body>'
```

Example prompt: What's the current exchange rate from USD to EUR? I need the live forex rate with a confidence score so I can use it in a financial calculation.

## When to prefer this

Use this endpoint when an AI agent needs a quick, low-cost ($0.001 USDC) forex rate lookup without requiring API key management. It is well-suited for agents that already use the x402 USDC-on-Base payment protocol and need a broad currency lookup alongside other BizIntel tools (e.g., corporate registry, barcode, or talent intelligence lookups) in a single integrated platform. Prefer this over free tier alternatives when operating in an autonomous agent context that handles micropayments natively.

## Known failure modes

- Unsupported currency pair returns supported:false with an empty rates object
- Invalid or unrecognized currency code may return a 400 error or an empty result
- Stale data may be indicated via the data_as_of field showing an older month
- Payment failure (insufficient USDC balance) prevents the call from completing
- Network timeout or Cloudflare Worker error returns a 5xx response

## How this service works

Queries foreign exchange currency pairings from the free Frankfurter database.

## Output

A JSON object containing the base currency, the date of the rate, a rates map with the target currency and its exchange value, a confidence level ('high', 'medium', 'low'), a data_as_of timestamp indicating freshness, a supported flag indicating whether the currency pair is covered, any warnings, and a disclaimer noting the data is for informational use only.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target currency (e.g. EUR)"
      },
      "from": {
       "type": "string",
       "description": "Base currency (e.g. USD)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "base": "USD",
   "date": "2026-06-25",
   "rates": {
    "EUR": 0.92
   }
  },
  "warnings": [],
  "supported": true,
  "confidence": "high",
  "data_as_of": "2026-06",
  "disclaimer": "Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bizintel-api-forex-rate-lookup-56ce8129/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bizintel-api.hahavoid0.workers.dev](https://www.zero.xyz/host/bizintel-api.hahavoid0.workers.dev/llms.txt)
