# Korea Tender Base Prices (기초금액) — Reserve Price Bands (`atomo-studio/korea-g2b-base-prices`) Actor

Published base prices for Korean government tenders, with the reserve-price band converted to actual KRW amounts. Goods, construction and services from the Public Procurement Service (조달청). No Korean API key needed.

- **URL**: https://apify.com/atomo-studio/korea-g2b-base-prices.md
- **Developed by:** [Atomo Studio](https://apify.com/atomo-studio) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 base price 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/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Korea Tender Base Prices (기초금액) — Reserve Price Bands

When a Korean public body puts a tender out, it publishes a **base price** (기초금액)
before bidding closes. That number is not the budget and it is not the winning bid —
it is the anchor the award price is derived from:

```
base price published
   → 15 candidate reserve prices generated within ±n% of it
   → 4 drawn at random on opening day, averaged  →  predetermined price
   → lower-limit rate applied                    →  award threshold
```

So if you know the base price and the band, you know the range the predetermined
price must fall in. That is the single most useful number for anyone pricing a bid
into the Korean public market — and roughly **800 base prices are published a day**.

The catch: the government API returns the band as bare percentages (`-3`, `+3`),
in Korean field names, split across three separate endpoints. **This Actor merges
the three, translates the schema, and converts the band into actual KRW amounts.**

### What you get

```json
{
  "notice_no": "R26BK01689620",
  "title_ko": "영화국제관광고등학교 2027학년도 신입생 교복 학교주관구매 입찰공고",
  "category": "Goods",
  "base_price_krw": 344560,
  "base_price_published_at": "2026-09-02T08:10:46",
  "reserve_price_range_start_pct": -3,
  "reserve_price_range_end_pct": 3,
  "reserve_price_band": { "min_krw": 334223, "max_krw": 354897 },
  "url": "https://www.g2b.go.kr/link/PNPE027_01/single/?bidPbancNo=R26BK01689620&bidPbancOrd=000",
  "source": "조달청 나라장터 (Public Procurement Service, Korea) via data.go.kr"
}
```

| Group | Fields |
|---|---|
| **Base price** | `base_price_krw`, `base_price_published_at`, `evaluation_base_amount_krw`, `difficulty_coefficient` |
| **Reserve band** | `reserve_price_range_start_pct`, `reserve_price_range_end_pct`, **`reserve_price_band` → `min_krw` / `max_krw`** |
| **Cost rates** | `labor_cost_rate_pct`, `general_admin_cost_rate_pct`, `profit_rate_pct`, `other_expenses_rate_pct` |
| **Statutory expenses** | `national_pension_krw`, `health_insurance_krw`, `retirement_fund_krw`, `safety_health_cost_krw`, `environment_cost_krw`, `subcontract_payment_guarantee_fee_krw` |
| **Identity** | `notice_no`, `notice_seq`, `bid_class_no`, `title_ko`, `category`, `url` |

Cost rates and statutory expenses are mostly populated for **construction and
services**; goods tenders usually carry the base price and band only.

Amounts come back as integers, dates as ISO 8601. `reserve_price_band` is computed
from the base price and the published band, so you do not have to do the arithmetic.

### Input

Every field is optional. The default is the last 7 days across all three categories.

| Field | Type | Notes |
|---|---|---|
| `startDate` / `endDate` | date | `YYYY-MM-DD`, Korea time |
| `categories` | array | `goods`, `construction`, `service` |
| `keywords` | array | Match on notice title. Korean or English |
| `minBasePriceKrw` | integer | Skip anything below this base price |
| `maxItems` | integer | Stop after N records. `0` = no limit |

Foreign procurement (외자) has no base-price data upstream, so it is not offered.

### Who this is for

- **Bidders and bid-support tools** modelling the predetermined price before submitting
- **Construction and services contractors** who need the statutory-expense components
  that feed the bid-price formula
- **Market analysts** tracking how agencies price what they buy
- **AI agents** that need Korean procurement pricing as structured context

Pairs with **Korea Public Tenders (나라장터)** — that Actor gives you the notices,
this one gives you the numbers behind them. Join on `notice_no`.

### Notes

**Source.** [조달청 나라장터 입찰공고정보서비스](https://www.data.go.kr/data/15129394/openapi.do),
published on Korea's national open-data portal under an unrestricted licence
(이용허락범위 제한 없음). Every record carries a `source` field and a `url` back to
the original notice.

**This is an API client, not a scraper.** Data comes from the government's own REST
API with a registered key. The g2b.go.kr website is never touched, so nothing here
breaks when the site is redesigned.

**No personal data.** Contact details are stripped from dedicated and free-text
fields alike and are never emitted.

***

### Development

```bash
export G2B_SERVICE_KEY='...'   # data.go.kr 인증키 (입찰공고 Actor와 같은 키)
python3 probe.py               # 오퍼레이션·필드명 대조
apify push                     # 배포
```

업스트림 필드가 바뀌면 조용히 빈 값이 나간다. 이상하면 `probe.py`부터 돌릴 것.

# Actor input Schema

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

Earliest base-price publication date, YYYY-MM-DD (Korea time). Defaults to 7 days ago.

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

Latest base-price publication date, YYYY-MM-DD (Korea time). Defaults to today.

## `categories` (type: `array`):

Which kinds of tender to include. Foreign procurement has no base-price data, so it is not offered.

## `keywords` (type: `array`):

Keep only records whose notice title matches one of these. Korean or English. Leave empty for everything.

## `minBasePriceKrw` (type: `integer`):

Skip records below this base price. Useful for filtering out small tenders. 0 = no filter.

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

Stop after this many records, spread evenly across the selected categories. Korea publishes roughly 800 base prices a day. 0 = no limit.

## Actor input object example

```json
{
  "categories": [
    "goods",
    "construction",
    "service"
  ],
  "keywords": [],
  "minBasePriceKrw": 0,
  "maxItems": 200
}
```

# Actor output Schema

## `basePrices` (type: `string`):

One record per tender — base price, reserve-price band in KRW, cost-component rates and statutory expenses.

## `downloadCsv` (type: `string`):

The same records as a spreadsheet.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("atomo-studio/korea-g2b-base-prices").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("atomo-studio/korea-g2b-base-prices").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 '{}' |
apify call atomo-studio/korea-g2b-base-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,atomo-studio/korea-g2b-base-prices"
        }
    }
}

```

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/BlEM1vXx1tfPp9lFE/builds/dxW8yynSym640lrmr/openapi.json
