Kiwoom Securities Unveils CLI for Searching, Running Stock APIs by Command

207 Sample Codes Provided for Korean Stocks MCP and Plugins to Roll Out Sequentially in August

Finance|
|
By Shin Ji-min
||
Kiwoom Securities - Seoul Economic Daily Finance News from South Korea
Kiwoom Securities

Kiwoom Securities (039490.KS) has unveiled a development tool that lets users search and run Korean stock application programming interfaces (APIs) via commands.

Kiwoom Securities said on the 21st that it had released a REST API-based command-line interface (CLI) and sample codes for Korean stocks, developed in collaboration with LiveData, an artificial intelligence (AI) agent and AI transformation (AX) company.

The CLI is a tool that supports developers in handling everything from searching Kiwoom Securities' REST API to authentication, downloading sample codes, and execution by entering commands. Previously, developers had to review API documentation directly to find the functions they needed, but the CLI allows related procedures to be carried out in a single environment.

Developers can complete authentication and basic environment configuration with the "kwcli setup" command. Entering "kwcli spec search" also allows them to check the specifications of the API they want.

The Korean stock sample codes released alongside the CLI are organized by REST API for quotes, accounts, and orders. A total of 207 executable codes are provided so users can copy and run them immediately. They can also be used to develop trading services in connection with AI coding tools such as Claude Code and Cursor.

The CLI has been registered on PyPI, the Python package repository. It can be installed with the "pip install kwcli" command, and the CLI and sample codes can also be downloaded from a GitHub repository.

Kiwoom Securities explained that it lowered the entry barrier by integrating the development process—from API exploration to authentication and code execution—into a single tool. A confirmation procedure has been applied by default to the order function, reducing the possibility of erroneous orders being executed. The tool was designed so that not only professional developers but also ordinary investors using AI coding tools can use the REST API.

Following the release of the Korean stock CLI, Kiwoom Securities plans to sequentially launch the Model Context Protocol (MCP) and plugins in August. Through this, the company aims to expand the development environment for AI-based trading services.

"We provided the CLI together with sample codes so that even users encountering the REST API for the first time can start development easily and quickly," a Kiwoom Securities official said. "We will improve the developer experience in line with the AI-based development environment and build an ecosystem where various investment services can be developed."

Original reporting by Shin Ji-min for Seoul Economic Daily.

AI-translated from Korean. Quotes from foreign sources are based on Korean-language reports and may not reflect exact original wording.

Watch · Seoul Economic Daily

More →

AI KEY

Preview
Korean Corporate Intelligence HubKOSPI · KOSDAQ · 12 sectors

A live, cap-weighted view of every KOSPI and KOSDAQ sector, with same-day Korean reporting distilled by company — built for foreign investors, correspondents and analysts who need to scan Korea before the next session.

Korea Company Atlas

Preview
Market Ontology · The Feedback LoopKFTC 2025 · 92 groups · 121,954 articles

An English ontology of the Korean market — how companies, the media, the government and the National Assembly move each other in a loop. Korea's named controlling persons and designated business groups are a mechanism, not a risk to be priced blind.

SIGNAL

Pre-register
English Edition · Capital MarketsM&A · IPO · PE · Fund Flows

Pre-register for SIGNAL English Edition — a premium subscription bringing Korean capital markets coverage (M&A, IPOs, private equity, fund flows) to global institutional investors. First access to the 50% introductory rate.