curl --request GET \
--url https://openapi.dnse.com.vn/price/{symbol}/foreign-trading \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Aux-Date: <x-aux-date>' \
--header 'X-Signature: <x-signature>'import requests
url = "https://openapi.dnse.com.vn/price/{symbol}/foreign-trading"
headers = {
"X-Api-Key": "<x-api-key>",
"X-Aux-Date": "<x-aux-date>",
"X-Signature": "<x-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Aux-Date': '<x-aux-date>',
'X-Signature': '<x-signature>'
}
};
fetch('https://openapi.dnse.com.vn/price/{symbol}/foreign-trading', 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://openapi.dnse.com.vn/price/{symbol}/foreign-trading",
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-Api-Key: <x-api-key>",
"X-Aux-Date: <x-aux-date>",
"X-Signature: <x-signature>"
],
]);
$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://openapi.dnse.com.vn/price/{symbol}/foreign-trading"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Aux-Date", "<x-aux-date>")
req.Header.Add("X-Signature", "<x-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.dnse.com.vn/price/{symbol}/foreign-trading")
.header("X-Api-Key", "<x-api-key>")
.header("X-Aux-Date", "<x-aux-date>")
.header("X-Signature", "<x-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.dnse.com.vn/price/{symbol}/foreign-trading")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Aux-Date"] = '<x-aux-date>'
request["X-Signature"] = '<x-signature>'
response = http.request(request)
puts response.read_body{
"foreigners": [
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:30:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:29:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:28:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:27:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:26:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:25:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:24:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:23:00.099"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:22:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:21:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:20:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:19:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:18:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:17:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:16:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:15:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:14:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:13:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:12:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:11:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:10:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:09:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:08:00.093"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:07:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:06:00.093"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:05:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:04:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:03:00.095"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:02:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:01:00.089"
}
],
"nextPageToken": "Nl8yXzQwX0FDQl8yMDI2LTA2LTExVDA2OjU0OjAwLjM2OFo="
}{
"status": 400,
"code": "OA-003",
"message": "Thông tin nhập không hợp lệ"
}{
"status": 500,
"code": "OA-009",
"message": "Lỗi hệ thống"
}Dữ liệu nhà đầu tư nước ngoài
curl --request GET \
--url https://openapi.dnse.com.vn/price/{symbol}/foreign-trading \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Aux-Date: <x-aux-date>' \
--header 'X-Signature: <x-signature>'import requests
url = "https://openapi.dnse.com.vn/price/{symbol}/foreign-trading"
headers = {
"X-Api-Key": "<x-api-key>",
"X-Aux-Date": "<x-aux-date>",
"X-Signature": "<x-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Aux-Date': '<x-aux-date>',
'X-Signature': '<x-signature>'
}
};
fetch('https://openapi.dnse.com.vn/price/{symbol}/foreign-trading', 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://openapi.dnse.com.vn/price/{symbol}/foreign-trading",
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-Api-Key: <x-api-key>",
"X-Aux-Date: <x-aux-date>",
"X-Signature: <x-signature>"
],
]);
$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://openapi.dnse.com.vn/price/{symbol}/foreign-trading"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Aux-Date", "<x-aux-date>")
req.Header.Add("X-Signature", "<x-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.dnse.com.vn/price/{symbol}/foreign-trading")
.header("X-Api-Key", "<x-api-key>")
.header("X-Aux-Date", "<x-aux-date>")
.header("X-Signature", "<x-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.dnse.com.vn/price/{symbol}/foreign-trading")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Aux-Date"] = '<x-aux-date>'
request["X-Signature"] = '<x-signature>'
response = http.request(request)
puts response.read_body{
"foreigners": [
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:30:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:29:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:28:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:27:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:26:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:25:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:24:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:23:00.099"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:22:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:21:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:20:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:19:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:18:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:17:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:16:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:15:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:14:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:13:00.091"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:12:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:11:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:10:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:09:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:08:00.093"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:07:00.092"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:06:00.093"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:05:00.088"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:04:00.089"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:03:00.095"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:02:00.090"
},
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:01:00.089"
}
],
"nextPageToken": "Nl8yXzQwX0FDQl8yMDI2LTA2LTExVDA2OjU0OjAwLjM2OFo="
}{
"status": 400,
"code": "OA-003",
"message": "Thông tin nhập không hợp lệ"
}{
"status": 500,
"code": "OA-009",
"message": "Lỗi hệ thống"
}Tiêu đề
API key được cấp khi đăng ký dịch vụ DNSE OpenAPI.
Ví dụ: b3JnOmRuc2UgaWQ6MjdlZTc1MzcxZGFkNTY0NmYzYTM2NDk1ZGE3OGNiOGQgaDptdXJtdXIxMjg=
Thời gian thực hiện request, dùng trong cơ chế ký request của DNSE.
Ví dụ: Sat, 01 May 2026 14:24:23 +0000
Chữ ký xác thực request được tạo từ API key secret và X-Aux-Date.
Ví dụ: Signature keyId="b3JnOmRuc2UgaWQ6MjdlZTc1MzcxZGFkNTY0NmYzYTM2NDk1ZGE3OGNiOGQgaDptdXJtdXIxMjg=",algorithm="hmac-sha256",headers="(request-target) x-aux-date",signature="rfbVXHDUi%2B%2FsOkLXle7O17Qm%2F05cbISSR%2BDcFrBHfqQ%3D",nonce="4add8c3264e4492b9f8ecde0cf26b523"
Tham số đường dẫn
Tham số truy vấn
Mã bảng giao dịch
-
G1: Lô chẵn
-
G4: Lô lẻ
-
T1: Thỏa thuận trong giờ (9h - 14h45)
-
T3: Thỏa thuận sau giờ (14h45 - 15h)
-
T4: Thỏa thuận lô lẻ trong giờ (9h - 14h45)
-
T6: Thỏa thuận lô lẻ sau giờ (14h45 - 15h) Mã định danh bảng giao dịch.
-
UNSPECIFIED: Không xác định -
AL: Tất cả bảng -
G1: Lô chẵn -
G3: Board phiên sau giờ (PLO) -
G4: Lô lẻ -
T1: Thỏa thuận lô chẵn 9h-14h45 -
T3: Thỏa thuận lô chẵn 14h45-15h -
T4: Thỏa thuận lô lẻ 9h-14h45 -
T6: Thỏa thuận lô lẻ 14h45-15h
UNSPECIFIED, AL, G1, G3, G4, T1, T3, T4, T6 "G1"
Thời gian bắt đầu (timestamp)
Thời gian kết thúc (timestamp) (không vượt quá 1 ngày)
Phản hồi
OK
Danh sách dữ liệu giao dịch của nhà đầu tư nước ngoài theo mã chứng khoán.
Show child attributes
Show child attributes
[
{
"marketId": "STO",
"boardId": "G1",
"symbol": "ACB",
"tradingSessionId": "40",
"sellVolume": 200,
"sellTradedAmount": 19800000,
"buyVolume": 500,
"buyTradedAmount": 49350000,
"totalSellVolume": 200,
"totalSellTradedAmount": 19800000,
"totalBuyVolume": 500,
"totalBuyTradedAmount": 49350000,
"foreignerOrderLimitQuantity": 62397864,
"foreignerBuyPossibleQuantity": 265119351,
"time": "2026-08-03 11:30:00.091"
}
]
Token dùng để lấy trang dữ liệu tiếp theo. Giá trị null nếu không còn dữ liệu.
"Nl8yXzQwX0FDQl8yMDI2LTA2LTExVDA2OjU0OjAwLjM2OFo="