# MolCloud FX Currency Exchange Rate Lookup

> MolCloud FX Currency Exchange Rate Lookup is a paid API for AI agents from api.molcloud.net, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-17).

Returns real-time foreign exchange rates from a base currency to one or more target currencies

## Facts

- Endpoint: GET https://api.molcloud.net/api/finance/fx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/molcloud-fx-currency-exchange-rate-lookup-59ec4921
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ffv-JPIMgROrduY8MtyU0

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 molcloud-fx-currency-exchange-rate-lookup-59ec4921
```

Example prompt: What are the current exchange rates from USD to EUR, GBP, JPY, CAD, AUD, and CHF for an amount of 250 dollars?

## When to prefer this

Choose this endpoint when an AI agent needs lightweight, pay-per-use FX rate lookups without a subscription, especially in autonomous workflows that settle micropayments via x402/USDC on Base. Ideal for agents that occasionally need currency conversion data rather than high-frequency trading feeds.

## Known failure modes

- Invalid or unsupported currency code returns an error or empty rate map
- Missing required 'input' wrapper causes schema validation failure
- Payment not settled in USDC on Base results in 402 rejection before the request is processed
- Rate provider downstream outage may return a 500 or degraded response

## How this service works

41 pay-per-request AI, search, headless browser, crypto alpha & memory APIs for autonomous agents settling in USDC on Base via x402 v2.

## Output

A JSON object containing the base currency, a map of target currency codes to their exchange rates relative to the base, plus a status field confirming success and the endpoint path that was called.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "default": "EUR,GBP,JPY,CAD,AUD,CHF"
      },
      "from": {
       "type": "string",
       "default": "USD"
      },
      "amount": {
       "type": "number",
       "default": 1
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "endpoint"
     ],
     "properties": {
      "data": {
       "type": "object"
      },
      "payer": {
       "type": "string"
      },
      "status": {
       "enum": [
        "success"
       ],
       "type": "string"
      },
      "endpoint": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "base": "USD",
   "rates": {
    "EUR": 0.92
   }
  },
  "status": "success",
  "endpoint": "/api/finance/fx"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/molcloud-fx-currency-exchange-rate-lookup-59ec4921/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.molcloud.net](https://www.zero.xyz/host/api.molcloud.net/llms.txt)
