Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Financial Datasets Get Latest Interest Rates

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

Preço
$0.02USD / chamada
Método
POST
Resposta
JSON
Parâmetros
0 obrigatórios · 1 opcionais

Playground

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.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da 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 mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Financial Datasets Get Latest Interest Rates?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshot com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Financial Datasets Get Latest Interest Rates?

$0.02 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Financial Datasets Get Latest Interest Rates aceita?

Nenhum parâmetro é obrigatório. Opcionais: bank (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Financial Datasets Get Latest Interest Rates retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Financial Datasets ou de uma chave de API?

Não. Financial Datasets Get Latest Interest Rates funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Financial Datasets separadamente.