# JP Grants API — Upcoming Japanese Government Subsidy Deadline Tracker

> JP Grants API — Upcoming Japanese Government Subsidy Deadline Tracker is a paid API for AI agents from jp-grants-data-api.kasanegi123.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns a list of upcoming Japanese government grant and subsidy deadlines within a specified time window, aggregated from J-Grants, Mirasapo Plus, and e-Stat sources.

## Facts

- Endpoint: GET https://jp-grants-data-api.kasanegi123.workers.dev/api/grants/upcoming
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jp-grants-api-upcoming-japanese-government-subsidy-deadline-tracker-fdca225c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NmiAcpGBIinK5k8-v7raP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability jp-grants-api-upcoming-japanese-government-subsidy-deadline-tracker-fdca225c
```

Example prompt: What Japanese government grants and subsidies are closing in the next 14 days? Focus on nationwide opportunities and flag anything urgent.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically discover and track upcoming Japanese government subsidy and grant deadlines without maintaining its own database. It is ideal for Japanese SME support tools, startup advisors, or grant-monitoring workflows that need near-real-time aggregated deadline data from official sources like J-Grants and Mirasapo Plus, without requiring an API key. Prefer it over manual web scraping of jgrants-portal.go.jp or mirasapo-plus.go.jp, which is fragile and unstructured.

## Known failure modes

- 402 Payment Required returned if x402 micropayment (0.05 USDC on Base) is not submitted — only a shape preview with placeholder fields is returned
- Empty data array if no grants fall within the requested deadline window
- Missing or partial data if upstream J-Grants or Mirasapo Plus sources are temporarily unavailable
- Prefecture filter returns no results if no grants match the specified region within the time window
- Non-UTF-8 rendering issues if client does not handle Japanese UTF-8 correctly

## How this service works

Japanese government subsidy / grant deadline tracker for AI agents (J-Grants + Mirasapo Plus + e-Stat aggregated). x402 micropayments on Base. No API key.

## Output

A JSON array of upcoming grant records each containing the grant name in Japanese, grant ID, responsible ministry, prefecture scope, exact deadline date, deadline type, urgency label, maximum subsidy amount in JPY, days until deadline, and an agent-actionable recommendation — plus attribution metadata from J-Grants and Mirasapo Plus sources, as-of date, and total count.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "name": "<Upcoming grant name in Japanese UTF-8>",
    "grant_id": "subsidy-99999",
    "ministry": "meti",
    "prefecture": "all",
    "deadline_date": "2026-05-13",
    "deadline_type": "fixed",
    "urgency_label": "urgent",
    "recommendation": "<phrase: full paid response returns 1-line agent-actionable recommendation>",
    "_history_source": "<full paid response returns row-level provenance from jp_grants_history>",
    "max_subsidy_amount": 1500000,
    "days_until_deadline": 7
   }
  ],
  "_role": "shape_preview_echoes_query_for_paid_response",
  "as_of_date": "2026-05-06",
  "days_filter": 14,
  "total_count": 5,
  "_attribution": {
   "j_grants": "Digital Agency J-Grants (jgrants-portal.go.jp)",
   "mirasapo": "METI Mirasapo Plus (mirasapo-plus.go.jp)"
  },
  "_sample_note": "Unpaid 402 shape preview echoes the requested days window + prefecture filter; full paid response queries D1 jp_grants + Mirasapo live peek for grants with deadline within the window scoped to the prefecture.",
  "prefecture_filter": null
 },
 "mimeType": "application/json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jp-grants-api-upcoming-japanese-government-subsidy-deadline-tracker-fdca225c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jp-grants-data-api.kasanegi123.workers.dev](https://www.zero.xyz/host/jp-grants-data-api.kasanegi123.workers.dev/llms.txt)
