BTC 도미넌스 조회
curl --request POST \
--url https://dev.dayfin.io/v2/api/coinInfo/dom \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.dayfin.io/v2/api/coinInfo/dom"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.dayfin.io/v2/api/coinInfo/dom', 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/coinInfo/dom",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://dev.dayfin.io/v2/api/coinInfo/dom"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/coinInfo/dom")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.dayfin.io/v2/api/coinInfo/dom")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rspCode": "A0000",
"rspMessage": "처리 성공",
"kbtcDominance": "55.12345",
"gbtcDominance": "<string>"
}마켓 매트릭스
BTC도미넌스
POST
/
v2
/
api
/
coinInfo
/
dom
BTC 도미넌스 조회
curl --request POST \
--url https://dev.dayfin.io/v2/api/coinInfo/dom \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.dayfin.io/v2/api/coinInfo/dom"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.dayfin.io/v2/api/coinInfo/dom', 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/coinInfo/dom",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://dev.dayfin.io/v2/api/coinInfo/dom"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/coinInfo/dom")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.dayfin.io/v2/api/coinInfo/dom")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"rspCode": "A0000",
"rspMessage": "처리 성공",
"kbtcDominance": "55.12345",
"gbtcDominance": "<string>"
}국내와 글로벌 거래소 전체 가상자산 시가총액 중 BTC 시가총액 비중(%)을 조회합니다.
※ 국내: 5대 거래소(업비트, 빗썸, 코인원, 디지털엑스, 고팍스) 상장 종목 전체
※ 국내: 5대 거래소(업비트, 빗썸, 코인원, 디지털엑스, 고팍스) 상장 종목 전체
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

