# Tỷ giá quốc tế

> API name: /Macro/GetExchangeRateGlobal

{% hint style="info" %}
**Dưới đây là một ví dụ minh họa về cách dữ liệu được trình bày trong API:**

&#x20;

&#x20;           "RecordId": 11979,

&#x20;           "BaseCurrencyId": 1,

&#x20;           "QuoteCurrencyId": 4,

&#x20;           "TradingDateId": "2010-01-01T00:00:00",

&#x20;           "PreferencePrice": 0.0,

&#x20;           "OpenPrice": 0.92930000,

&#x20;           "HighPrice": 0.92930000,

&#x20;           "LowPrice": 0.92840000,

&#x20;           "ClosePrice": 0.92760000,

&#x20;           "AverageSpread": 0.0,

&#x20;           "PriceChange": -0.00148416,

&#x20;           "PercentChange": -0.00160000,

&#x20;           "TotalVolume": 0.0,

&#x20;           "TotalValue": 0.0,

&#x20;           "OpenInterest": 0.0,

&#x20;           "CurrencyPairTypeId": 2,

&#x20;           "SourceOrganizationId": 0,

&#x20;           "ModificationId": 7894.0,

&#x20;           "RecordStatusId": 1,

&#x20;           "IsHistory": false,

&#x20;           "VersionDateId": "2025-04-22T00:00:00",

&#x20;           "BaseCurrencyCode": "AUD",

&#x20;           "QuoteCurrencyCode": "CHF",

&#x20;           "CurrencyPairTypeName": "Tỷ giá bán",

&#x20;           "en\_CurrencyPairTypeName": null,

&#x20;           "Status": 1,

&#x20;           "CreateDate": "2025-04-22T17:30:00",

&#x20;           "UpdateDate": "2025-04-23T17:50:45.113",

&#x20;           "TotalRow": 7986.0,

&#x20;           "TotalPage": 160.0

&#x20;
{% endhint %}

<table><thead><tr><th width="205.75390625">Tên trường dữ liệu</th><th width="99.12890625">Loại dữ liệu</th><th width="73">Độ dài ký tự dữ liệu</th><th width="264">Mô tả (VN)</th><th width="235.484375">Mô tả (EN)</th></tr></thead><tbody><tr><td>RecordId</td><td>int</td><td></td><td>Khóa chính của bảng auto-generated IDENTITY(1,1)</td><td>Primary key of table, auto-generated IDENTITY (1,1)</td></tr><tr><td>BaseCurrencyId</td><td>smallint</td><td></td><td>Tiền tệ cơ sở vd: USD,VND... từ bảng FGFB_CMMS_DM_Currency</td><td>Base Currency from FGFB_CMMS_DR_Currency</td></tr><tr><td>QuoteCurrencyId</td><td>smallint</td><td></td><td>Tiền tệ làm giá vd: USD,VND... từ bảng FGFB_CMMS_DM_Currency</td><td>Quote Currency from FGFB_CMMS_DR_Currency</td></tr><tr><td>TradingDateId</td><td>date</td><td></td><td>Ngày giao dịch</td><td>Trading date</td></tr><tr><td>PreferencePrice</td><td>decimal</td><td>(18,8)</td><td>Giá tham chiếu</td><td>Preference Price</td></tr><tr><td>OpenPrice</td><td>decimal</td><td>(18,8)</td><td>Giá mở cửa</td><td>Open Price</td></tr><tr><td>HighPrice</td><td>decimal</td><td>(18,8)</td><td>Giá cao nhất</td><td>High Price</td></tr><tr><td>LowPrice</td><td>decimal</td><td>(18,8)</td><td>Giá thấp nhất</td><td>Low Price</td></tr><tr><td>ClosePrice</td><td>decimal</td><td>(18,8)</td><td>Giá đóng cửa</td><td>Close Price</td></tr><tr><td>AverageSpread</td><td>decimal</td><td>(18,8)</td><td>Chênh lệch Bid ask trung bình</td><td>Average bid-ask spread</td></tr><tr><td>PriceChange</td><td>decimal</td><td>(18,8)</td><td>Thay đổi giá</td><td>Price change</td></tr><tr><td>PercentChange</td><td>decimal</td><td>(9,8)</td><td>% thay đổi</td><td>Price Percent change</td></tr><tr><td>TotalVolume</td><td>bigint</td><td></td><td>Tổng khối lượng</td><td>Total Volume</td></tr><tr><td>TotalValue</td><td>bigint</td><td></td><td>Tổng giá trị</td><td>Total Value</td></tr><tr><td>OpenInterest</td><td>bigint</td><td></td><td>Tổng số hợp đồng active đầu ngày</td><td>Total open interest</td></tr><tr><td>CurrencyPairTypeId</td><td>tinyint</td><td></td><td>Loại của cặp tỷ giá vd: tỷ giá thường, tỷ giá chợ đen... từ bảng FGFB_MEIN_DM_CurrencyPairType</td><td>Currency Pair Type e.g. Normal, black market... from FGFB_MEIN_DM_CurrencyPairType</td></tr><tr><td>SourceOrganizationId</td><td>int</td><td></td><td>Nguồn data từ bảng FGFB_COIN_DR_Organization</td><td>Source Date from FGFB_COIN_DR_Organizartion</td></tr><tr><td>ModificationId</td><td>bigint</td><td></td><td>Khóa ngoài sang bảng FGFB_MEIN_DR_Modification, lưu trữ các thông tin thay đổi của bảng ghi</td><td>Foreign key linked to  FGFB_MEIN_DR_Modification table, storing changes of record</td></tr><tr><td>RecordStatusId</td><td>tinyint</td><td></td><td>0: record khóa; 1: record mở; 2: record đã xóa </td><td>The record status: 0: Locked; 1: Open; 2: Deleted</td></tr><tr><td>IsHistory</td><td>bit</td><td></td><td>Lịch sử: 0: bản ghi hiện tại, 1 là bản ghi lịch sử</td><td>History. 0: current, 1: history</td></tr><tr><td>VersionDateId</td><td>date</td><td></td><td>Phiên bản lưu lịch sử (ngày ghi chép bản ghi lịch sử này vd: ngày công bố thông tin khi nhập lại thông tin lịch sử).</td><td>History record version (Record Date of this history record)</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://datafeed.fiingroup.vn/api-kinh-te-vi-mo/ty-gia/ty-gia-quoc-te.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
