e-Stat Japan Statistics API
Pricing
Pay per usage
e-Stat Japan Statistics API
Access Japan's official e-Stat government statistics API and export structured JSON for AI agents, data analysis, and automation.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Tsukasa Kobayashi
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
Fetch structured data from Japan's official government statistics portal, e-Stat, and push it directly into an Apify Dataset — ready for AI agents, data pipelines, and analytics workflows.
🇯🇵 What is e-Stat?
e-Stat is the official Japanese government statistics portal maintained by the Ministry of Internal Affairs and Communications. It provides access to hundreds of thousands of datasets covering population, economy, labor, education, health, and more — all freely available via API.
✨ What This Actor Does
- Calls the e-Stat REST API (
getStatsData) - Parses the response into clean, flat JSON records
- Pushes structured records to an Apify Dataset
- Works out-of-the-box with AI agents (Claude, GPT, etc.) via the Apify API
📥 Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
app_id | string | ✅ Yes | — | Your e-Stat API key (free) |
stat_id | string | No | 0003103532 | e-Stat statsDataId (dataset identifier) |
limit | integer | No | 100 | Max number of records to fetch (up to 100,000) |
📤 Output Format
Each record in the dataset contains:
{"value": "125124977","unit": "人","stat_name": "国勢調査","gov_org": "総務省統計局","title": "人口及び世帯(総務省統計局)","survey_date": "20201001","@area": "00000","@time": "2020100000","@unit": "人"}
🔑 How to Get an e-Stat API Key
- Go to e-Stat User Registration
- Register for a free account
- Navigate to API Function → Application registration
- Copy your
appId
The API key is free and has no usage limits for standard access.
🔍 Finding Dataset IDs (statsDataId)
- Visit e-Stat search
- Search for the statistics you want
- Open a dataset → the URL will contain
statsDataId=XXXXXXXXXX
Popular Dataset IDs
| ID | Dataset |
|---|---|
0003103532 | Population Census (国勢調査) |
0003215843 | Consumer Price Index (消費者物価指数) |
0003143513 | Labor Force Survey (労働力調査) |
0003411572 | GDP and National Accounts (国民経済計算) |
🤖 Use Cases
- AI Agents: Feed real-time Japanese government statistics into LLM pipelines
- Data Analysis: Pull population, economic, or labor data for research
- Dashboard Building: Automate data ingestion for BI tools (Tableau, Looker, etc.)
- Academic Research: Structured access to official Japanese statistical datasets
💰 Pricing
This Actor uses pay-per-use pricing on Apify. You are charged only for the compute units used per run — typically less than $0.01 per 1,000 records.