{"uid":"cap_gtFwoj1G-CyatlRBfOrSm","slug":"losbeto-fx-rate-lookup-ac21eb1e","name":"Losbeto FX Rate Lookup","description":"Returns current foreign exchange rates as JSON; useful for pricing conversions.","url":"https://api.losbeto.xyz/price?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["base"],"properties":{"base":{"type":"string","description":"base parameter"}}}}},"output":{"type":"object","properties":{"example":{"type":"object","description":"Returns current foreign exchange rates as JSON; useful for pricing conversions."}}}}},"responseSchema":{"type":"json","example":{"ts":1792449656,"data":0.891,"params":{"base":"USD"},"source":"api.exchangerate-api.com","factory":true,"product":"Returns current foreign exchange rates as JSON; useful for pricing conversions.","version":"48.32.1-WEBOPS","endpoint":"/price","recommended_next":[{"why":"most bought on this node this week","endpoint":"/pyth-price","price_usdc":"0.0060"},{"why":"most bought on this node this week","endpoint":"/jupiter-swap","price_usdc":"0.0200"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yVTs2kCrOfAS6Brl1IPpc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current foreign exchange rates as JSON for a given base currency, sourced from exchangerate-api.com.","exampleAgentPrompt":"What's the current exchange rate with USD as the base currency?","exampleUseCases":[{"title":"E-commerce checkout currency conversion","prompt":"I need to display prices in Euros for my European customers — can you get me the current exchange rate using USD as the base so I can calculate the EUR equivalent of a $49.99 product?"},{"title":"Invoice pricing in local currency","prompt":"I'm sending an invoice to a client in Japan and need to quote the amount in JPY. What's the current exchange rate for USD as the base currency?"},{"title":"Cross-border crypto payment valuation","prompt":"Before I send this USDC payment, I want to know the current USD foreign exchange rate so I can confirm the equivalent value in British pounds. Can you look up the rate using USD as the base?"}],"resultDescription":"A JSON object containing a Unix timestamp (ts), the exchange rate as a decimal number (data), the base currency params used, the upstream source (api.exchangerate-api.com), and optional recommended next endpoints to call.","failureModes":["Missing required 'base' query parameter returns an error","Unsupported or misspelled currency code may return null or error","Upstream exchangerate-api.com unavailability causes failed fetch","Payment of $0.01 USDC not fulfilled results in HTTP 402 response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call foreign exchange rate lookup with no subscription required, especially in agentic workflows that pay via x402/USDC microtransactions. It is ideal for one-off pricing conversions rather than bulk historical data or streaming tick feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:32:51.616Z","isFirstParty":false,"canonicalSlug":"losbeto-fx-rate-lookup-ac21eb1e"}