# Japan Diet (Parliament) API — Batch Endpoint

> Japan Diet (Parliament) API — Batch Endpoint is a paid API for AI agents from diet.agentic-jp.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-13).

Batch query endpoint for Japan's National Diet data: member info, minutes search, LLM-generated proceeding summaries, topic tracking, and vote results, paid per call via USDC x402.

## Facts

- Endpoint: POST https://diet.agentic-jp.com/batch
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/japan-diet-parliament-api-batch-endpoint-d3712406
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qizk6q3gJjhBNlMqsal0C

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 japan-diet-parliament-api-batch-endpoint-d3712406 -d '<json body>'
```

Example prompt: Search the Japan National Diet records for any minutes and vote results related to the 2024 climate change bill, and give me an LLM summary of the key proceedings — use the batch operation for members and minutes.

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to Japan's National Diet data — member directories, searchable meeting minutes, AI-generated summaries of proceedings, or vote results — without needing a traditional API key. Ideal for agents handling Japanese political research, legislative monitoring, or civic data tasks.

## Known failure modes

- Payment failure if USDC x402 transaction is not completed correctly
- Invalid operation name returns error or empty results
- No matching records for the queried topic or date range
- Rate limiting or server error if batch is too large
- Malformed POST body returns HTTP 400

## How this service works

National Diet members, minutes search, LLM summaries of proceedings, topic tracking and vote results. Pay per call with USDC via x402 — no API key.

## Output

A JSON object containing a count of results and an array of result items, each with an id and success flag, plus the operation type performed (e.g. members, minutes, votes, summaries). The specific payload fields vary by operation type.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "maxItems": 100
  },
  "operation": {
   "enum": [
    "members"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "results": [
   {
    "id": "1",
    "success": true
   }
  ],
  "operation": "members"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/japan-diet-parliament-api-batch-endpoint-d3712406/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diet.agentic-jp.com](https://www.zero.xyz/host/diet.agentic-jp.com/llms.txt)
