Back to Ccxt

Upbit

wiki/exchanges-implicit/upbit.md

4.5.645.2 KB
Original Source

Every endpoint in upbit's api definition is exposed as an implicit method — a thin, generated wrapper around the raw exchange endpoint. Use these for exchange-specific functionality the CCXT API does not cover.

These methods are available in every CCXT language — TypeScript, JavaScript, Python, PHP, C# and Go. Call them by the camelCase name shown in the tables below (e.g. publicGetMarketAll); the snake_case alias (public_get_market_all) also works in JavaScript, Python and PHP, and Go uses the PascalCase form (PublicGetMarketAll). Switch tabs for the call in each language:

<!-- tabs:start -->

JavaScript

javascript
const upbit = new ccxt.upbit ();
const response = await upbit.publicGetMarketAll (params);

TypeScript

typescript
import ccxt from 'ccxt';
const upbit = new ccxt.upbit ();
const response = await upbit.publicGetMarketAll (params);

Python

python
import ccxt
upbit = ccxt.upbit()
response = upbit.public_get_market_all(params)

PHP

php
$upbit = new \ccxt\upbit();
$response = $upbit->public_get_market_all($params);

C#

csharp
using ccxt;
var upbit = new Upbit();
var response = await upbit.publicGetMarketAll(parameters);

Go

go
upbit := ccxt.NewUpbit(nil)
response := <-upbit.PublicGetMarketAll(params)
<!-- tabs:end -->

Path parameters wrapped in {} (e.g. {pair}) are substituted from params; everything else in params is sent as the query string or request body. Cost is the rate-limiter weight of each call.

📚 Official upbit API documentation: docs.upbit.com · global-docs.upbit.com

53 implicit endpoints across 2 access groups.

public

Base URL: https://{hostname}

MethodHTTPEndpointCost
publicGetMarketAllGETmarket/all2
publicGetCandlesTimeframeGETcandles/{timeframe}2
publicGetCandlesTimeframeUnitGETcandles/{timeframe}/{unit}2
publicGetCandlesSecondsGETcandles/seconds2
publicGetCandlesMinutesUnitGETcandles/minutes/{unit}2
publicGetCandlesMinutes1GETcandles/minutes/12
publicGetCandlesMinutes3GETcandles/minutes/32
publicGetCandlesMinutes5GETcandles/minutes/52
publicGetCandlesMinutes10GETcandles/minutes/102
publicGetCandlesMinutes15GETcandles/minutes/152
publicGetCandlesMinutes30GETcandles/minutes/302
publicGetCandlesMinutes60GETcandles/minutes/602
publicGetCandlesMinutes240GETcandles/minutes/2402
publicGetCandlesDaysGETcandles/days2
publicGetCandlesWeeksGETcandles/weeks2
publicGetCandlesMonthsGETcandles/months2
publicGetCandlesYearsGETcandles/years2
publicGetTradesTicksGETtrades/ticks2
publicGetTickerGETticker2
publicGetTickerAllGETticker/all2
publicGetOrderbookGETorderbook2
publicGetOrderbookInstrumentsGETorderbook/instruments2

private

Base URL: https://{hostname}

MethodHTTPEndpointCost
privateGetAccountsGETaccounts0.67
privateGetOrdersChanceGETorders/chance0.67
privateGetOrderGETorder0.67
privateGetOrdersClosedGETorders/closed0.67
privateGetOrdersOpenGETorders/open0.67
privateGetOrdersUuidsGETorders/uuids0.67
privateGetWithdrawsGETwithdraws0.67
privateGetWithdrawGETwithdraw0.67
privateGetWithdrawsChanceGETwithdraws/chance0.67
privateGetWithdrawsCoinAddressesGETwithdraws/coin_addresses0.67
privateGetDepositsGETdeposits0.67
privateGetDepositsChanceCoinGETdeposits/chance/coin0.67
privateGetDepositGETdeposit0.67
privateGetDepositsCoinAddressesGETdeposits/coin_addresses0.67
privateGetDepositsCoinAddressGETdeposits/coin_address0.67
privateGetTravelRuleVaspsGETtravel_rule/vasps0.67
privateGetStatusWalletGETstatus/wallet0.67
privateGetApiKeysGETapi_keys0.67
privatePostOrdersPOSTorders2.5
privatePostOrdersTestPOSTorders/test2.5
privatePostOrdersCancelAndNewPOSTorders/cancel_and_new2.5
privatePostWithdrawsCoinPOSTwithdraws/coin0.67
privatePostWithdrawsKrwPOSTwithdraws/krw0.67
privatePostDepositsKrwPOSTdeposits/krw0.67
privatePostDepositsGenerateCoinAddressPOSTdeposits/generate_coin_address0.67
privatePostTravelRuleDepositUuidPOSTtravel_rule/deposit/uuid0.67
privatePostTravelRuleDepositTxidPOSTtravel_rule/deposit/txid0.67
privateDeleteOrderDELETEorder0.67
privateDeleteOrdersOpenDELETEorders/open40
privateDeleteOrdersUuidsDELETEorders/uuids0.67
privateDeleteWithdrawsCoinDELETEwithdraws/coin0.67