# Japan Subsidies & Grants Scraper (jGrants) 🇯🇵 💰 $5/1K (`datakura/japan-subsidies-scraper`) Actor

Extract Japanese government subsidies & grants from the official jGrants API (Digital Agency): amounts, subsidy rates, deadlines, target industries/regions, full descriptions and application documents — filter by keyword and acceptance status.

- **URL**: https://apify.com/datakura/japan-subsidies-scraper.md
- **Developed by:** [Datakura Studio](https://apify.com/datakura) (community)
- **Categories:** Business, Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 subsidy 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Japan Subsidies & Grants Scraper — official jGrants data, structured

Extract **Japanese government subsidies and grants (補助金・助成金)** from **jGrants**, the Digital Agency's official subsidy application portal. Keyword search, open-application filtering, and full detail enrichment — amounts, subsidy rates, deadlines, target industries, target regions, employee-size conditions, full descriptions and application-document metadata — returned as clean structured JSON.

The source is an official government API: legal to use, token-free, and exceptionally stable.

### What data does it extract?

| Field | Description |
|---|---|
| `subsidyId` / `code` | jGrants record ID and subsidy code |
| `title` | Subsidy name (e.g. `【久留米市】小規模事業者デジタル化支援補助金`) |
| `catchPhrase` | One-line summary when provided |
| `institution` | Granting institution |
| `targetArea` / `targetAreaDetail` | Target region (`全国` or prefecture) + detail |
| `employeeLimit` | Employee-count condition (e.g. `20名以下`) |
| `maxAmountJpy` | Maximum grant amount in JPY |
| `subsidyRate` | Subsidy rate (e.g. `1/2`, `2/3`) when provided |
| `industries` | Target industries (array) |
| `usePurposes` | Use purposes (array, e.g. `設備整備・IT導入をしたい`) |
| `acceptanceStartAt` / `acceptanceEndAt` | Application window (ISO 8601) |
| `projectEndDeadline` | Project completion deadline |
| `isAcceptingViaJgrants` | Whether applications go through jGrants itself |
| `descriptionText` / `descriptionHtml` | Full description (plain text + original HTML) |
| `officialPageUrl` | Official jGrants detail page |
| `applicationGuidelines` / `applicationForms` / `grantOutlines` | Application document names + sizes |
| `scrapedAt` | ISO timestamp of extraction |

### Sample output

```json
{
  "subsidyId": "a0WJ200000CDbpCMAT",
  "code": "S-00009403",
  "title": "【久留米市】久留米市小規模事業者デジタル化支援補助金（令和８年度）",
  "targetArea": "福岡県",
  "employeeLimit": "20名以下",
  "maxAmountJpy": 200000,
  "industries": ["建設業", "製造業", "卸売業、小売業"],
  "usePurposes": ["設備整備・IT導入をしたい"],
  "acceptanceStartAt": "2026-06-23T23:30:00.000Z",
  "acceptanceEndAt": "2026-12-28T08:15:00.000Z",
  "descriptionText": "市内小規模事業者のデジタル化を支援…",
  "officialPageUrl": "https://www.jgrants-portal.go.jp/subsidy/a0WJ200000CDbpCMAT",
  "applicationForms": [
    { "name": "2-2 支出計画書（第２号様式-2）.xls", "approxSizeBytes": 35841 }
  ],
  "scrapedAt": "2026-07-08T01:20:00.000Z"
}
````

### Input

- **`keywords`** — search terms to sweep (min. 2 chars each); results are merged and **deduplicated**. Broad terms like `補助金` return the whole catalog; combine narrow terms like `デジタル`, `省エネ`, `創業`, `輸出`
- **`acceptingOnly`** — ON (default): only subsidies currently accepting applications; OFF: full catalog
- **`includeDetails`** — ON (default): enrich each record with full description, rates, industries, documents
- **`sort`** / **`order`** — newest first by default; sort by acceptance start/deadline too
- **`maxItems`** — cap on results; you are only charged for what you get

### Pricing (pay per event)

| Usage | Approx. cost |
|---|---|
| 50 subsidies (default) | $0.27 |
| 500 subsidies | $2.52 |
| Full open catalog (~2,400) | ~$12 |

Actor start: $0.02 + $0.005 per subsidy (detail enrichment included). No subscription, no rental fee. A daily "what's new" monitoring run costs pennies.

### Common use cases

- **Grant-consulting lead engine** — 士業/consultants: alert clients the day a matching subsidy opens (region × industry × employee size are all structured fields)
- **SaaS / fintech integrations** — power "subsidies you qualify for" features in accounting, banking or HR products
- **AI agents / RAG pipelines** — full descriptions in every record make this a drop-in source for LLM matching and summarization

### Use from AI agents (MCP)

This Actor can be called as an MCP tool via [Apify MCP server](https://mcp.apify.com). Point your agent to `mcp.apify.com` and search for this Actor by name.

### FAQ

**Is this legal?** Yes. jGrants' public API is operated by Japan's Digital Agency precisely so subsidy information can be reused programmatically. No personal data.

**Why is `maxAmountJpy` sometimes 0 or fields null?** The portal aggregates records from many institutions; not every field is populated at the source. `title`, `targetArea`, acceptance dates and `officialPageUrl` are reliably present.

**Can I get the application files themselves?** The API embeds files as base64 (several MB each), which would blow up dataset items — this Actor returns file names + sizes instead, and every record links to its official page where files are downloadable.

**Does it include municipal subsidies?** It includes everything published on jGrants (national + prefectural + municipal). Some purely local subsidies are never posted to jGrants — that subset is out of scope.

**Something broken?** Open an issue on this Actor's page — fixes ship within 24 hours.

***

*Maintenance notes (internal): list = `GET /exp/v1/public/subsidies?keyword=..&sort=..&order=..&acceptance=0|1` (keyword REQUIRED, min 2 chars, else `{"message":"Bad request"}` HTTP 400). NO pagination — full set in one response (verified count=2418 → len=2418). Detail = `GET /subsidies/id/{id}`; `application_*`/`outline_of_grant` embed base64 file payloads (one record hit 12 MB > Apify's 9 MB item limit — metadata-only mapping is load-bearing). Legitimate empty = `metadata.resultset.count: 0`. Verified 2026-07-08.*

# Actor input Schema

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

Keywords to sweep (each min. 2 characters, Japanese works best). Results are merged and deduplicated. Broad defaults like <code>補助金</code> return the whole catalog; narrow with terms like <code>デジタル</code>, <code>省エネ</code>, <code>創業</code>.

## `acceptingOnly` (type: `boolean`):

ON = only subsidies whose application window is open now. OFF = full catalog including past/upcoming rounds.

## `includeDetails` (type: `boolean`):

Enrich each subsidy with the detail record: full description, subsidy rate, target industries, use purposes, application documents and official page URL. Recommended.

## `sort` (type: `string`):

Sort field applied by the jGrants API.

## `order` (type: `string`):

Sort direction.

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

Maximum number of subsidies to return. Keep the default to try the Actor cheaply.

## Actor input object example

```json
{
  "keywords": [
    "補助金"
  ],
  "acceptingOnly": true,
  "includeDetails": true,
  "sort": "created_date",
  "order": "DESC",
  "maxItems": 50
}
```

# 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 = {
    "keywords": [
        "補助金"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datakura/japan-subsidies-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 = { "keywords": ["補助金"] }

# Run the Actor and wait for it to finish
run = client.actor("datakura/japan-subsidies-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "keywords": [
    "補助金"
  ]
}' |
apify call datakura/japan-subsidies-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=datakura/japan-subsidies-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Japan Subsidies & Grants Scraper (jGrants) 🇯🇵 💰 $5/1K",
        "description": "Extract Japanese government subsidies & grants from the official jGrants API (Digital Agency): amounts, subsidy rates, deadlines, target industries/regions, full descriptions and application documents — filter by keyword and acceptance status.",
        "version": "0.1",
        "x-build-id": "Sy45RDLPYX1pqVfKI"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/datakura~japan-subsidies-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-datakura-japan-subsidies-scraper",
                "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/datakura~japan-subsidies-scraper/runs": {
            "post": {
                "operationId": "runs-sync-datakura-japan-subsidies-scraper",
                "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/datakura~japan-subsidies-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-datakura-japan-subsidies-scraper",
                "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": {
                    "keywords": {
                        "title": "Search keywords",
                        "type": "array",
                        "description": "Keywords to sweep (each min. 2 characters, Japanese works best). Results are merged and deduplicated. Broad defaults like <code>補助金</code> return the whole catalog; narrow with terms like <code>デジタル</code>, <code>省エネ</code>, <code>創業</code>.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "acceptingOnly": {
                        "title": "Currently accepting applications only",
                        "type": "boolean",
                        "description": "ON = only subsidies whose application window is open now. OFF = full catalog including past/upcoming rounds.",
                        "default": true
                    },
                    "includeDetails": {
                        "title": "Fetch full details",
                        "type": "boolean",
                        "description": "Enrich each subsidy with the detail record: full description, subsidy rate, target industries, use purposes, application documents and official page URL. Recommended.",
                        "default": true
                    },
                    "sort": {
                        "title": "Sort by",
                        "enum": [
                            "created_date",
                            "acceptance_start_datetime",
                            "acceptance_end_datetime"
                        ],
                        "type": "string",
                        "description": "Sort field applied by the jGrants API.",
                        "default": "created_date"
                    },
                    "order": {
                        "title": "Order",
                        "enum": [
                            "DESC",
                            "ASC"
                        ],
                        "type": "string",
                        "description": "Sort direction.",
                        "default": "DESC"
                    },
                    "maxItems": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum number of subsidies to return. Keep the default to try the Actor cheaply.",
                        "default": 50
                    }
                }
            },
            "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
