# VendSDK FX Rate

> VendSDK FX Rate is a paid API for AI agents from vendsdk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Returns live fiat foreign exchange rates for a given base currency against specified target currencies, using Frankfurter/ECB as primary source with open.er-api as fallback

## Facts

- Endpoint: GET https://vendsdk.com/api/v/fx-rate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vendsdk-fx-rate-cf9510fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EK8DKF6T7x6CELB-jB4re

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 vendsdk-fx-rate-cf9510fb
```

Example prompt: What are the current live exchange rates from USD to EUR, GBP, and JPY right now?

## When to prefer this

Choose this endpoint when you need reliable, ECB-anchored live fiat FX rates for cross-border payment calculations or currency conversion in an agent workflow, especially when you want a fallback-backed source (ECB primary, open.er-api secondary) rather than a single-provider rate feed. Prefer this over crypto price endpoints for fiat-only FX needs.

## Known failure modes

- Unsupported or invalid ISO 4217 currency code returns an error or empty rates
- Upstream ECB/Frankfurter and fallback open.er-api both unavailable results in a service error
- Malformed symbols parameter (non-comma-separated) may return unexpected results
- Rate limiting or payment failure (x402) returns HTTP 402 before any FX data is returned

## How this service works

Live fiat FX rates (Frankfurter/ECB primary, open.er-api fallback) for cross-border agents

## Output

A JSON object with a boolean 'ok' field, the base currency code, a 'rates' object mapping each requested symbol to its exchange rate as a float, the data source name (e.g. 'frankfurter' or 'open.er-api'), and a service identifier string.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string",
       "description": "ISO 4217 base, default USD"
      },
      "symbols": {
       "type": "string",
       "description": "Comma list e.g. EUR,GBP,JPY"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "base": {
       "type": "string"
      },
      "rates": {
       "type": "object"
      },
      "source": {
       "type": "string"
      },
      "service": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vendsdk-fx-rate-cf9510fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vendsdk.com](https://www.zero.xyz/host/vendsdk.com/llms.txt)
