# Losbeto Forex Rate

> Losbeto Forex Rate is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-15).

Returns a foreign exchange rate for a currency pair via a pay-per-call USDC micropayment endpoint

## Facts

- Endpoint: GET https://markets.losbeto.xyz/forex-rate
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-forex-rate-437677d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vt47gn1zdiYyvH_PoWLE2

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 losbeto-forex-rate-437677d5
```

Example prompt: Can you look up the current forex exchange rate for EUR/USD for me?

## When to prefer this

Choose this endpoint when you need a lightweight, per-call forex rate lookup paid via USDC micropayment (x402 protocol) and want to avoid subscription-based FX data providers. Well-suited for AI agents that need occasional FX lookups without committing to a paid API plan.

## Known failure modes

- Unsupported or invalid currency pair returns an error
- Payment of $0.012 USDC not provided or failed triggers 402 response
- Missing required currency pair parameter returns a validation error
- Rate data temporarily unavailable due to upstream market data outage
- Malformed request returns a generic JSON error

## How this service works

Losbeto: 67 endpoints x402 monetizados. Solana + Base. USDC micropayments para AI agents. Preços a partir de $0.003.

## Output

A JSON response containing the current exchange rate for the requested currency pair, likely including rate value, currency symbols, and possibly a timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "pair": {
       "type": "string",
       "description": "Currency pair, e.g. EUR/USD, GBP/USD, USD/JPY"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Live FX rate for major pairs (?pair=EUR/USD): EUR, GBP, JPY, CHF, AUD, CAD crosses with the provider named in the response. [Wrapper over a free public source (https://exchangerate-api.com (free tier)) — you pay for one schema, one payment rail, signed receipts and monitored uptime.]"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": 1785019145,
  "base": "EUR",
  "pair": "EUR/USD",
  "rate": 1.137656,
  "quote": "USD",
  "source": "exchangerate-api",
  "version": "25.1.0-DISCOVERY",
  "provider": "Losbeto/Forex",
  "timestamp": "2026-07-25"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-forex-rate-437677d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
