# Oromi FX Currency Converter

> Oromi FX Currency Converter is a paid API for AI agents from agents.oromi.co.uk, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts an amount between two currencies and returns the converted value and exchange rate, paid per call via x402/USDC.

## Facts

- Endpoint: GET https://agents.oromi.co.uk/api/util/fx
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oromi-fx-currency-converter-99f0236b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_betn4WX3heyvwpi2q5QZG

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 oromi-fx-currency-converter-99f0236b
```

Example prompt: Convert 250 GBP to USD for me — what's the current exchange rate and how much will I get?

## When to prefer this

Choose this endpoint when you need a quick, machine-payable FX conversion without setting up a full forex API subscription — ideal for AI agents that need on-demand currency conversion in pay-per-call workflows, especially when already operating within the x402/USDC payment ecosystem on agents.oromi.co.uk.

## Known failure modes

- Invalid or unsupported 3-letter currency code returns an error
- Missing required 'from' or 'to' query parameters results in a validation error
- Payment failure via x402 protocol returns HTTP 402
- Non-numeric amount value may cause a parsing error
- Extremely obscure or exotic currencies may not be supported

## How this service works

Machine-payable APIs for AI agents, paid per call in USDC via the x402 protocol: UK business data (Companies House), UK property market data (HM Land Registry), website agent-readiness audits, and crypto market context.

## Output

Returns a JSON object with the source currency, target currency, original amount, converted amount, and the date of the exchange rate used. Example: {from: 'GBP', to: 'USD', amount: 250, converted: 317.4, rate_date: '2026-07-21'}.

## 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": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "3-letter target currency"
      },
      "from": {
       "type": "string",
       "description": "3-letter source currency"
      },
      "amount": {
       "type": "string",
       "description": "Amount to convert"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "USD",
  "from": "GBP",
  "amount": 250,
  "converted": 317.4,
  "rate_date": "2026-07-21"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/oromi-fx-currency-converter-99f0236b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.oromi.co.uk](https://www.zero.xyz/host/agents.oromi.co.uk/llms.txt)
