# SCRIPTMASTERLABS FX Currency Converter

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

Converts a monetary amount from one currency to another using live FX rates, returning the converted value in the target currency.

## Facts

- Endpoint: GET https://scriptmasterlabs.com/api/fx/convert?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/scriptmasterlabs-fx-currency-converter-9ccb89cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p6_aUaLx2JpNc8UT_Vrr5

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 scriptmasterlabs-fx-currency-converter-9ccb89cd
```

Example prompt: Can you convert 250 USD to EUR using the SML FX Convert API?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call FX conversion without committing to a subscription, especially within x402-compatible agent pipelines. It is well-suited for low-volume or sporadic conversion needs where per-call micropayment pricing (0.001 USDC) is more cost-effective than a monthly API plan. Prefer alternatives with higher crawl quality scores or verified exchange rate providers for high-stakes financial applications.

## Known failure modes

- Invalid or unsupported currency codes (e.g. non-ISO 4217 codes) may return an error
- Missing required query parameters (from, to, amount) result in a 400-style error
- Non-positive or non-numeric amount values may be rejected
- Payment failure via x402 protocol results in 402 response before conversion is performed
- Network or upstream FX data feed outages may cause intermittent failures

## How this service works

Pay-per-call APIs and a read-only provider check for x402 buyers. Inspect evidence and live terms before a caller-controlled payment; accept delivery with proof.

## Output

Returns a JSON object containing the source currency code, target currency code, original amount, converted amount (as a decimal string), and a status field indicating success. Example: {"from":"USD","to":"EUR","amount":"100","converted":"85.25","status":"ready","product":"SML FX Convert"}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to",
      "amount"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Three-letter target currency code Search intents: currency conversion api, currency conversion, fx conversion api, fx rates, foreign exchange, ecb rates."
      },
      "from": {
       "type": "string",
       "description": "Three-letter source currency code Search intents: currency conversion api, currency conversion, fx conversion api, fx rates, foreign exchange, ecb rates."
      },
      "amount": {
       "type": "string",
       "description": "Positive decimal amount Search intents: currency conversion api, currency conversion, fx conversion api, fx rates, foreign exchange, ecb rates."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "EUR",
  "from": "USD",
  "amount": "100",
  "status": "ready",
  "product": "SML FX Convert",
  "converted": "85.25"
 }
}
```

## More

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