---
name: upbit-openapi-skill-dd39a7d4ede4
description: Operate Upbit public exchange market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
---

# 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

- `uxc` is installed and available in `PATH`.
- 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.com`
- `https://id-api.upbit.com`
- `https://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

1. Choose the correct regional host for the market you need.
2. 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`

3. Inspect operation help before execution:
   - `upbit-openapi-cli get:/v1/market/all -h`
   - `upbit-openapi-cli get:/v1/ticker -h`

4. Prefer narrow market reads first:
   - `upbit-openapi-cli get:/v1/ticker markets=SGD-BTC`
   - `upbit-openapi-cli get:/v1/orderbook markets=SGD-BTC`

## Operations

- `get:/v1/market/all`
- `get:/v1/ticker`
- `get:/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-BTC` and `USDT-BTC`.
- `upbit-openapi-cli <operation> ...` is equivalent to `uxc <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


---
Source attribution: LeoYeAI
Original project: https://github.com/LeoYeAI/openclaw-master-skills/blob/e5199b56ae1ff72e141586c17695563486c46702/skills/upbit-openapi-skill/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 MyClaw.ai (LeoYeAI)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: LeoYeAI
Original project: https://github.com/LeoYeAI/openclaw-master-skills/blob/e5199b56ae1ff72e141586c17695563486c46702/skills/upbit-openapi-skill/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering, Marketing
Roles: Backend Developer, Data Engineer, Growth Marketer
Specialties: API, Backend
Tools: Upbit, Uxc
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 415e5a9958265cd7180f1039b4302474cc7a38f139a69243def11d10fafa2dc2
