기사 조회
curl --request POST \
--url https://dev.dayfin.io/v2/api/article \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"startDt": "20261001",
"endDt": "20261014",
"pressCds": [
"P001"
],
"sinceDtm": "20261014143000"
}
'import requests
url = "https://dev.dayfin.io/v2/api/article"
payload = {
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"startDt": "20261001",
"endDt": "20261014",
"pressCds": ["P001"],
"sinceDtm": "20261014143000"
}
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',
startDt: '20261001',
endDt: '20261014',
pressCds: ['P001'],
sinceDtm: '20261014143000'
})
};
fetch('https://dev.dayfin.io/v2/api/article', 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/article",
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',
'startDt' => '20261001',
'endDt' => '20261014',
'pressCds' => [
'P001'
],
'sinceDtm' => '20261014143000'
]),
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/article"
payload := strings.NewReader("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\",\n \"pressCds\": [\n \"P001\"\n ],\n \"sinceDtm\": \"20261014143000\"\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/article")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\",\n \"pressCds\": [\n \"P001\"\n ],\n \"sinceDtm\": \"20261014143000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.dayfin.io/v2/api/article")
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 \"startDt\": \"20261001\",\n \"endDt\": \"20261014\",\n \"pressCds\": [\n \"P001\"\n ],\n \"sinceDtm\": \"20261014143000\"\n}"
response = http.request(request)
puts response.read_body{
"rspCode": "A0000",
"rspMessage": "처리 성공",
"dataList": [
"<unknown>"
],
"latestDtm": "20261014153000",
"hasNext": "Y"
}마켓 매트릭스
디지털자산뉴스
POST
/
v2
/
api
/
article
기사 조회
curl --request POST \
--url https://dev.dayfin.io/v2/api/article \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"startDt": "20261001",
"endDt": "20261014",
"pressCds": [
"P001"
],
"sinceDtm": "20261014143000"
}
'import requests
url = "https://dev.dayfin.io/v2/api/article"
payload = {
"tranDtime": "20261014143000",
"tranNo": "202610141430000001",
"startDt": "20261001",
"endDt": "20261014",
"pressCds": ["P001"],
"sinceDtm": "20261014143000"
}
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',
startDt: '20261001',
endDt: '20261014',
pressCds: ['P001'],
sinceDtm: '20261014143000'
})
};
fetch('https://dev.dayfin.io/v2/api/article', 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/article",
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',
'startDt' => '20261001',
'endDt' => '20261014',
'pressCds' => [
'P001'
],
'sinceDtm' => '20261014143000'
]),
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/article"
payload := strings.NewReader("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\",\n \"pressCds\": [\n \"P001\"\n ],\n \"sinceDtm\": \"20261014143000\"\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/article")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tranDtime\": \"20261014143000\",\n \"tranNo\": \"202610141430000001\",\n \"startDt\": \"20261001\",\n \"endDt\": \"20261014\",\n \"pressCds\": [\n \"P001\"\n ],\n \"sinceDtm\": \"20261014143000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.dayfin.io/v2/api/article")
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 \"startDt\": \"20261001\",\n \"endDt\": \"20261014\",\n \"pressCds\": [\n \"P001\"\n ],\n \"sinceDtm\": \"20261014143000\"\n}"
response = http.request(request)
puts response.read_body{
"rspCode": "A0000",
"rspMessage": "처리 성공",
"dataList": [
"<unknown>"
],
"latestDtm": "20261014153000",
"hasNext": "Y"
}디지털자산 전문 언론사의 뉴스를 제공합니다.
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"
조회 시작 일자 (yyyyMMdd). 생략하면 요청일 기준으로 조회합니다.
Example:
"20261001"
조회 종료 일자 (yyyyMMdd). 생략하면 요청일 기준으로 조회합니다.
Example:
"20261014"
언론사 코드 목록 (P001~P004). 생략하면 전체 언론사를 조회합니다.
Example:
["P001"]
이 시각 이후의 기사를 조회하는 커서 (yyyyMMddHHmmss). startDt/endDt와 동시에 입력할 수 없습니다.
Example:
"20261014143000"

