# Japan National Diet Member Search

> Japan National Diet Member Search is a paid API for AI agents from diet.agentic-jp.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14, last successful call 2026-05-28).

Search current Japanese National Diet members by name (kanji, kana, or romaji), party, or constituency to resolve a politician to a canonical record ID

## Facts

- Endpoint: GET https://diet.agentic-jp.com/members/search
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-05-28
- Success rate: 100% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diet-agentic-jp-com-f6e4fd95
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r63f55qPrSEqbyvtkASgP

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 diet-agentic-jp-com-f6e4fd95
```

Example prompt: Can you find the Diet member record for 岸田文雄 — I need their canonical ID so I can look up their full profile?

## When to prefer this

Use this endpoint when you need to resolve a Japanese politician's name — in any script or romaji — to a structured member record with a canonical ID, before fetching full member details. Prefer this over free-text web search when you need a verified, structured ID for chained API calls.

## Known failure modes

- No matching members found for the query string
- Ambiguous query returns too many results requiring refinement
- Query parameter 'q' missing returns validation error
- Misspelled romaji or incorrect kanji yields zero results
- Network or upstream data source unavailability

## How this service works

Search current Japanese (JP) National Diet members by name (kanji, kana, or romaji), party, or constituency. Returns matching members with their canonical ids for use with GET /members/:id. Use to resolve a politician name to a record.

## Output

Returns a list of matching Diet member records including canonical member IDs, names (in kanji, kana, and/or romaji), party affiliation, and constituency, which can be passed to GET /members/:id for full profile details.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "q": "岸田"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Member name / party / constituency query"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "鈴木",
  "results": [
   {
    "name_ja": "鈴木 俊一",
    "member_id": "suzuki-shunichi"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diet-agentic-jp-com-f6e4fd95/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)
