{
  "openapi": "3.0.1",
  "info": {
    "title": "Korea Gov Grants & Startup Programs (BizInfo, K-Startup)",
    "description": "Every open Korean government support program for SMEs and startups from BizInfo (기업마당): funding, R&D, export, hiring and startup grants from ministries and local governments, as clean JSON with optional English translation.",
    "version": "0.5",
    "x-build-id": "7uCepyTFW0e4CVNJO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cm504~korea-gov-grants/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cm504-korea-gov-grants",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/cm504~korea-gov-grants/runs": {
      "post": {
        "operationId": "runs-sync-cm504-korea-gov-grants",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/cm504~korea-gov-grants/run-sync": {
      "post": {
        "operationId": "run-sync-cm504-korea-gov-grants",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Which South Korean portals to read. bizinfo = BizInfo (기업마당, Ministry of SMEs and Startups): SME support programs from ministries, local governments and public agencies, with attached-notice analysis. kstartup = K-Startup (창업진흥원, KISED): startup programs with target, business-age and applicant-age fields. Default: both.",
            "items": {
              "type": "string",
              "enum": [
                "bizinfo",
                "kstartup"
              ],
              "enumTitles": [
                "BizInfo (기업마당)",
                "K-Startup (창업진흥원)"
              ]
            },
            "default": [
              "bizinfo",
              "kstartup"
            ]
          },
          "maxItems": {
            "title": "Maximum announcements per source",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum announcements returned from each source (newest first), e.g. 5 for a quick look, 100+ for an export. BizInfo usually has 1,000 to 1,500 open announcements and K-Startup about 150. With attachment analysis on, each BizInfo announcement takes about 10 seconds. Charged per announcement.",
            "default": 5
          },
          "fields": {
            "title": "Support fields",
            "type": "array",
            "description": "BizInfo support categories to include (Korean values): 금융 Finance, 기술 Technology & R&D, 인력 Workforce, 수출 Export, 내수 Domestic market, 창업 Startup, 경영 Management, 기타 Other. K-Startup announcements are not filtered by this. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "금융",
                "기술",
                "인력",
                "수출",
                "내수",
                "창업",
                "경영",
                "기타"
              ],
              "enumTitles": [
                "Finance",
                "Technology & R&D",
                "Workforce",
                "Export",
                "Domestic market",
                "Startup",
                "Management",
                "Other"
              ]
            },
            "default": []
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Only programs for these regions, Korean values: 서울 Seoul, 부산 Busan, 대구 Daegu, 인천 Incheon, 광주 Gwangju, 대전 Daejeon, 울산 Ulsan, 세종 Sejong, 경기 Gyeonggi, 강원 Gangwon, 충북, 충남, 전북, 전남, 경북, 경남, 제주 Jeju. NATIONWIDE = central-government programs with no region in the title. Empty = all regions.",
            "items": {
              "type": "string",
              "enum": [
                "NATIONWIDE",
                "서울",
                "부산",
                "대구",
                "인천",
                "광주",
                "대전",
                "울산",
                "세종",
                "경기",
                "강원",
                "충북",
                "충남",
                "전북",
                "전남",
                "경북",
                "경남",
                "제주"
              ],
              "enumTitles": [
                "Nationwide (central government)",
                "Seoul",
                "Busan",
                "Daegu",
                "Incheon",
                "Gwangju",
                "Daejeon",
                "Ulsan",
                "Sejong",
                "Gyeonggi",
                "Gangwon",
                "Chungbuk",
                "Chungnam",
                "Jeonbuk",
                "Jeonnam",
                "Gyeongbuk",
                "Gyeongnam",
                "Jeju"
              ]
            },
            "default": []
          },
          "keyword": {
            "title": "Keyword (Korean)",
            "type": "string",
            "description": "Only announcements whose Korean title contains this text (Korean only), e.g. 수출 (export), 바우처 (voucher), R&D, 스마트공장 (smart factory), 청년 (youth), 해외 (overseas). Empty = no keyword filter.",
            "default": ""
          },
          "postedSince": {
            "title": "Posted on or after",
            "type": "string",
            "description": "Only announcements posted on or after this date (YYYY-MM-DD), e.g. 2026-11-01. Useful for daily or weekly monitoring runs; for automatic 'since last run' use Only new announcements instead."
          },
          "includeClosed": {
            "title": "Include closed announcements",
            "type": "boolean",
            "description": "Also return announcements whose application period has ended (BizInfo archive has over 25,000). Off = only programs still open for applications.",
            "default": false
          },
          "fetchDetails": {
            "title": "Fetch full details",
            "type": "boolean",
            "description": "Open each announcement for summary, how to apply, contact, hashtags and attachment links. Required for attachment analysis. Turn off for a fast list-only run (title, field, region, agency, period).",
            "default": true
          },
          "analyzeAttachments": {
            "title": "Analyze attached notices (eligibility, amounts, documents)",
            "type": "boolean",
            "description": "Download the attached notices (HWP, HWPX, PDF, DOCX, ZIP), read the full Korean text and extract English fields into 'eligibility': support type, maximum support in KRW, eligible applicants, company size and age, industries, regions, exclusions, deadline, required documents, selection process, key points. BizInfo only, about 10 s each. Charged per analyzed announcement.",
            "default": true
          },
          "includeAttachmentText": {
            "title": "Include full attachment text (Korean)",
            "type": "boolean",
            "description": "Also return the extracted Korean text of the attached notices in 'attachmentTexts', useful for search, RAG pipelines and AI agents. Makes the output much larger. Needs Fetch full details.",
            "default": false
          },
          "translateToEnglish": {
            "title": "Translate to English",
            "type": "boolean",
            "description": "Add English title, summary, how-to-apply, contact, agency names and hashtags (titleEn, summaryEn, …), translated by Claude (Anthropic). Agency and program names keep the Korean in parentheses. Charged per translated announcement. Off = Korean text only.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new announcements since the last run",
            "type": "boolean",
            "description": "For scheduled monitoring: return only announcements posted after the newest one seen in the previous run with the same Monitor name (per source). The first run returns the latest announcements and sets the starting point.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name of the 'only new' memory, so different schedules keep separate starting points, e.g. export-daily or seoul-weekly. Letters, numbers and hyphens.",
            "default": "default"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}