cURL
curl -H "X-FH-APIKEY: $FINHAY_API_KEY" \
"https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates"
import requests
url = "https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates"
headers = {"X-FH-APIKEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-FH-APIKEY': '<api-key>'}};
fetch('https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-FH-APIKEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-FH-APIKEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates")
.header("X-FH-APIKEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-FH-APIKEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error_code": "0",
"message": "success",
"data": {
"no_bank": 20,
"effective_date": "31/7/2026",
"bank_interest_rates": [
{
"bank_name": "ACB",
"rates": [
{
"effective_date": "31/7/2026",
"percent": "3,1%",
"duration_name": "6 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/acb.png"
},
{
"effective_date": "31/7/2026",
"percent": "4,4%",
"duration_name": "12 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/acb.png"
}
]
},
{
"bank_name": "Vietcombank",
"rates": [
{
"effective_date": "31/7/2026",
"percent": "2,9%",
"duration_name": "6 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/vcb.png"
},
{
"effective_date": "31/7/2026",
"percent": "4,6%",
"duration_name": "12 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/vcb.png"
}
]
}
]
}
}{
"error_code": "400",
"message": "Invalid parameter"
}{
"error_code": "401",
"message": "Invalid signature"
}{
"error_code": "429",
"message": "Too many requests"
}{
"error_code": "500",
"message": "Internal server error"
}Kinh tế vĩ mô
Lãi suất tiền gửi ngân hàng
Lãi suất tiền gửi tiết kiệm của các ngân hàng tại Việt Nam, phân theo
kỳ hạn (1 Tháng, 3 Tháng, 6 Tháng, 12 Tháng, …).
data.bank_interest_rates là danh sách ngân hàng; mỗi phần tử có
bank_name và mảng rates — lãi suất từng kỳ hạn, dạng chuỗi kèm dấu
% (phần thập phân dùng dấu phẩy, vd 4,4%).
GET
/
market
/
financial-data
/
bank-interest-rates
cURL
curl -H "X-FH-APIKEY: $FINHAY_API_KEY" \
"https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates"
import requests
url = "https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates"
headers = {"X-FH-APIKEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-FH-APIKEY': '<api-key>'}};
fetch('https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-FH-APIKEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-FH-APIKEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates")
.header("X-FH-APIKEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://open-api.fhsc.com.vn/market/financial-data/bank-interest-rates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-FH-APIKEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error_code": "0",
"message": "success",
"data": {
"no_bank": 20,
"effective_date": "31/7/2026",
"bank_interest_rates": [
{
"bank_name": "ACB",
"rates": [
{
"effective_date": "31/7/2026",
"percent": "3,1%",
"duration_name": "6 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/acb.png"
},
{
"effective_date": "31/7/2026",
"percent": "4,4%",
"duration_name": "12 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/acb.png"
}
]
},
{
"bank_name": "Vietcombank",
"rates": [
{
"effective_date": "31/7/2026",
"percent": "2,9%",
"duration_name": "6 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/vcb.png"
},
{
"effective_date": "31/7/2026",
"percent": "4,6%",
"duration_name": "12 Tháng",
"bank_icon_url": "https://cdn.finhay.com.vn/banks/vcb.png"
}
]
}
]
}
}{
"error_code": "400",
"message": "Invalid parameter"
}{
"error_code": "401",
"message": "Invalid signature"
}{
"error_code": "429",
"message": "Too many requests"
}{
"error_code": "500",
"message": "Internal server error"
}Authorizations
API key dài hạn của client. Cấu hình 1 lần lúc khởi tạo; có thể wire thẳng
vào static setter của SDK tự-gen. Đi kèm với FINHAY_API_SECRET — secret
này chỉ dùng ở phía client để tính X-FH-SIGNATURE, không bao giờ
gửi qua mạng.
Response
Trả về data.bank_interest_rates — danh sách ngân hàng, mỗi ngân hàng kèm lãi suất theo từng kỳ hạn.
Các field chung của envelope trong mọi response của Finhay API.
error_codelà"0"(string) khi thành công, mã khác"0"khi lỗi.messagelà thông điệp ngắn từ server.