# JP Grants API — Japanese Government Subsidy & Grant Detail Lookup

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

Retrieves detailed information for a specific Japanese government grant/subsidy by ID, including name, outline, subsidy rate, deadline, and max amount, aggregated from J-Grants, Mirasapo Plus, and e-Stat.

## Facts

- Endpoint: GET https://jp-grants-data-api.kasanegi123.workers.dev/api/grants/detail
- Price: $0.02/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-japanese-government-subsidy-grant-detail-lookup-e0c3dd84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VX3kaEEeXqs4nZchZBnqG

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-japanese-government-subsidy-grant-detail-lookup-e0c3dd84
```

Example prompt: Can you pull up the full details for Japanese government grant ID a0WJ200000CDYBTMA5 — I want to know the subsidy rate, maximum amount, deadline date, and how many days I have left to apply?

## When to prefer this

Use this endpoint when you have a specific Japanese government grant ID (from J-Grants or related sources) and need full canonical details — outline, subsidy rate, deadline, and max amount — in a single low-cost call. Prefer this over search/list endpoints when you already know the grant_id and want authoritative structured data for a specific grant rather than browsing options.

## Known failure modes

- Invalid or unknown grant_id returns shape-preview echo with no real data (402 unpaid response pattern)
- Payment not processed — returns 402 with preview shape instead of full data
- grant_id not found in D1 database — may return empty or null fields
- Network timeout on Cloudflare Worker edge node
- Stale data if grant has recently closed or details have changed upstream

## 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

Returns a JSON object with the grant's canonical Japanese name, full outline description, ministry name and label, subsidy rate (e.g. '2/3'), deadline date (ISO format), deadline type (fixed/rolling), days until deadline, maximum subsidy amount in JPY, and application method — all sourced from D1-backed aggregation of J-Grants, Mirasapo Plus, and e-Stat.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "<Grant name in Japanese UTF-8, e.g. IT Nyuusho Hojoskin>",
  "_role": "shape_preview_echoes_query_for_paid_response",
  "outline": "<full paid response returns outline from D1 jp_grants>",
  "grant_id": "a0WJ200000CDYBTMA5",
  "ministry": "meti",
  "_attribution": {
   "j_grants": "Digital Agency J-Grants (jgrants-portal.go.jp)"
  },
  "_sample_note": "Unpaid 402 shape preview echoes the requested grant_id; full paid response queries D1 jp_grants and returns the canonical name + outline + subsidy_rate + deadline.",
  "subsidy_rate": "2/3",
  "deadline_date": "2026-06-30",
  "deadline_type": "fixed",
  "ministry_label": "METI (Ministry of Economy, Trade and Industry)",
  "application_method": "Online via J-Grants",
  "max_subsidy_amount": 4500000,
  "days_until_deadline": 67
 },
 "mimeType": "application/json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jp-grants-api-japanese-government-subsidy-grant-detail-lookup-e0c3dd84/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)
