{"uid":"cap_COP5CU4_F2GTaZaGRHeN9","slug":"script-master-labs-fx-currency-converter-d125ad70","name":"Script Master Labs FX Currency Converter","description":"Currency conversion API for AI agents — convert an amount between currencies using official ECB reference-rate data; one-shot x402 call with optional volume credits.","url":"https://squeezeos-api.onrender.com/api/fx/convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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},"responseSchema":{"type":"json","example":{"to":"EUR","from":"USD","amount":"100","status":"ready","product":"SML FX Convert","converted":"85.25"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_61LEEC4swkWtNbAz8J_E8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a specified amount from one currency to another and returns the converted value","exampleAgentPrompt":"Can you convert 250 USD to EUR for me?","exampleUseCases":[{"title":"Travel budget currency check","prompt":"I'm heading to Japan next month — can you convert 1500 USD to JPY so I know how much cash to bring?"},{"title":"Invoice amount in local currency","prompt":"I need to send a client an invoice — convert 4200 GBP to USD so I can include the dollar equivalent."},{"title":"Crypto-to-fiat quick estimate","prompt":"How much is 500 USDC in EUR right now? Just give me the converted amount."}],"resultDescription":"Returns a JSON object with the source currency code, target currency code, original amount, converted amount as a decimal, and a status field indicating readiness. Example: {from: 'USD', to: 'EUR', amount: '100', converted: '85.25', status: 'ready', product: 'SML FX Convert'}.","failureModes":["Invalid or unsupported currency code returns an error or empty result","Non-numeric or negative amount causes a validation failure","Missing required query parameters (from, to, amount) returns a 400-level error","Service downtime on Render hosting may cause 503 or timeout responses","Stale or unavailable rate data may cause incorrect or outdated conversion results"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call FX conversion with micropayment pricing via USDC on XRPL, Base, or Xahau — especially in agentic workflows where per-call cost efficiency matters and you want real (non-simulated) rate data from the Script Master Labs SqueezeOS ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:44:22.778Z","isFirstParty":false,"canonicalSlug":"script-master-labs-fx-currency-converter-d125ad70"}