# Korea Economic Data API: Bank of Korea ECOS in English (`cipherhouse/korea-bok-ecos-macro-data`) Actor

South Korea economic data in English from Bank of Korea ECOS: base rate, GDP, M2, balance of payments, FX reserves, producer and trade prices, bank rates and sentiment. No Korean API key. $3 per 1,000 rows.

- **URL**: https://apify.com/cipherhouse/korea-bok-ecos-macro-data.md
- **Developed by:** [CipherHouse Labs](https://apify.com/cipherhouse) (community)
- **Categories:** Business, Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 observation records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Korea Economic Data API: Bank of Korea ECOS in English

**South Korea macroeconomic data API**: Bank of Korea base rate, GDP, M2 money supply, balance of payments, foreign exchange reserves, producer and import/export prices, bank interest rates and sentiment indices as time series in JSON, CSV or Excel with English names. No Korean API key.

**No Korean API key, no Korean account, no phone verification, no statistic codes to look up.** Use it from the Apify API, schedules, n8n, Make, or as an MCP tool for AI agents.

### 30-second quickstart

One HTTP call returns the data ([get your Apify token](https://console.apify.com/settings/integrations)):

```bash
curl -X POST "https://api.apify.com/v2/acts/cipherhouse~korea-bok-ecos-macro-data/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"indicators": ["base_rate", "real_gdp", "m2"], "lastPeriods": 6}'
```

Real output (one record, shortened):

```json
{
  "indicator_id": "real_gdp",
  "series_name": "Real GDP, seasonally adjusted, chained 2020 prices",
  "period": "2026-Q3",
  "value": 606288.1,
  "unit": "Bil.Won",
  "source": "Bank of Korea ECOS"
}
```

This call (18 observations) costs about **$0.05**.

### Use it from Claude or Cursor (MCP)

Claude Code (then run `/mcp` to sign in to Apify):

```bash
claude mcp add --transport http korea-macro "https://mcp.apify.com/?tools=cipherhouse/korea-bok-ecos-macro-data"
```

Cursor (`.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "korea-macro": {
      "url": "https://mcp.apify.com/?tools=cipherhouse/korea-bok-ecos-macro-data",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}
```

### Indicators

| id | Series | Frequency |
|---|---|---|
| `base_rate` | Bank of Korea Base Rate | daily |
| `deposit_rate` | Time and savings deposit rate, new business | monthly |
| `lending_rate` | Bank lending rate, new business | monthly |
| `mortgage_rate` | Household housing loan rate, new business | monthly |
| `m2` | M2 money supply, average balance, not seasonally adjusted | monthly |
| `real_gdp` | Real GDP, seasonally adjusted, chained 2020 prices | quarterly |
| `gdp_growth_qoq` | Real GDP growth, quarter on quarter, seasonally adjusted | quarterly |
| `gdp_growth_yoy` | Real GDP growth, year on year | quarterly |
| `current_account` | Current account balance | monthly |
| `goods_balance` | Goods balance | monthly |
| `exports_goods` | Exports of goods (balance of payments basis) | monthly |
| `imports_goods` | Imports of goods (balance of payments basis, FOB) | monthly |
| `services_balance` | Services balance | monthly |
| `primary_income_balance` | Primary income balance | monthly |
| `secondary_income_balance` | Secondary income balance | monthly |
| `fx_reserves` | International reserves, total | monthly |
| `producer_price_index` | Producer Price Index, all items | monthly |
| `export_price_index_krw` | Export Price Index, all items, won basis | monthly |
| `export_price_index_usd` | Export Price Index, all items, US dollar basis | monthly |
| `import_price_index_krw` | Import Price Index, all items, won basis | monthly |
| `import_price_index_usd` | Import Price Index, all items, US dollar basis | monthly |
| `consumer_sentiment` | Composite Consumer Sentiment Index | monthly |
| `business_sentiment_all` | Business condition BSI (actual), all industries | monthly |
| `business_sentiment_manufacturing` | Business condition BSI (actual), manufacturing | monthly |

### Example input

```json
{ "indicators": ["base_rate", "gdp_growth_yoy", "current_account"], "lastPeriods": 8 }
```

```json
{ "indicators": ["m2", "fx_reserves"], "startDate": "2020-01", "endDate": "2025-12" }
```

Records also carry the official table name, item names and the attribution text. Values and units are exactly as published; `Bil.Won` is billion won, `Mil.U$` million US dollars, `Thou.U$` thousand US dollars. Records are ordered by indicator, newest first.

### Not included

Only statistics **compiled by the Bank of Korea** are offered. Won exchange rates (compiled by Seoul Money Brokerage) and the Consumer Price Index (compiled by the national statistics office) are third-party series and are **not** included.

### Notes

- Data is read live on each run. The Bank of Korea may revise or delay publications.
- Calls are throttled to respect the ECOS limit. If one series fails, the others are still returned and the failure is listed in the `SUMMARY` record.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Observation returned | **$0.003** ($3 per 1,000) |
| Actor start | $0.00005 per GB of memory |

The prefilled input returns 18 observations (about $0.05). Set **Max total charge** on the run to cap spending.

### Source and terms

Source: [Bank of Korea Economic Statistics System (ECOS)](https://ecos.bok.or.kr). Keep this attribution when you redistribute the data. Statistics are provided as published, without warranty. This independent tool is not affiliated with or endorsed by the Bank of Korea, and it is not investment advice.

# Actor input Schema

## `indicators` (type: `array`):

Bank of Korea series to return.

## `lastPeriods` (type: `integer`):

Days for the base rate, months or quarters for the others. Ignored if Start date is set.

## `startDate` (type: `string`):

Optional. Return everything from this date.

## `endDate` (type: `string`):

Optional. Defaults to today (Korea time).

## `maxItems` (type: `integer`):

Upper limit for the whole run, filled in indicator order, newest first. You pay per observation returned.

## Actor input object example

```json
{
  "indicators": [
    "base_rate",
    "m2",
    "current_account"
  ],
  "lastPeriods": 6,
  "maxItems": 1000
}
```

# Actor output Schema

## `observations` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "indicators": [
        "base_rate",
        "m2",
        "current_account"
    ],
    "lastPeriods": 6
};

// Run the Actor and wait for it to finish
const run = await client.actor("cipherhouse/korea-bok-ecos-macro-data").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "indicators": [
        "base_rate",
        "m2",
        "current_account",
    ],
    "lastPeriods": 6,
}

# Run the Actor and wait for it to finish
run = client.actor("cipherhouse/korea-bok-ecos-macro-data").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "indicators": [
    "base_rate",
    "m2",
    "current_account"
  ],
  "lastPeriods": 6
}' |
apify call cipherhouse/korea-bok-ecos-macro-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cipherhouse/korea-bok-ecos-macro-data"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oEiYWBnWIf6OVJ9y4/builds/7KdZ8hogbUvcRqkv8/openapi.json
