{"uid":"cap_6hz3nDiSBBwoB_1h20nPQ","slug":"delx-commerce-fx-amount-converter-ff956d89","name":"Delx Commerce FX Amount Converter","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/fx-convert-amount?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","description":"Input field: base."},"rate":{"type":"number","description":"Input field: rate."},"side":{"type":"string","description":"Input field: side."},"quote":{"type":"string","description":"Input field: quote."},"amount":{"type":"integer","description":"Input field: amount."}}},"responseSchema":{"type":"json","example":{"ok":true,"base":"USD","note":"Caller supplies rate; not a live FX feed","rate":5.2,"side":"multiply","quote":"BRL","amount":100,"schema":"delx/util-fx-convert-amount/v1","decimals":6,"converted":520}},"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_CXYucwaGgX53mF7T8xpdY","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 monetary amount from one currency to another using a caller-supplied exchange rate, returning the converted value with 6-decimal precision.","exampleAgentPrompt":"Convert 100 USD to BRL using an exchange rate of 5.2 — multiply the amount by the rate and give me the result in 6-decimal precision.","exampleUseCases":[{"title":"Invoice amount in local currency","prompt":"I need to bill a Brazilian client 500 USD — convert that to BRL using a rate of 5.18, multiplying the amount, so I can put the right number on the invoice."},{"title":"Reverse-calculate base currency amount","prompt":"A European supplier quoted me €420 for an order. The EUR/USD rate is 1.08 — divide 420 EUR by that rate to tell me what I owe in USD."},{"title":"Agent wallet cross-currency payment check","prompt":"My agent holds USDC and needs to pay a merchant in JPY. The rate is 154.3 — multiply 200 USDC by that rate and show me how many JPY that equals."}],"resultDescription":"Returns a JSON object with ok:true, the base and quote currency codes, the rate and side used, the original amount, the converted amount as a number, a decimals field (6), and a schema identifier string. The caller supplies the rate; this endpoint does not fetch live FX data.","failureModes":["Missing required fields (base, quote, amount, rate, side) result in a validation error","Invalid side value (anything other than 'multiply' or 'divide') may cause unexpected results","Providing a rate of 0 would cause a division-by-zero error for the 'divide' side","Non-integer amount values may be rejected or truncated","Incorrect currency codes are accepted but not validated against real-world pairs"],"whenToPreferThis":"Use this endpoint when you already have an exchange rate from another source and simply need a reliable, verifiable computation to apply it to an amount. It is ideal for agentic workflows where rate fetching and amount conversion are decoupled steps, or when you need 6-decimal-precision output for financial record-keeping without the latency or cost of a live FX feed integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:51.461Z","isFirstParty":false,"canonicalSlug":"delx-commerce-fx-amount-converter-ff956d89"}