KRX Korean Stocks — KOSPI & KOSDAQ Daily OHLCV
Pricing
Pay per usage
KRX Korean Stocks — KOSPI & KOSDAQ Daily OHLCV
Daily OHLCV for 2,600+ KOSPI & KOSDAQ stocks from KRX official API. Market cap, volume, price change. Free KRX API key required. PPE $0.0003/stock.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Hojun Lee
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
19 hours ago
Last modified
Categories
Share
KRX Korean Stocks — Daily OHLCV (KOSPI & KOSDAQ)
Fetch official end-of-day stock data for 2,600+ Korean equities directly from the Korea Exchange (KRX) Open API. Covers KOSPI, KOSDAQ, KONEX, and ETFs. Includes OHLCV, market cap, volume, price change percentage, and index-level data.
What is KRX?
Korea Exchange (KRX) is the sole securities exchange operator in South Korea. It operates three markets:
- KOSPI — Korea Composite Stock Price Index, the main large-cap board (~800 companies, includes Samsung, Hyundai, SK Hynix)
- KOSDAQ — Korea Securities Dealers Automated Quotations, the tech/growth board (~1,600 companies)
- KONEX — Korea New Exchange, the SME/startup board
- ETF — Exchange-traded funds listed on KRX
KRX publishes an official Open API (data-dbg.krx.co.kr) with daily market data. Data is end-of-day only — no real-time quotes.
Data Freshness
- T+1 delay — today's closing prices are available the next business day (typically after 09:00 KST)
- The actor auto-detects the most recent available trading day if no date is specified
- Weekends and Korean public holidays are automatically skipped
How to Get a Free KRX API Key
- Visit https://openapi.krx.co.kr
- Click "회원가입" (Sign Up) — individual accounts allowed
- After email verification and approval (~1 business day), log in
- Go to "인증키 신청" (Request API Key)
- Copy your
AUTH_KEYand use it as theapiKeyinput
Free tier: 10,000 calls/day. Sufficient for full market coverage.
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Your KRX Open API key |
markets | array | ["kospi","kosdaq"] | Markets: kospi, kosdaq, konex, etf |
date | string | auto | Date in YYYYMMDD format. Defaults to latest trading day |
lookbackDays | integer | 1 | Fetch multiple days (1–30). Non-trading days are skipped |
tickerFilter | array | all | Filter to specific ticker codes (e.g. ["005930"] for Samsung) |
minMarketCapBillion | number | none | Minimum market cap in KRW billions |
telegramBotToken | string | none | Optional Telegram bot token for run summary |
telegramChatId | string | none | Telegram chat ID for alerts |
Output Fields
Each record in the dataset contains:
| Field | Description |
|---|---|
date | Trading date (YYYY-MM-DD) |
market | KOSPI, KOSDAQ, KONEX, or ETF |
ticker | Stock ticker / issue code (e.g. 005930) |
name | Company name in Korean (e.g. 삼성전자) |
close | Closing price (KRW) |
open | Opening price (KRW) |
high | Day high (KRW) |
low | Day low (KRW) |
volume | Trading volume (shares) |
trading_value_krw | Total trading value (KRW) |
market_cap_krw | Market capitalization (KRW) |
change_pct | Price change percentage vs previous close |
price_change | Absolute price change (KRW) |
listed_shares | Total listed shares |
record_type | stock, etf, or index |
Example Use Cases
1. All KOSPI stocks for the latest trading day
{"apiKey": "YOUR_KRX_API_KEY","markets": ["kospi"]}
2. Samsung Electronics (005930) price history — last 5 trading days
{"apiKey": "YOUR_KRX_API_KEY","markets": ["kospi"],"lookbackDays": 5,"tickerFilter": ["005930"]}
3. KOSPI large-caps only (market cap > 1 trillion KRW)
{"apiKey": "YOUR_KRX_API_KEY","markets": ["kospi"],"minMarketCapBillion": 1000}
4. All markets for a specific date
{"apiKey": "YOUR_KRX_API_KEY","markets": ["kospi", "kosdaq", "etf"],"date": "20250101"}
5. Full market scan with Telegram alert
{"apiKey": "YOUR_KRX_API_KEY","markets": ["kospi", "kosdaq"],"telegramBotToken": "YOUR_BOT_TOKEN","telegramChatId": "YOUR_CHAT_ID"}
Pricing (Pay-Per-Event)
| Event | Price |
|---|---|
| Stock record returned | $0.0003 per record |
| Index record returned | $0.0001 per record |
A typical full KOSPI + KOSDAQ run (~2,600 stocks) costs ~$0.78.
Notes
- Company names (
namefield) are in Korean (e.g.삼성전자,현대자동차) - Prices are in KRW (Korean Won) — 1 USD ≈ 1,300 KRW
- The
KONEXboard has limited API data availability - ETF records include a
navfield (Net Asset Value) when available - This actor uses the official KRX Open API — data is the same source as Bloomberg/Refinitiv KRX feeds