Quick answer
Upbit’s Open API authenticates private calls with an HS256 JWT signed by your secret key, carrying the access key, a nonce and a SHA-512 hash of the query. Public candles, tickers and order books are keyless. Keys require an IP allow-list, and each regional Upbit (Korea, Singapore, Indonesia, Thailand) has its own host.
Upbit API at a glance
- Pricing
- Free API; trading fees apply
- Availability
- South Korea, Singapore, Indonesia, Thailand
- Paper trading
- No sandbox
- Integration type
- REST + API key
- In AlgoGP
- Design and backtest in AlgoGP, connect the exported code
- Auth
- HS256 JWT (access key, nonce, query hash)
- Host (KR)
https://api.upbit.com/v1- Markets
KRW-BTC,BTC-ETH,USDT-…
Public market data from Upbit
curl -s "https://api.upbit.com/v1/candles/minutes/60?market=KRW-BTC&count=200"Save the bars as CSV and replay them with the exported python backtest.py --csv bars.csv, or use CCXT to read the same candles in one line of Python.
What to know before automating Upbit
- Market codes put the quote first (
KRW-BTC). - An HS256 JWT can be built with the standard library (
hmac+base64), so no extra package is required.
Build an Upbit strategy with AlgoGP
AlgoGP does not connect to Upbit natively yet. Upbit uses plain HTTPS with an API key, so it is a good candidate for a native adapter; it is not built in yet.
- 1
Design and backtest in AlgoGP
Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.
- 2
Export the Python project
Every project exports
strategy.py,market_data.py,brokers.pyandlive.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format. - 3
Plug in Upbit
Implement the four adapter methods (
account,positions,submit_market_orderand a candle fetcher) with Upbit’s SDK, or keep a built-in platform for paper trading and add Upbit when you go live.
Built-in brokers for the same markets: Alpaca, Binance, Kraken, Bybit.
Upbit API: frequently asked questions
Can foreigners use the Upbit API?
Upbit Korea requires a Korean account; Upbit Singapore, Indonesia and Thailand serve their markets.
Design and backtest your Upbit strategy first
AlgoGP turns an idea into Python and tests it on years of history before you connect it to Upbit. The exported code keeps the broker behind four small adapter methods.
- AI copilot writes and revises the rules
- Backtests with realistic costs
- Exported Python ready to wire to Upbit
Free plan, no card required.
Upbit alternatives
- Binance API Built into AlgoGPThe largest crypto exchange by volume, with a deep public market-data API and a free spot testnet.
- OKX API Built into AlgoGPMajor crypto exchange with a V5 REST and WebSocket API for spot, perpetuals, futures and options, plus demo trading.
- Bybit API Built into AlgoGPGlobal crypto exchange with a unified V5 API for spot, derivatives and options, and a Demo Trading environment.
- Coinbase Advanced Trade API GuideCoinbase’s trading API for spot and eligible derivatives, authenticated with CDP keys that sign a JWT per request.
Frameworks that connect to Upbit
Independent guide. AlgoGP is not affiliated with Upbit. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.