v1

latestOpenAPI 3.0.12026-07-24510443.1 KB
주문(Order)

개별 주문 조회

주문의 UUID 또는 Identifier로 단일 주문 정보를 조회합니다.

get/order

Query parameters

uuidstring

조회하고자 하는 주문의 유일식별자(UUID)

Example:9ca023a5-851b-4fec-9f0a-48cd83c2eaae

조회하고자 하는 주문의 유일식별자(UUID)

identifierstring

조회하고자 하는 주문의 클라이언트 지정 식별자. 사용자 또는 클라이언트가 주문 생성 시 부여한 주문 식별자로 조회하는 경우 사용합니다.

Example:9ca023a5-851b-4fec-9f0a-48cd83c2eaae

조회하고자 하는 주문의 클라이언트 지정 식별자. 사용자 또는 클라이언트가 주문 생성 시 부여한 주문 식별자로 조회하는 경우 사용합니다.

Response

Object of order

marketstring required

페어(거래쌍)의 코드

[예시] "KRW-BTC"

uuidstring required

주문의 유일 식별자

side'ask' | 'bid' required

주문 방향(매수/매도)

ord_type'limit' | 'price' | 'market' | 'best' required

주문 유형.

  • limit: 지정가 매수/매도 주문
  • price: 시장가 매수 주문
  • market: 시장가 매도 주문
  • best: 최유리 지정가 매수/매도 주문 (time_in_force 필드 설정 필수)
pricestring

주문 단가 또는 총액 지정가 주문의 경우 단가, 시장가 매수 주문의 경우 매수 총액입니다.

state'wait' | 'watch' | 'done' | 'cancel' required

주문 상태

  • wait: 체결 대기
  • watch: 예약 주문 대기
  • done: 체결 완료
  • cancel: 주문 취소
created_atstring required

주문 생성 시각 (KST 기준)

[형식] yyyy-MM-ddTHH:mm:ss+09:00

volumestring

주문 요청 수량

remaining_volumestring

체결 후 남은 주문 양

executed_volumestring required

체결된 양

reserved_feestring required

수수료로 예약된 비용

remaining_feestring required

남은 수수료

paid_feestring required

사용된 수수료

lockedstring required

거래에 사용 중인 비용

time_in_force'fok' | 'ioc' | 'post_only'

주문 체결 옵션

smp_type'reduce' | 'cancel_maker' | 'cancel_taker'

자전거래 체결 방지(Self-Match Prevention) 모드

prevented_volumestring

자전거래 방지로 인해 취소된 수량. 동일 사용자의 주문 간 체결이 발생하지 않도록 설정(SMP)에 따라 취소된 주문 수량입니다.

prevented_lockedstring required

자전거래 방지로 인해 해제된 자산. 자전거래 체결 방지 설정으로 인해 취소된 주문의 잔여 자산입니다.

  • 매수 주문의 경우: 취소된 금액
  • 매도 주문의 경우: 취소된 수량
identifierstring

주문 생성시 클라이언트가 지정한 주문 식별자.

  • identifier 필드는 2024년 10월 18일 이후 생성된 주문에 대해서만 제공됩니다.
trades_countinteger required

해당 주문에 대한 체결 건수

Example response

{
  "market": "KRW-BTC",
  "uuid": "9ca023a5-851b-4fec-9f0a-48cd83c2eaae",
  "side": "ask",
  "ord_type": "limit",
  "state": "wait",
  "created_at": "2025-06-25T15:42:25+09:00",
  "time_in_force": "ioc",
  "smp_type": "cancel_maker",
  "identifier": "9ca023a5-851b-4fec-9f0a-48cd83c2eaae",
  "trades_count": 1,
  "trades": [
    {
      "market": "KRW-BTC",
      "uuid": "9e8f8eba-7050-4837-8969-cfc272cbe083",
      "trend": "up",
      "created_at": "2025-08-09T16:44:00.597751+09:00",
      "side": "ask"
    }
  ]
}