Upbit Open API Skill
Use this skill to run Upbit public market-data operations through uxc + OpenAPI.
Reuse the uxc skill for shared execution, auth, and error-handling guidance.
Prerequisites
uxcis installed and available inPATH.- Network access to the chosen Upbit regional API host.
- Access to the curated OpenAPI schema URL:
https://raw.githubusercontent.com/holon-run/uxc/main/skills/upbit-openapi-skill/references/upbit-public.openapi.json
Scope
This skill covers a curated Upbit public surface for:
- market discovery
- ticker reads
- minute candles
- order book snapshots
This skill does not cover:
- private account or order endpoints in v1
- region-specific account/trade auth flows
Endpoint
Upbit uses regional hosts. Pick the right one for the market you need before linking.
Examples:
https://sg-api.upbit.comhttps://id-api.upbit.comhttps://th-api.upbit.com
Authentication
Public market endpoints in this skill do not require credentials.
Upbit private APIs use provider-specific bearer JWT generation with request-specific claims. Keep this v1 skill public-data-only until a reusable Upbit signer flow exists in uxc.
Core Workflow
-
Choose the correct regional host for the market you need.
-
Use a fixed link command by default:
command -v upbit-openapi-cli- If missing, create it:
uxc link upbit-openapi-cli https://sg-api.upbit.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/upbit-openapi-skill/references/upbit-public.openapi.json upbit-openapi-cli -h
-
Inspect operation help before execution:
upbit-openapi-cli get:/v1/market/all -hupbit-openapi-cli get:/v1/ticker -h
-
Prefer narrow market reads first:
upbit-openapi-cli get:/v1/ticker markets=SGD-BTCupbit-openapi-cli get:/v1/orderbook markets=SGD-BTC
Operations
get:/v1/market/allget:/v1/tickerget:/v1/candles/minutes/{unit}get:/v1/orderbook
Guardrails
- Keep automation on the JSON output envelope; do not use
--text. - Parse stable fields first:
ok,kind,protocol,data,error. - Treat this v1 skill as read-only.
- Confirm the correct regional host and quote market before execution.
- On regional Upbit hosts, live market codes are quote-first, for example
SGD-BTCandUSDT-BTC. upbit-openapi-cli <operation> ...is equivalent touxc <upbit_region_host> --schema-url <upbit_public_openapi_schema> <operation> ....
References
- Usage patterns:
references/usage-patterns.md - Curated OpenAPI schema:
references/upbit-public.openapi.json - Official Upbit Open API overview: https://global-docs.upbit.com/reference/api-overview