Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Financial Datasets Get Latest Interest Rates

เอกสาร 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.

ราคา
$0.02USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
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.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Financial Datasets$0.02 ต่อการเรียกJSON
Financial Datasets$0.02 ต่อการเรียกJSON
Financial Datasets$0.02 ต่อการเรียกJSON
Financial Datasets$0.02 ต่อการเรียกJSON
Financial Datasets$0.02 ต่อการเรียกJSON
Financial Datasets$0.02 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Financial Datasets Get Latest Interest Rates API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/financial-datasets/macro-interest-rates-snapshot โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Financial Datasets Get Latest Interest Rates API ราคาเท่าไร?

$0.02 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Financial Datasets Get Latest Interest Rates API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: bank (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Financial Datasets Get Latest Interest Rates API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Financial Datasets ไหม?

ไม่จำเป็น Financial Datasets Get Latest Interest Rates ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Financial Datasets API แยกต่างหาก