자산 일거래금액 이력 조회
curl --request POST \
--url https://dev.dayfin.io/v2/api/trade/symbol/daily/history \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"marketCode": "KRW-BTC",
"reqTp": "1",
"exchangeNms": [
"upbit",
"bithumb"
],
"startDt": "20261001",
"endDt": "20261014"
}
'import requests
url = "https://dev.dayfin.io/v2/api/trade/symbol/daily/history"
payload = {
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"marketCode": "KRW-BTC",
"reqTp": "1",
"exchangeNms": ["upbit", "bithumb"],
"startDt": "20261001",
"endDt": "20261014"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tranDtime: '20261014143000',
tranNo: '202610141430000001',
marketCode: 'KRW-BTC',
reqTp: '1',
exchangeNms: ['upbit', 'bithumb'],
startDt: '20261001',
endDt: '20261014'
})
};
fetch('https://dev.dayfin.io/v2/api/trade/symbol/daily/history', 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://dev.dayfin.io/v2/api/trade/symbol/daily/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tranDtime' => '20261014143000',
'tranNo' => '202610141430000001',
'marketCode' => 'KRW-BTC',
'reqTp' => '1',
'exchangeNms' => [
'upbit',
'bithumb'
],
'startDt' => '20261001',
'endDt' => '20261014'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://dev.dayfin.io/v2/api/trade/symbol/daily/history"
payload := strings.NewReader("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"marketCode\": \"KRW-BTC\",\n \"reqTp\": \"1\",\n \"exchangeNms\": [\n \"upbit\",\n \"bithumb\"\n ],\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dev.dayfin.io/v2/api/trade/symbol/daily/history")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"marketCode\": \"KRW-BTC\",\n \"reqTp\": \"1\",\n \"exchangeNms\": [\n \"upbit\",\n \"bithumb\"\n ],\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.dayfin.io/v2/api/trade/symbol/daily/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"marketCode\": \"KRW-BTC\",\n \"reqTp\": \"1\",\n \"exchangeNms\": [\n \"upbit\",\n \"bithumb\"\n ],\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\"\n}"
response = http.request(request)
puts response.read_body{
"rspCode": "A0000",
"rspMessage": "정상 처리되었습니다.",
"reqTp": "1",
"dataList": [
{
"tradeDate": "20261014",
"tradeData": [
"<unknown>"
]
}
]
}마켓 매트릭스
일거래금액(거래소-마켓별,일별)
POST
/
v2
/
api
/
trade
/
symbol
/
daily
/
history
자산 일거래금액 이력 조회
curl --request POST \
--url https://dev.dayfin.io/v2/api/trade/symbol/daily/history \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"marketCode": "KRW-BTC",
"reqTp": "1",
"exchangeNms": [
"upbit",
"bithumb"
],
"startDt": "20261001",
"endDt": "20261014"
}
'import requests
url = "https://dev.dayfin.io/v2/api/trade/symbol/daily/history"
payload = {
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"marketCode": "KRW-BTC",
"reqTp": "1",
"exchangeNms": ["upbit", "bithumb"],
"startDt": "20261001",
"endDt": "20261014"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tranDtime: '20261014143000',
tranNo: '202610141430000001',
marketCode: 'KRW-BTC',
reqTp: '1',
exchangeNms: ['upbit', 'bithumb'],
startDt: '20261001',
endDt: '20261014'
})
};
fetch('https://dev.dayfin.io/v2/api/trade/symbol/daily/history', 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://dev.dayfin.io/v2/api/trade/symbol/daily/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tranDtime' => '20261014143000',
'tranNo' => '202610141430000001',
'marketCode' => 'KRW-BTC',
'reqTp' => '1',
'exchangeNms' => [
'upbit',
'bithumb'
],
'startDt' => '20261001',
'endDt' => '20261014'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://dev.dayfin.io/v2/api/trade/symbol/daily/history"
payload := strings.NewReader("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"marketCode\": \"KRW-BTC\",\n \"reqTp\": \"1\",\n \"exchangeNms\": [\n \"upbit\",\n \"bithumb\"\n ],\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dev.dayfin.io/v2/api/trade/symbol/daily/history")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"marketCode\": \"KRW-BTC\",\n \"reqTp\": \"1\",\n \"exchangeNms\": [\n \"upbit\",\n \"bithumb\"\n ],\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.dayfin.io/v2/api/trade/symbol/daily/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"marketCode\": \"KRW-BTC\",\n \"reqTp\": \"1\",\n \"exchangeNms\": [\n \"upbit\",\n \"bithumb\"\n ],\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\"\n}"
response = http.request(request)
puts response.read_body{
"rspCode": "A0000",
"rspMessage": "정상 처리되었습니다.",
"reqTp": "1",
"dataList": [
{
"tradeDate": "20261014",
"tradeData": [
"<unknown>"
]
}
]
}특정 마켓페어의 거래소별 일거래금액을 조회합니다.
(1회 최대 조회건수: 100건, KST 09시 기준)
(1회 최대 조회건수: 100건, KST 09시 기준)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
요청 거래일시 (yyyyMMddHHmmss)
Required string length:
14Example:
"20261014143000"
요청별 고유 거래번호
Minimum string length:
1Example:
"202610141430000001"
마켓 코드
Example:
"KRW-BTC"
조회 구분 (0: 전체 거래소 합산, 1: 거래소별)
Available options:
0, 1 Example:
"1"
거래소명 목록. 거래소별 조회에서 생략하면 전체 거래소를 조회합니다.
Example:
["upbit", "bithumb"]
조회 시작 일자 (yyyyMMdd). 생략하면 요청일 기준으로 조회합니다.
Example:
"20261001"
조회 종료 일자 (yyyyMMdd). 생략하면 요청일 기준으로 조회합니다.
Example:
"20261014"

