Home이용 안내API 레퍼런스변경 내역
API 레퍼런스

전체 체결 주문 조회

체결된 모든 주문 조회

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Request Header

필드필수설명
X-COINONE-PAYLOADtrueRequest body object -> JSON string -> base64
X-COINONE-SIGNATUREtrueHMAC(X-COINONE-PAYLOAD, SECRET_KEY, SHA512).hexdigest()

Request Body

필드타입필수설명
access_tokenstringtrue사용자의 액세스 토큰 (access token)
noncestringtrueUUID nonce (예: "022f53b2-8b2f-40c6-8e51-b594f562ee83")
to_trade_idstringfalse주문 ID 입력 시, 입력한 주문 ID 이전의 내역 조회
sizeint32true한번에 조회할 목록 개수 (MAX: 100 MIN: 1)
from_tsint64true조회 시작 시점 입력 (UTC 기준 시간 입력, unit of time: millisecond)
to_tsint64true조회 종료 시점 입력 (UTC 기준 시간 입력, unit of time: millisecond)

Response Body

필드타입설명
resultString정상 반환 시 success, 에러 코드 반환 시 error
error_codeNumberStringerror 발생 시 에러코드 반환, 성공인 경우 0 반환
completed_ordersArray[Object]배열 형태의 체결 주문 목록
- trade_idString체결 ID (예: "0e2bb80f-1e4d-11e9-9ec7-00e04c3600d1")
- order_idString주문 식별 ID (예: "0e30219d-1e4d-11e9-9ec7-00e04c3600d7")
- quote_currencyString마켓 기준 통화 (예: "KRW")
- target_currencyString주문 체결된 종목 (예: "BTC")
- order_typeString주문 방식 (Enum: "LIMIT", "MARKET", "STOP_LIMIT")
- is_askBoolean체결된 주문의 매도 주문 여부 (true일 경우 매도, false일 경우 매수)
- is_makerBooleanmaker 주문 여부 (예: true)
- priceNumberString체결된 주문 금액
- qtyNumberString체결된 주문 수량
- timestampNumber주문 체결 시점의 타임스탬프 (unit of time: millisecond)
- fee_rateNumberString체결된 주문 수수료율
- feeNumberString체결된 주문의 수수료
- fee_currencyString수수료 지불 통화 (예:"KRW")

시간 범위 제약

  • 시간 범위 필터의 최대 범위는 90일입니다. 초과 시 오류가 발생합니다.
  • 'from_ts'가 'to_ts'보다 크면 오류가 발생합니다.
  • 'from_ts' 또는 'to_ts'가 오늘 날짜보다 늦으면 오류가 발생합니다.
Body Params
string
required

사용자의 액세스 토큰 (access token)

string
required

UUID nonce (예: "022f53b2-8b2f-40c6-8e51-b594f562ee83")

string

주문 ID 입력 시, 입력한 주문 ID 이전의 내역 조회

int32
required

한번에 조회할 목록 개수 (MAX: 100 MIN: 1)

int64
required

조회 시작 시점 입력 (UTC 기준 시간 입력, unit of time: millisecond)

int64
required

조회 종료 시점 입력 (UTC 기준 시간 입력, unit of time: millisecond)

Headers
string
required

Request body object -> JSON string -> base64

string
required

HMAC(X-COINONE-PAYLOAD, SECRET_KEY, SHA512).hexdigest()

Response

Language
LoadingLoading…
Response
Choose an example:
application/json