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

X-Rates Historical Rates Table

API दस्तावेज़
https://api.sandbase.ai/v1/api/x-rates/historical-rates-table

Fetches historical exchange rates for a base currency against all supported currencies on a specific date. The date must be in ISO YYYY-MM-DD format. Returns the same structure as the current rates table but for the specified historical date.

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

प्लेग्राउंड

इनपुट
Historical date in ISO format YYYY-MM-DD.
Base currency code.
Amount to calculate rates for.
आउटपुटतैयार

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

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

API README

X-Rates Historical Rates Table API

Fetches historical exchange rates for a base currency against all supported currencies on a specific date. The date must be in ISO YYYY-MM-DD format. Returns the same structure as the current rates table but for the specified historical date.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "x-rates/historical-rates-table", "date": "2026-10-16", "from": "USD", "amount": 1.0}'

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

Parameters

NameTypeRequiredDescription
datestringYesHistorical date in ISO format YYYY-MM-DD.
amountnumberNoAmount to calculate rates for.
fromstringNoBase currency code. One of: USD, EUR, GBP, JPY, CHF, CAD, AUD.

Pricing

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

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
X-Rates$0.03 प्रति कॉलJSON
X-Rates$0.03 प्रति कॉलJSON
X-Rates$0.03 प्रति कॉलJSON
X-Rates$0.03 प्रति कॉलJSON
X-Rates$0.03 प्रति कॉलJSON
X-Rates$0.03 प्रति कॉलJSON

प्रश्न

FAQ

X-Rates Historical Rates Table API का उपयोग कैसे करें?

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

X-Rates Historical Rates Table API की लागत कितनी है?

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

X-Rates Historical Rates Table API कौन-से parameters स्वीकार करती है?

आवश्यक: date (string)। वैकल्पिक: from (USD, EUR, GBP, JPY, CHF, CAD, AUD में से एक) और amount (number)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

X-Rates Historical Rates Table API क्या लौटाती है?

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

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

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