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
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
a month 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.
