# Korea Government Grants Scraper (Bizinfo) (`koreadatalab/korea-grants-scraper`) Actor

Scrape currently-open Korean government support programs for SMEs from Bizinfo (bizinfo.go.kr) — title, deadline, days left, agency, and optionally the full text of HWPX/PDF attachments where the real eligibility criteria live.

- **URL**: https://apify.com/koreadatalab/korea-grants-scraper.md
- **Developed by:** [민수 김](https://apify.com/koreadatalab) (community)
- **Categories:** Automation, Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Government Grants Scraper — Bizinfo (기업마당)

### What does this Actor do?

This Actor scrapes **currently-open Korean government support programs** from [Bizinfo (bizinfo.go.kr)](https://www.bizinfo.go.kr), the official SME support portal operated under Korea's Ministry of SMEs and Startups. Every year thousands of grants, subsidies, export programs, and R\&D supports for Korean businesses are announced there — and the portal has **no public API**.

For each announcement you get the title, application period, **parsed deadline with days-left**, the responsible agency, and attachment download links. Turn on one switch and the Actor also **extracts the full text of HWPX and PDF attachments** — which matters, because the actual eligibility criteria (region, business type, revenue caps, exclusions) are almost never on the listing page. They live inside the attachments.

### Why use it?

- **No API exists.** Bizinfo is listing-page-only; even its `rows` parameter is ignored (15 items per page, always). This Actor handles the pagination for you.
- **Deadlines as data.** `2026.07.28 ~ 2026.08.14` becomes `deadline: "2026-08-14", daysLeft: 11`. Always-open programs are labeled explicitly.
- **The attachments are the point.** In a 57-announcement field test, **56% of announcements had disqualifying eligibility rules that appeared only in the attachments** — invisible on the listing. This Actor is the only scraper we know of that reads them (HWPX via built-in parser, PDF via poppler).
- **Honest failure reporting.** Legacy binary `.hwp` (HWP 5.x) and scanned-image PDFs cannot be extracted — each one is reported by name with the reason, never silently skipped.

### How to use it

1. Set **Max announcements** (default 30, newest first; up to ~1,500 open programs exist at any time).
2. Optionally enable **Extract attachment text** — slower, but this is where the eligibility rules are.
3. Run, then download the dataset as JSON, CSV, or Excel.

### Input

```json
{
    "maxItems": 30,
    "includeAttachmentText": true
}
```

### Output

```json
{
    "pid": "PBLN_000000000125031",
    "title": "2026년 빅웨이브 글로벌(일본 5차) 참가기업 모집 공고",
    "url": "https://www.bizinfo.go.kr/sii/siia/selectSIIA200Detail.do?pblancId=PBLN_000000000125031",
    "applicationPeriod": "2026.08.04 ~ 2026.08.21",
    "deadline": "2026-08-21",
    "daysLeft": 15,
    "agency": "중소벤처기업부",
    "attachments": [{ "atchFileId": "FILE_000000000767…", "fileSn": "0", "url": "…" }],
    "attachmentText": "…full text of the announcement attachments…",
    "attachmentTextLength": 9602,
    "attachmentErrors": [{ "file": "FILE_…", "error": "legacy binary HWP 5.x — not extractable" }]
}
```

| field | meaning |
|---|---|
| `deadline` / `daysLeft` | Parsed end date; `null` for always-open programs (see `applicationPeriod`) |
| `attachmentText` | Concatenated text of all readable attachments (HWPX + PDF, zip archives searched one level deep) |
| `attachmentErrors` | Per-file failures with reasons — HWP 5.x binaries and scanned PDFs are known limits |

### Pricing

Charged **per announcement scraped**. Attachment extraction adds platform usage (downloads) but no extra per-event fee.

### Limitations & fair use

- Requests are rate-limited (0.5 s apart) out of courtesy to the public portal. A 30-item run with attachments takes a few minutes.
- Legacy binary `.hwp` (pre-2014 format) and scanned-image PDFs are reported, not extracted.
- The data is public-sector information published for businesses; re-check the original announcement before applying — programs get amended.

### Related

Pairs with **HWPX Text Extractor** (same developer) if you only need the document-parsing half.

# Actor input Schema

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

How many currently-open announcements to scrape (newest first).

## `includeAttachmentText` (type: `boolean`):

Download each announcement's attachments and extract their full text. Eligibility criteria are usually only in the attachments. Slower and heavier.

## Actor input object example

```json
{
  "maxItems": 30,
  "includeAttachmentText": false
}
```

# 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("koreadatalab/korea-grants-scraper").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("koreadatalab/korea-grants-scraper").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 koreadatalab/korea-grants-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,koreadatalab/korea-grants-scraper"
        }
    }
}
```

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/1MoMX1shuAIlxkSPC/builds/uTZzBaq7RteeiFgsZ/openapi.json
