Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

XE Convert Currency

API दस्तावेज़
https://api.sandbase.ai/v1/api/xe/convert-currency

Convert a specific amount from source to target currency. Returns the same structure as get_live_exchange_rate with the specified amount applied to the mid-market rate.

मूल्य
$0.03USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
3 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
Target currency code (e.g. USD, JPY). Supports all codes returned by get_currency_symbols.
Source currency code (e.g. EUR, GBP). Supports all codes returned by get_currency_symbols.
Amount to convert
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

XE Convert Currency API

Convert a specific amount from source to target currency. Returns the same structure as get_live_exchange_rate with the specified amount applied to the mid-market rate.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "xe/convert-currency", "to": "USD", "from": "EUR", "amount": 100.0}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
amountnumberYesAmount to convert
fromstringYesSource currency code (e.g. EUR, GBP). Supports all codes returned by get_currency_symbols.
tostringYesTarget currency code (e.g. USD, JPY). Supports all codes returned by get_currency_symbols.

Pricing

Flat $0.03 per call. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
XE$0.03 प्रति कॉलJSON
XE$0.06 प्रति कॉलJSON
XE$0.03 प्रति कॉलJSON
XE$0.03 प्रति कॉलJSON
XE$0.03 प्रति कॉलJSON
XE$0.03 प्रति कॉलJSON

प्रश्न

FAQ

XE Convert Currency API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/xe/convert-currency पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

XE Convert Currency API की लागत कितनी है?

$0.03 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

XE Convert Currency API कौन-से parameters स्वीकार करती है?

आवश्यक: to (string), from (string) और amount (number)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

XE Convert Currency API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

क्या मुझे एक XE developer account या API key चाहिए?

नहीं। XE Convert Currency SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से XE API access के लिए आवेदन करने की आवश्यकता नहीं है।