bankstring
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.
https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshotThe 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.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
date.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.
| Name | Type | Required | Description |
|---|---|---|---|
bank | string | No | 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. |
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
}
]
}
| Field | Meaning |
|---|---|
interest_rates[] | One row per central bank with its latest policy rate. |
interest_rates[].bank | Short central bank code, such as BOC, BOE or BOJ. Use this value as the bank parameter. |
interest_rates[].name | Full name of the central bank, such as Bank of Canada. |
interest_rates[].rate | The policy rate for that bank. Values like 2.25 and 3.75 look like percentages. |
interest_rates[].date | Date the rate is in effect, in YYYY-MM-DD format. |
{} to get every bank, or set bank to a code such as BOJ to get one row.bank codes from the /macro/interest-rates/banks endpoint named in the parameter description.$0.02 per successful call. Failed calls are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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 '{}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
bankstringOptional 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.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Financial Datasets | $0.02 pro Aufruf | JSON |
Financial Datasets | $0.02 pro Aufruf | JSON |
Financial Datasets | $0.02 pro Aufruf | JSON |
Financial Datasets | $0.02 pro Aufruf | JSON |
Financial Datasets | $0.02 pro Aufruf | JSON |
Financial Datasets | $0.02 pro Aufruf | JSON |
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshot mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.02 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Es sind keine Parameter erforderlich. Optional: bank (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Financial Datasets Get Latest Interest Rates läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Financial Datasets API beantragen.