# Korea Tender Eligibility (면허·지역 제한) — Can You Even Bid? (`atomo-studio/korea-g2b-eligibility`) Actor

Licence, industry and region restrictions attached to Korean government tenders - the conditions that decide whether a company may bid at all. From the Public Procurement Service (조달청). No Korean API key needed.

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

## Pricing

from $4.00 / 1,000 eligibility 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 Eligibility (면허·지역 제한) — Can You Even Bid?

Before price, before schedule, before anything: **may your company bid on this
tender at all?**

Korean public bodies attach two kinds of gate to a tender — a **licence / industry**
requirement and a **region** requirement. Miss either and the bid is rejected on
submission. Roughly **2,600 restrictions are registered a day** across the two.

```
Licence   식품판매업(집단급식소식품판매업)  code 5246   · 15 allowed industries
Licence   축산물판매업(식육판매업)          code 4010   · 1 allowed industry
Region    경기도            Construction
Region    경상북도          Construction
```

The upstream API splits these across two endpoints and packs name and code into one
string (`시약판매업/7468`). **This Actor merges the two and separates name from code**,
so you can filter by code rather than by fuzzy Korean text.

### What you get

One record per restriction. A tender with two licence conditions and one region
condition produces three records, keyed by `notice_no` + `restriction_type` +
`restriction_seq`.

| Field | Notes |
|---|---|
| `restriction_type` / `_en` | `license` → "Licence / industry", `region` → "Region" |
| `required_license` | `{ name_ko, code }` — the licence a bidder must hold |
| `allowed_industries[]` | `{ name_ko, code }` — industry registrations accepted |
| `industry_fields[]` | `{ name_ko, code }` — specialist fields, where applicable |
| `region_ko` | Permitted region, e.g. `경기도`, `전남광주통합특별시 목포시` |
| `category_ko` / `category` | 물품 / 공사 / 용역 / 외자 → Goods / Construction / Services / Foreign |
| `restriction_group_no`, `restriction_seq` | Grouping when several conditions apply |
| `notice_no`, `notice_seq`, `registered_at`, `url` | Link back to the notice |

### Input

Every field is optional. The default is the last 7 days, both restriction types.

| Field | Type | Notes |
|---|---|---|
| `startDate` / `endDate` | date | `YYYY-MM-DD`, Korea time |
| `categories` | array | `license`, `region` |
| `keywords` | array | Match a licence name, industry or region. Korean or English — `전기공사`, `서울`, `소프트웨어` |
| `maxItems` | integer | Stop after N restrictions. `0` = no limit |

### Who this is for

- **Bidders** filtering the daily notice feed down to tenders they are actually
  allowed to enter — the single biggest time-saver in Korean procurement
- **Bid-support tools** that need to match a company's licences and location
  against open tenders automatically
- **Market analysts** measuring how restricted a category is, and which regions
  wall off their construction spend
- **AI agents** answering "is this client eligible for this tender?"

Join on `notice_no` with **Korea Public Tenders (나라장터)** for the notice itself,
then with the base-price, purchase-item and award-result Actors for the rest.

### 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, so nothing breaks when g2b.go.kr is redesigned.

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

***

### Development

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

# Actor input Schema

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

Earliest restriction registration date, YYYY-MM-DD (Korea time). Defaults to 7 days ago.

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

Latest restriction registration date, YYYY-MM-DD (Korea time). Defaults to today.

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

Which restrictions to fetch. Both by default.

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

Keep only restrictions matching one of these - a licence name, industry or region. Korean or English, e.g. 전기공사, 서울, 소프트웨어.

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

Stop after this many restrictions. Korea registers roughly 2,600 a day across both types. 0 = no limit.

## Actor input object example

```json
{
  "categories": [
    "license",
    "region"
  ],
  "keywords": [],
  "maxItems": 200
}
```

# Actor output Schema

## `restrictions` (type: `string`):

One record per restriction - licence, allowed industries or permitted region.

## `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-eligibility").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-eligibility").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-eligibility --silent --output-dataset

```

## MCP server setup

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

```

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/QWlfp7JVBVbNiGcRM/builds/JBY75sa82dsz7Rb0w/openapi.json
