Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Financial Datasets Get Latest Interest Rates

Documentación de la 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.

Precio
$0.02USD / llamada
Método
POST
Respuesta
JSON
Parámetros
0 obligatorios · 1 opcionales

Entorno de pruebas

Entrada
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.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON
Financial Datasets$0.02 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Financial Datasets Get Latest Interest Rates?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshot con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Financial Datasets Get Latest Interest Rates?

$0.02 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Financial Datasets Get Latest Interest Rates?

No se requieren parámetros. Opcionales: bank (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Financial Datasets Get Latest Interest Rates?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Financial Datasets?

No. Financial Datasets Get Latest Interest Rates funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Financial Datasets por separado.