Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Financial Datasets Get Latest Interest Rates

Docs API
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.

Prix
$0.02USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 1 facultatifs

Bac à sable

Entrée
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.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Financial Datasets$0.02 par appelJSON
Financial Datasets$0.02 par appelJSON
Financial Datasets$0.02 par appelJSON
Financial Datasets$0.02 par appelJSON
Financial Datasets$0.02 par appelJSON
Financial Datasets$0.02 par appelJSON

Questions

FAQ

Comment utiliser l’API Financial Datasets Get Latest Interest Rates ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshot avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Financial Datasets Get Latest Interest Rates ?

$0.02 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Financial Datasets Get Latest Interest Rates accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : bank (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Financial Datasets Get Latest Interest Rates ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Financial Datasets ?

Non. Financial Datasets Get Latest Interest Rates fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Financial Datasets séparément.