Skip to main content
GET
/
market
/
financial-data
/
silver-chart
cURL
curl -H "X-FH-APIKEY: $FINHAY_API_KEY" \
  "https://open-api.fhsc.com.vn/market/financial-data/silver-chart?days=30"
{
  "error_code": "0",
  "message": "success",
  "data": [
    {
      "date": "2026-03-23",
      "silver_bar": 266.3,
      "silver_global": 220.2
    },
    {
      "date": "2026-03-24",
      "silver_bar": 271.8,
      "silver_global": 222.4
    },
    {
      "date": "2026-04-22",
      "silver_bar": 301.9,
      "silver_global": 247.9
    }
  ],
  "traceId": "41f9a4bc-b624-46fe-97a1-800fc845b130"
}

Documentation Index

Fetch the complete documentation index at: https://developers.fhsc.com.vn/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-FH-APIKEY
string
header
required

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.

Query Parameters

days
integer
default:30

Số ngày lịch sử cần lấy. Mặc định 30.

Example:

30

Response

Trả về data mảng điểm chart, mỗi item gồm date + silver_bar / silver_global. Có kèm traceId.

Các field chung của envelope trong mọi response của Finhay API.

  • error_code"0" (string) khi thành công, mã khác "0" khi lỗi.
  • message là thông điệp ngắn từ server.
data
object[]
required
error_code
string

"0" khi thành công, khác "0" khi lỗi.

Example:

"0"

message
string

Thông điệp trạng thái dễ đọc.

Example:

"success"

traceId
string<uuid>

Request trace ID do server sinh, dùng để debug và đối chiếu log.

Example:

"41f9a4bc-b624-46fe-97a1-800fc845b130"