Install
openclaw skills install bank-of-korea-ecos-cliCommand-line client for Bank of Korea ECOS API to list statistic tables and fetch time series data in JSON by code and frequency.
openclaw skills install bank-of-korea-ecos-cliMinimal command-line client for the Bank of Korea Economic Statistics System (ECOS) Open API.
Clone and run in a virtualenv (or install once on your host/agent image):
python -m venv .venv && source .venv/bin/activate
pip install -e .
Environment variables:
kr or en (default: kr)Examples:
# Help
ecos-cli -h
# List statistic tables (first 1000)
ecos-cli table-list | jq '.[] | .[]? // .'
# Fetch a monthly time series for a statistic code between start/end dates
ecos-cli series 722Y001 M 202001 202412 | jq .
Notes:
YYYY for A/S, YYYYQQ for Q (ECOS accepts YYYYQ# in some cases), YYYYMM for M, YYYYMMDD for D./StatisticTableList/{API_KEY}/json/{lang}/{start}/{end}//StatisticSearch/{API_KEY}/json/{lang}/{start}/{end}/{STAT_CODE}/{CYCLE}/{START}/{END}/