{"id":14986563,"url":"https://github.com/ujhin/upbit-client","last_synced_at":"2026-03-06T04:03:49.322Z","repository":{"id":38286074,"uuid":"327529427","full_name":"uJhin/upbit-client","owner":"uJhin","description":"Upbit(업비트) Cryptocurrency Exchange Open API Client of Multi-Programming Language Support","archived":false,"fork":false,"pushed_at":"2024-07-17T10:35:31.000Z","size":1817,"stargazers_count":55,"open_issues_count":5,"forks_count":45,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-27T01:12:26.188Z","etag":null,"topics":["api","api-client","api-connector","api-rest","bitcoin","client","crypto","cryptocurrency","cryptocurrency-exchanges","exchange","http-client","market-data","open-api","python","sdk","trading","ujhin","upbit","upbit-api","upbit-client"],"latest_commit_sha":null,"homepage":"https://ujhin.github.io/upbit-client-docs/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uJhin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-07T06:56:26.000Z","updated_at":"2025-01-31T12:22:37.000Z","dependencies_parsed_at":"2024-06-18T21:53:15.166Z","dependency_job_id":null,"html_url":"https://github.com/uJhin/upbit-client","commit_stats":{"total_commits":248,"total_committers":4,"mean_commits":62.0,"dds":0.5,"last_synced_commit":"bd8af274c8e768038ab57dcd19fa7713319e1904"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uJhin%2Fupbit-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uJhin%2Fupbit-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uJhin%2Fupbit-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uJhin%2Fupbit-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uJhin","download_url":"https://codeload.github.com/uJhin/upbit-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248695300,"owners_count":21146952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","api-connector","api-rest","bitcoin","client","crypto","cryptocurrency","cryptocurrency-exchanges","exchange","http-client","market-data","open-api","python","sdk","trading","ujhin","upbit","upbit-api","upbit-client"],"created_at":"2024-09-24T14:13:08.883Z","updated_at":"2026-03-06T04:03:49.292Z","avatar_url":"https://github.com/uJhin.png","language":"C++","readme":"\u003cdiv align='center'\u003e\n  \u003cimg src=\"logo/logo.png\" width=\"250\" height=\"250\"\u003e\n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003cdiv\u003e\n    \u003ca href=\"https://github.com/uJhin/upbit-client/releases\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/v/release/uJhin/upbit-client\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/upbit-client/\"\u003e\n      \u003cimg src=\"https://img.shields.io/pypi/v/upbit-client\"/\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    \u003ca href=\"https://github.com/uJhin/upbit-client/issues\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/issues/uJhin/upbit-client\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/uJhin/upbit-client/blob/main/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/uJhin/upbit-client\"/\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://ujhin.github.io/upbit-client-docs/\"\u003e\n    \u003cb\u003eUpbit Client Documents\u003c/b\u003e\n  \u003c/a\u003e\n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eSupport\u003c/h2\u003e\n    \u003ca href=\"https://upbit.com/\"\u003e\n      \u003cimg src=\"logo/upbit_logo.png\" width=\"250\" height=\"100\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://swagger.io/\"\u003e\n      \u003cimg src=\"logo/swagger_logo.png\" width=\"250\" height=\"100\"\u003e\n    \u003c/a\u003e\n    \u003cbr/\u003e\u003cbr/\u003e\n    \u003cdiv\u003e\n      \u003c!-- \u003cimg src=\"https://img.shields.io/github/stars/uJhin/upbit-client?style=social\"/\u003e --\u003e\n    \u003c/div\u003e\n    \u003cbr/\u003e\n  \u003c/div\u003e  \n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eUpbit Client\u003c/h1\u003e\n  \u003cp\u003eUpbit(업비트) Cryptocurrency Exchange API Client\u003c/p\u003e\n\u003c/div\u003e\n\n### Description\nUpbit(업비트) Cryptocurrency Exchange Open API Client of Multi-Programming Language Support\n\n\n### Swagger Generated Support Languages\n- [Python](https://github.com/uJhin/upbit-client/tree/main/swg_generated/python/)\n- [C++](https://github.com/uJhin/upbit-client/tree/main/swg_generated/cpp)\n- [CSharp](https://github.com/uJhin/upbit-client/tree/main/swg_generated/csharp/)\n- [Objective-C](https://github.com/uJhin/upbit-client/tree/main/swg_generated/objective-c)\n- [Java](https://github.com/uJhin/upbit-client/tree/main/swg_generated/java/)\n- [JavaScript](https://github.com/uJhin/upbit-client/tree/main/swg_generated/)\n- [PHP](https://github.com/uJhin/upbit-client/tree/main/swg_generated/php/SwaggerClient-php/)\n- [Android](https://github.com/uJhin/upbit-client/tree/main/swg_generated/android)\n- [Kotlin](https://github.com/uJhin/upbit-client/tree/main/swg_generated/)\n- [Go](https://github.com/uJhin/upbit-client/tree/main/swg_generated/go/)\n- [Lua](https://github.com/uJhin/upbit-client/tree/main/swg_generated/lua)\n- [R](https://github.com/uJhin/upbit-client/tree/main/swg_generated/r)\n- [Rust](https://github.com/uJhin/upbit-client/tree/main/swg_generated/rust)\n- [Scala](https://github.com/uJhin/upbit-client/tree/main/swg_generated/scala)\n\n### Install\n- `pip` command\n```console\npip install upbit-client\n```\n- `git` command\n```console\ngit clone https://github.com/uJhin/upbit-client.git\n```\n\n\n### Quick Start\n#### REST Client\n- Check Your API Keys\n```python\n# /v1/api_keys\n\nfrom upbit.client import Upbit\n\naccess_key = \"Your Access Key\"\nsecret_key = \"Your Secret Key\"\n\nclient = Upbit(access_key, secret_key)\napi_keys = client.APIKey.APIKey_info()\nprint(api_keys['result'])\n```\n\n- Buy Currency\n```python\n# /v1/orders\n\nfrom upbit.client import Upbit\n\naccess_key = \"Your Access Key\"\nsecret_key = \"Your Secret Key\"\n\nclient = Upbit(access_key, secret_key)\norder = client.Order.Order_new(\n    market='KRW-BTC',\n    side='bid',\n    volume='0.1',\n    price='3000000',\n    ord_type='limit'\n)\nprint(order['result'])\n```\n\n- Sell Currency\n\n```python\n# /v1/orders\n\nfrom upbit.client import Upbit\n\naccess_key = \"Your Access Key\"\nsecret_key = \"Your Secret Key\"\n\nclient = Upbit(access_key, secret_key)\norder = client.Order.Order_new(\n    market='KRW-BTC',\n    side='ask',\n    volume='0.1',\n    price='3000000',\n    ord_type='limit'\n)\nprint(order['result'])\n```\n\n#### WebSocket Client\n- Get Real-Time Ticker\n```python\n# Using WebSocket\n\nimport json\nimport asyncio\n\nfrom upbit.websocket import UpbitWebSocket\n\n\n# Definition async function\nasync def ticker(sock, payload):\n    async with sock as conn:\n        await conn.send(payload)\n        while True:\n            recv = await conn.recv()\n            data = recv.decode('utf8')\n            result = json.loads(data)\n            print(result)\n\n\nsock = UpbitWebSocket()\n\ncurrencies = ['KRW-BTC', 'KRW-ETH']\ntype_field = sock.generate_type_field(\n    type='ticker',\n    codes=currencies,\n)\npayload = sock.generate_payload(\n    type_fields=[type_field]\n)\n\nevent_loop = asyncio.get_event_loop()\nevent_loop.run_until_complete( ticker(sock, payload) )\n```\n\n### Donation\n\u003cdiv align=\"left\"\u003e\n  \u003cimg alt=\"uJhin's BTC\" src=\"https://img.shields.io/badge/BTC-3NVw2seiTQddGQwc1apqudKxuTqebpyL3s-blue?style=flat-square\u0026logo=bitcoin\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"uJhin's ETH\" src=\"https://img.shields.io/badge/ETH-0x60dd373f59862d9df776596889b997e24bee42eb-blue?style=flat-square\u0026logo=ethereum\"\u003e\n\u003c/div\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujhin%2Fupbit-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujhin%2Fupbit-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujhin%2Fupbit-client/lists"}