Skip to main content
GET
/
market
/
financial-data
/
silver
cURL
curl -H "X-FH-APIKEY: $FINHAY_API_KEY" \
  "https://open-api.fhsc.com.vn/market/financial-data/silver"
{
  "error_code": "0",
  "message": "success",
  "data": [
    {
      "index": "SILVER_PNJ",
      "name": "Bạc PNJ",
      "short_name": "PNJ",
      "buy_value": 980000,
      "sell_value": 1050000,
      "usd_value": 28,
      "vnd_value": 1050000,
      "date": "2024-04-18",
      "provider": "PNJ",
      "provider_icon": null,
      "updated_at": "2024-04-18T10:00:00Z",
      "change_percent": 0.15,
      "buy_value_change_percent": 0.12,
      "sell_value_change_percent": 0.18
    }
  ]
}

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.

Response

Trả về data mảng các record giá bạc theo nhà cung cấp.

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"