{"uid":"cap_6fgzKe3dk0HgGX00oEemx","slug":"glianaai-exchange-rate-api-8113a252","name":"GlianaAI Exchange Rate API","description":"GlianaAI - Pay-per-call AI models, live market data, SEC filings and identity APIs, no signup, USDC. This resource: tools/exchange-rate. Fiat currency conversion across 160+ currencies. https://ai.glianalabs.com","url":"https://api.glianalabs.com/x402/tools/exchange-rate?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","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tool":"tools/exchange-rate"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tK0N9PvQL8t4w6YuzFCVF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live foreign exchange and crypto currency rates via a pay-per-call endpoint on GlianaAI's multi-tool platform","exampleAgentPrompt":"What's the current exchange rate from USD to EUR right now? Use GlianaAI's exchange rate tool — I'm happy to pay per call.","exampleUseCases":[{"title":"Live crypto rate for invoice pricing","prompt":"What's the current ETH to USDC exchange rate? I need it to price a customer invoice accurately right now."},{"title":"Rupiah conversion for travel budget","prompt":"Can you fetch the current USD to IDR exchange rate for me? I'm budgeting a trip and need today's live rate."},{"title":"FX rate for DeFi arbitrage check","prompt":"Get me the current BTC to USD rate from GlianaAI's market data tool so I can compare it against what I'm seeing on-chain."}],"resultDescription":"Returns a JSON object containing the current exchange rate for the requested currency pair, sourced from live market data. The response includes the tool identifier and the rate value, suitable for real-time currency conversion, pricing, or arbitrage analysis.","failureModes":["Missing or invalid currency pair parameters returns an error response","Network timeout if market data feed is temporarily unavailable","Insufficient USDC balance or failed x402 payment results in 402 Payment Required","Unsupported currency pair may return empty or null rate","Rate may be slightly stale during low-liquidity periods"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call live FX or crypto exchange rate without setting up an account or API key. It is particularly useful in agentic workflows on Base or Solana where micropayments in USDC are already part of the flow, or when you need to combine exchange rate data with other GlianaAI tools (like LLM chat or OCR) in a single platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:50:38.493Z","isFirstParty":false,"canonicalSlug":"glianaai-exchange-rate-api-8113a252"}