search_japan_official_data
Fetch and filter records from one Japanese public dataset by prefecture, municipality code, corporate number, or keyword. Use after obtaining a dataset ID for single-table lookups and sampling.
Instructions
Fetch and filter actual data records from a single dataset using standardized parameters (prefecture name, 5-digit JIS municipality code, 13-digit corporate number, or free-text keyword). Multiple filters are combined using logical AND. WHEN TO USE: Use for fast, single-table record lookups and filtered sampling once you know the 'dataset_id'. WHEN NOT TO USE: Do not use for discovering dataset IDs (use 'list_japan_datasets'), inspecting column schemas (use 'describe_japan_dataset'), or performing cross-table JOINs and GROUP BY aggregations (use 'execute_japan_megabank_sql').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional case-insensitive free-text substring search across company names, facility names, address fields, or contract titles (e.g., 'Cloud', 'Hospital'). | |
| limit | No | Maximum number of matching records to return (1 to 100, default: 10). | |
| dataset_id | Yes | Target dataset ID obtained from 'list_japan_datasets' (e.g., 'demographics', 'procurement', 'medical', 'companies', 'real_estate'). | |
| prefecture | No | Optional prefecture filter in English romaji or Japanese kanji (e.g., 'Tokyo', 'Osaka', 'Hokkaido', '東京都'). Case-insensitive. | |
| corporate_number | No | Optional exact 13-digit Japan National Tax Agency corporate number string (e.g., '1000012010019') or 10-digit US SEC CIK. | |
| municipality_code | No | Optional 5-digit JIS municipality code string with leading zero preserved (e.g., '13101' for Chiyoda-ku, '01101' for Sapporo). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of records returned or matched. | |
| records | No | Array of normalized record objects matching the filter criteria. |