# premiumrewards.vip FX Currency Converter

> premiumrewards.vip FX Currency Converter is a paid API for AI agents from api.premiumrewards.vip, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Converts a monetary amount from one currency to another using live foreign exchange rates, returning a plain-text converted value.

## Facts

- Endpoint: GET https://api.premiumrewards.vip/fx?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/premiumrewards-vip-fx-currency-converter-d295634a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_POiUNYbXUIY8MnXWjG5td

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 premiumrewards-vip-fx-currency-converter-d295634a
```

Example prompt: Convert 250 US dollars to Japanese yen for me using current exchange rates.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call currency conversion without a subscription — ideal for agent workflows that only occasionally need FX lookups and want to avoid rate-plan commitments. The x402 micropayment model ($0.01 USDC per call on Base) makes it suitable for low-volume or sporadic use cases where a traditional API key would be wasteful.

## Known failure modes

- Invalid or unsupported currency code returns an error response
- Missing required query parameters (from, to, amount) result in a bad request error
- Unpaid request returns HTTP 402 Payment Required — USDC payment on Base network must be completed first
- Network or upstream rate-feed outage may cause service unavailability
- Non-numeric amount value returns a validation error

## How this service works

Four paid HTTP lookups. USDC on Base. Unpaid GET returns 402.

## Output

A plain-text string containing the converted currency amount based on current exchange rates for the specified source currency, target currency, and input amount.

## 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",
      "amount"
     ],
     "properties": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "amount": {
       "type": "number"
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "text/plain"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "text/plain"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/premiumrewards-vip-fx-currency-converter-d295634a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.premiumrewards.vip](https://www.zero.xyz/host/api.premiumrewards.vip/llms.txt)
