{ } DLPL API

Tỷ giá ngoại tệ

Free

Tỷ giá mua tiền mặt, mua chuyển khoản, bán ra theo ngày, lịch sử nhiều năm.

Endpoint

EndpointMô tả
GET /v1/exchange-ratesTìm kiếm, lọc, phân trang
GET /v1/exchange-rates/{id}Chi tiết một bản ghi (toàn bộ trường)
bash
curl "https://api.dulieuphapluat.vn/v1/exchange-rates?currency_code=…&per_page=10" \
  -H "Authorization: Bearer dlpl_live_xxxxxxxxxxxxxxxxxxxxxxxx"

Tham số và trường dữ liệu

Tham số lọc
Tham sốKiểu
currency_code string
source string
date date
date_from (>=) date
date_to (<=) date
page, per_pagePhân trang

Cần ít nhất một trong: currency_code, date

Trường dữ liệu
TrườngKiểuGói
id id Free
source string Free
currency_code string Free
currency_name* string Free
buy_cash float Free
buy_transfer float Free
sell float Free
rate_date date Free
quoted_at* datetime Free

* chỉ trả ở endpoint chi tiết.

Cùng nhóm Tài chính