Logo de Upbit

Upbit

Organização
upbit-official
upbit

Use upbit CLI for Upbit REST API — spot orders, market data, withdrawals, deposits, travel rule, account management. 업비트 CLI로 시세 조회, 주문, 잔고 확인, 입출금을 처리합니다. Trigger this skill whenever the user wants to query prices, place/cancel orders, check balances, withdraw or deposit assets, or interact with the Upbit exchange API — in any language. 사용자가 업비트 시세·주문·잔고·입출금을 언급하면 반드시 이 스킬을 사용하세요.

Visão geral

Publicado porupbit-official
Repositórioupbit-agent-skills
Nome da habilidadeupbit
Estrelas
38
Forks
6
Arquivos incluídos
13
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 13 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por upbit-official no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Upbit no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/upbit-official/upbit-agent-skills/tree/main/skills/upbit/upbit
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/upbit-official/upbit-agent-skills.git /tmp/upbit-agent-skills
mkdir -p .claude/skills
cp -r /tmp/upbit-agent-skills/skills/upbit/upbit .claude/skills/upbit
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Upbit em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Upbit automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Upbit não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Upbit Skill

Use the upbit CLI binary for all Upbit REST API interactions.

Language Behavior

Detect the user's language and respond accordingly:

  • Korean user: respond in Korean, use Korean terminology from references/glossary.md (e.g., 주문, 매수, 잔고, 체결, 호가)
  • English user: respond in English, use English terminology from the same glossary
  • Mixed/ambiguous: follow the language of the most recent message

When explaining API fields or command output, always translate field names into the user's language using the glossary. For example, if the user asks in Korean, explain bid as "매수", ask as "매도", balance as "보유 잔고".

Load references/glossary.md when translating terminology or explaining response fields.

Setup

If upbit is not installed or credentials are not configured, load references/setup.md and follow the steps there.

Check if upbit is available and meets the minimum version:

bash
upbit --version

Requires v1.0.0+. If older, upgrade before continuing:

bash
npm install -g @upbit-official/upbit-cli@latest

Required Request Header

Always append --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}' as the last argument to every upbit command that calls the API. This applies to all API-calling invocations — both public (tickers, orderbooks, trades, candles, trading-pairs) and private (accounts, orders, withdraws, deposits, travel-rule, api-keys, wallet-status, pockets) endpoints.

bash
upbit <resource> <command> [flags] --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}'

{metadata.version} is a placeholder — never send it literally. Before running any command, substitute {metadata.version} with this skill's version from the metadata.version field in the front matter above.

Excluded (these do not make API requests, so omit the header): upbit --version, upbit config set, upbit config show, upbit config path, and installation/shell snippets (npm install, node --version, curl, export ...).

Authentication

Private endpoints require credentials. Configure via the CLI (recommended):

bash
upbit config set

Credentials are saved to ~/.upbit/config and automatically used for all CLI commands.

Alternatively, set via environment variables:

bash
export UPBIT_ACCESS_KEY=<your-access-key>
export UPBIT_SECRET_KEY=<your-secret-key>

Or pass inline per command:

bash
upbit <resource> <command> --access-key <key> --secret-key <secret> --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}'

Private (require auth): accounts, api-keys, orders, withdraws, deposits, travel-rule, wallet-status, pockets Public (no auth): tickers, orderbooks, trades, candles, trading-pairs

Safety Rule — Write Operations

Before executing any write operation, show the full command and ask the user to type CONFIRM.

Write operations:

  • orders create, orders cancel, orders cancel-and-new, orders cancel-by-uuids, orders cancel-open
  • withdraws create-withdrawal, withdraws create-krw-withdrawal, withdraws cancel-withdrawal
  • deposits deposit-krw, deposits create-coin-address
  • travel-rule verify-deposit-by-txid, travel-rule verify-deposit-by-uuid
  • pockets transfer, pockets universal-transfer

orders test-create is a dry-run — no CONFIRM needed.

Upbit Domain Concepts

Market Pair Format

  • Field name: market
  • Format: {QUOTE}-{BASE} — quote currency first, base asset second
  • Delimiter: hyphen (-), not slash (/)
  • Always uppercase
  • Quote currencies: KRW, BTC, USDT
  • Not {BASE}-{QUOTE} or {BASE}/{QUOTE} — Upbit reverses the conventional order used by most exchanges
MarketMeaning
KRW-BTCBTC priced in KRW; Upbit uses KRW-BTC, not BTC/KRW or BTC-KRW
KRW-ETHETH priced in KRW
KRW-XRPXRP priced in KRW
BTC-ETHETH priced in BTC
USDT-XRPXRP priced in USDT

