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

Financial Datasets Get Latest Interest Rates

API dokümanları
https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshot

The newest published policy rate of every central bank we cover, one row per bank with the date it is in effect. Pass bank to get one bank only.

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

Oynatma Alanı

Girdi
Optional central bank code (e.g., FED, ECB, BOJ) to return one bank only. Use the /macro/interest-rates/banks endpoint to get a list of available banks.
ÇıktıHazır

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

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

API README

Financial Datasets Get Latest Interest Rates API

Returns the newest published policy interest rate for each central bank covered, one row per bank. It needs no input, and you can pass the optional bank code to get a single bank.

Use cases

  • Show a dashboard of current policy rates for major central banks side by side.
  • Compare the Bank of Canada, Bank of England and Bank of Japan rates in a single call.
  • Feed the latest rate for one bank into a loan or bond pricing model.
  • Check which central banks changed their rate most recently by sorting on date.

Request

curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshot" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Parameters

NameTypeRequiredDescription
bankstringNoOptional central bank code (e.g., FED, ECB, BOJ) to return one bank only. Use the /macro/interest-rates/banks endpoint to get a list of available banks.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "interest_rates": [
    {
      "bank": "BOC",
      "date": "2026-10-26",
      "name": "Bank of Canada",
      "rate": 2.25
    }
  ]
}

Response fields

FieldMeaning
interest_rates[]One row per central bank with its latest policy rate.
interest_rates[].bankShort central bank code, such as BOC, BOE or BOJ. Use this value as the bank parameter.
interest_rates[].nameFull name of the central bank, such as Bank of Canada.
interest_rates[].rateThe policy rate for that bank. Values like 2.25 and 3.75 look like percentages.
interest_rates[].dateDate the rate is in effect, in YYYY-MM-DD format.

Notes

  • Send an empty body {} to get every bank, or set bank to a code such as BOJ to get one row.
  • Get valid bank codes from the /macro/interest-rates/banks endpoint named in the parameter description.
  • For past rate changes, call Financial Datasets Get Historical Interest Rates.

Pricing

$0.02 per successful call. Failed calls are not charged.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON

Sorular

SSS

Financial Datasets Get Latest Interest Rates 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/financial-datasets/macro-interest-rates-snapshot adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Financial Datasets Get Latest Interest Rates API'sinin fiyatı nedir?

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

Financial Datasets Get Latest Interest Rates API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: bank (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Financial Datasets Get Latest Interest Rates API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Financial Datasets geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Financial Datasets Get Latest Interest Rates, 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. Financial Datasets API erişimi için ayrıca başvuru yapmanız gerekmez.