# SableForge FX — Foreign Exchange Rate Lookup

> SableForge FX — Foreign Exchange Rate Lookup is a paid API for AI agents from sableforge.servehttp.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Returns current exchange rates for a given base currency against multiple currencies including BTC and EUR, paid per-call via USDC on Base using x402.

## Facts

- Endpoint: GET https://sableforge.servehttp.com/api/fx?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sableforge-fx-foreign-exchange-rate-lookup-9f653ede
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BWfhj2AM6vts4H6nXW-1Y

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 sableforge-fx-foreign-exchange-rate-lookup-9f653ede
```

Example prompt: What are the current exchange rates for USD — I need the BTC and EUR equivalents right now.

## When to prefer this

Choose this endpoint when you need a lightweight, no-account FX rate lookup paid micropayment-style per call in USDC on Base via x402. Ideal for autonomous agents that cannot use traditional API keys or subscriptions and need spot FX data for USD, EUR, and BTC without onboarding friction. Not ideal if you need historical rates, a wide range of currency pairs, or guaranteed uptime from a centralized provider.

## Known failure modes

- Unsupported base currency code returns an error or empty rates
- x402 payment failure (insufficient USDC balance or misconfigured wallet) results in HTTP 402
- Service downtime on self-hosted endpoint (servehttp.com domain) may cause connection timeouts
- Missing or malformed 'base' query param may return default or error response

## How this service works

12 pay-per-call HTTP APIs settled in USDC on Base via x402 v2. No API keys, no accounts, no signup — $0.0005–$0.0020 per call. Includes a locally hosted 27B LLM endpoint.

## Output

A JSON object containing exchange rates relative to the specified base currency, e.g. {"btc": 0.000012, "eur": 0.9, "base": "USD"}. Each call costs $0.001 USDC, settled on Base via x402, with no API key required.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "btc": 0.000012,
  "eur": 0.9,
  "base": "USD"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sableforge-fx-foreign-exchange-rate-lookup-9f653ede/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sableforge.servehttp.com](https://www.zero.xyz/host/sableforge.servehttp.com/llms.txt)