Account Balance Fields

Each entry from accounts list:

FieldDescription
currencyAsset code (e.g., KRW, BTC, ETH)
balanceAvailable balance (not in any open order)
lockedBalance currently locked in open orders or withdrawals
avg_buy_priceAverage purchase price (decimal string)
unit_currencyCurrency avg_buy_price is denominated in (e.g., KRW, BTC)

Total holdings = balance + locked

Pockets

Korea (KR) only — pockets are available exclusively on Upbit Korea. They are not supported on the global service.

A pocket lets a user split assets within a single Upbit account for separate purposes. Each pocket is identified by a uuid.

  • Main pocket: created automatically with the account. Handles the account's default trading including external deposits/withdrawals, and can hold master authority over every pocket in the account.
  • Sub-pocket: created by the user for a specific purpose. Operates independently within its API key's permission scope, but external deposits/withdrawals are blocked. To move a sub-pocket's assets out, use its own key with pockets transfer.

Every pockets command requires one of two permissions, and each is only available on one pocket type — so a single API key can never call both groups:

CommandsPermissionCallable from
list, retrieve-balance, list-api-keys, universal-transfer, list-universal-transfers포켓관리 (pocket management)Main pocket key only
transfer, list-transfers자산이전 (asset transfer)Sub-pocket key only

Note that retrieve-balance reads a sub-pocket's balance but is still called with the main pocket key. See references/pockets.md for full command syntax and parameters, and https://docs.upbit.com/kr/reference/pocket-overview for the official overview.

Order Types (ord_type)

ord_typeDescriptionRequiredMust NOT set
limitLimit order at specified priceprice, volume—
priceMarket buy — spend a fixed quote amountpricevolume
marketMarket sell — sell a fixed base amountvolumeprice
bestBest available price (see rules below)see belowsee below

best order rules:

  • time_in_force must be ioc or fok (NOT post_only)
  • If side=bid (buy): requires price, must omit volume
  • If side=ask (sell): requires volume, must omit price

post_only + smp_type conflict: these two are mutually exclusive — do not set both.

Side Values

sideMeaning
bidBuy
askSell

Order States

StateMeaning
waitPending execution
watchPending reservation (stop order)
doneFully executed
cancelCancelled

Order Fee Fields

FieldDescription
reserved_feeTotal fee reserved when order was placed
paid_feeFee already charged (for partial fills)
remaining_feereserved_fee - paid_fee
lockedAmount locked for this order (quote currency for buys, base asset for sells)

First-Time Order Placement

Before placing an order on an unfamiliar market, run orders retrieve-chance to confirm:

  • Minimum order amount (bid.min_total, ask.min_total)
  • Supported order types (bid_types, ask_types)
  • Fee rates (bid_fee, ask_fee, maker_bid_fee, maker_ask_fee)
bash
upbit orders retrieve-chance --market "KRW-BTC" --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}'

Withdrawal — Multi-Chain Assets

For assets available on multiple networks (e.g., USDT), net_type is required to specify the blockchain. Use withdraws list-coin-addresses to see supported networks and addresses before withdrawing:

bash
upbit withdraws list-coin-addresses --currency "USDT" --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}'

Withdrawal — Secondary Address

Some assets require a secondary address (Destination Tag, Memo, etc.) in addition to the main address. Always check the registered address via withdraws list-coin-addresses to see if secondary_address is present before sending.

Withdrawal — Address Not Registered (withdraw_address_not_registered)

When withdraws create-withdrawal returns a 400 error with name: withdraw_address_not_registered, the address has not been registered in the Upbit Open API withdrawal allowlist.

To register a withdrawal address, visit the allowlist management page for your environment:

After registering, run withdraws list-coin-addresses to confirm the address appears before retrying.

Deposit / Withdraw States

StateMeaning
PROCESSINGIn progress
ACCEPTEDCompleted
CANCELLEDCancelled
REJECTEDRejected
TRAVEL_RULE_SUSPECTEDAwaiting Travel Rule verification
REFUNDINGRefund in progress
REFUNDEDRefund completed

When a deposit is in TRAVEL_RULE_SUSPECTED state, use travel-rule commands to verify.

Wallet Status

wallet-status list returns per-asset network status:

wallet_stateMeaning
workingBoth deposits and withdrawals available
withdraw_onlyDeposits suspended
deposit_onlyWithdrawals suspended
pausedBoth suspended
unsupportedNot supported

