Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

X-Rates Historical Rates Table

API dokümanları
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.

Fiyat
$0.03USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 2 isteğe bağlı

Oynatma Alanı

Girdi
Historical date in ISO format YYYY-MM-DD.
Base currency code.
Amount to calculate rates for.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
X-Rates$0.03 çağrı başınaJSON
X-Rates$0.03 çağrı başınaJSON
X-Rates$0.03 çağrı başınaJSON
X-Rates$0.03 çağrı başınaJSON
X-Rates$0.03 çağrı başınaJSON
X-Rates$0.03 çağrı başınaJSON

Sorular

SSS

X-Rates Historical Rates Table API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/x-rates/historical-rates-table adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

X-Rates Historical Rates Table API'sinin fiyatı nedir?

çağrı başına $0.03, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

X-Rates Historical Rates Table API'si hangi parametreleri kabul eder?

Gerekli: date (string). İsteğe bağlı: from (USD, EUR, GBP, JPY, CHF, CAD, AUD arasından biri) ve amount (number). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

X-Rates Historical Rates Table API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).

Bir X-Rates geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. X-Rates Historical Rates Table, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. X-Rates API erişimi için ayrıca başvuru yapmanız gerekmez.