Search Speeches
search_speechesFull-text search of Japanese National Diet (parliament) speeches back to 1947, via the National Diet Library's kokkai.ndl.go.jp API. Requires "query" and/or "speaker". Returns speaker, party (speaker_group), house, meeting, date, session, and a permalink for each hit — the actual speech text is a short preview here; fetch the full text with get_speech(speech_id). Queries are Japanese-first: kokkai.ndl.go.jp indexes speeches in Japanese, so Japanese keywords match; English keywords (e.g. "semiconductors" instead of "半導体") will under-match or return zero even when Japanese-language debate on the topic exists. PAGINATION: the API caps results at 100 per request (default 30) — check "next_start_record" in the response; if it is not null, more speeches exist beyond this page and were NOT returned. Never treat a page as the complete result set without checking it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Earliest speech date, inclusive, YYYY-MM-DD. | |
| house | No | Chamber: "衆議院" (House of Representatives), "参議院" (House of Councillors), "両院" (joint), or "両院協議会" (joint committee). | |
| query | No | Japanese keyword(s), space-separated for AND search, partial match. E.g. "半導体" (semiconductors), "少子化 対策" (declining birthrate AND countermeasures). English keywords under-match — prefer Japanese. | |
| until | No | Latest speech date, inclusive, YYYY-MM-DD. | |
| speaker | No | Speaker name in Japanese, partial match, e.g. "岸田文雄". OR-matched if it has multiple readings. | |
| max_records | No | Results per request, 1-100 (default 30). The API rejects values outside this range. | |
| start_record | No | 1-based offset for pagination (default 1). Use the previous response's "next_start_record" to fetch the next page. | |
| speaker_group | No | Political party / parliamentary group (会派) in Japanese, partial match, e.g. "立憲民主党". |