Candle Units & Limits

  • Minute candles: supported units are 1, 3, 5, 10, 15, 30, 60, 240 only
  • Second candles: data retention is 3 months maximum (older queries return empty array)
  • count: default 1, max 200 per request

Trade Pagination

  • count: max 500 per request
  • cursor: pass sequential_id from last result to page forward
  • days_ago: integer 1–7 (UTC-based day offset)

Ticker Key Fields

FieldDescription
trade_priceCurrent (last) price
acc_trade_price_24h24-hour accumulated trade value
acc_trade_volume_24h24-hour accumulated trade volume
changeRISE, EVEN, or FALL vs. previous day close
signed_change_priceSigned absolute change (negative if falling)
highest_52_week_price / lowest_52_week_price52-week range

Price Direction Enum (change, ask_bid)

change valueMeaning
RISEPrice higher than previous close
EVENSame as previous close
FALLPrice lower than previous close
ask_bid valueMeaning
ASKTrade initiated by a sell order
BIDTrade initiated by a buy order

Units & Formats

ValueUnitFormat
volumeBase asset quantityDecimal string (e.g., "0.01")
price (limit)Per-unit price in quote currencyDecimal string (e.g., "140000000")
price (market buy)Total quote amount to spendDecimal string (e.g., "10000")
Fee fieldsQuote currency amountDecimal string
timestampMilliseconds since epochInteger
created_at / done_atISO 8601 with KST offsetString (e.g., 2024-01-01T09:00:00+09:00)
trade_dateUTC dateString yyyyMMdd
trade_timeUTC timeString HHmmss (24-hour)
Fee ratesDecimal (0.05% = "0.0005")Decimal string

Day boundaries (opening_price, acc_trade_price, etc.) are based on UTC 00:00, not KST.

Command Reference

When you need detailed flag information for a resource, read the corresponding reference file.

ResourceSubcommandsReference
orderscreate, test-create, retrieve, list-open, list-closed, list-by-uuids, cancel, cancel-and-new, cancel-by-uuids, cancel-open, retrieve-chancereferences/orders.md
tickerslist-by-quote-currencies, list-by-trading-pairsreferences/tickers.md
candleslist-minutes, list-days, list-weeks, list-months, list-years, list-secondsreferences/candles.md
orderbookslist, list-instrumentsreferences/orderbooks.md
tradeslistreferences/trades.md
trading-pairslistreferences/trading-pairs.md
withdrawsretrieve, list, cancel-withdrawal, create-withdrawal, create-krw-withdrawal, list-coin-addresses, retrieve-chancereferences/withdraws.md
depositsretrieve, list, create-coin-address, deposit-krw, list-coin-addresses, retrieve-chance, retrieve-coin-addressreferences/deposits.md
travel-rulelist-vasps, verify-deposit-by-txid, verify-deposit-by-uuidreferences/travel-rule.md
pocketslist, retrieve-balance, transfer, list-transfers, universal-transfer, list-universal-transfers, list-api-keysreferences/pockets.md
accounts / api-keys / wallet-statuslistreferences/account.md
Output & Filtering--format, --transform, GJSON, debug, auto-pagingreferences/output.md
Korean ↔ English GlossaryTerm translations, field name Korean ↔ English mappingreferences/glossary.md
CLI Setup & CredentialsInstallation, environment selection, API key setup, config setreferences/setup.md

For flags not listed in reference files, run: upbit <resource> <command> --help

Environment

bash
upbit accounts list --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}'                   # kr (default)
upbit accounts list --environment sg --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}'  # sg | id | th
upbit accounts list --base-url <url> --header 'X-Upbit-Initiator: upbit-cli-skill/{metadata.version}'  # custom base URL

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Upbit faz?

Use upbit CLI for Upbit REST API — spot orders, market data, withdrawals, deposits, travel rule, account management. 업비트 CLI로 시세 조회, 주문, 잔고 확인, 입출금을 처리합니다. Trigger this skill whenever the user wants to query prices, place/cancel orders, check balances, withdraw or deposit assets, or interact with the Upbit exchange API — in any language. 사용자가 업비트 시세·주문·잔고·입출금을 언급하면 반드시 이 스킬을 사용하세요.

Por que usar Upbit no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Upbit é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Upbit no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/upbit-official/upbit-agent-skills/tree/main/skills/upbit/upbit. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Upbit?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Upbit?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Upbit com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Upbit é gratuita?

Sim. A habilidade é publicada no GitHub por upbit-official sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