e-Stat Japan Statistics API avatar

e-Stat Japan Statistics API

Pricing

Pay per usage

Go to Apify Store
e-Stat Japan Statistics API

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

Tsukasa Kobayashi

Maintained by Community

Actor 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

ParameterTypeRequiredDefaultDescription
app_idstring✅ YesYour e-Stat API key (free)
stat_idstringNo0003103532e-Stat statsDataId (dataset identifier)
limitintegerNo100Max 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

  1. Go to e-Stat User Registration
  2. Register for a free account
  3. Navigate to API FunctionApplication registration
  4. Copy your appId

The API key is free and has no usage limits for standard access.

🔍 Finding Dataset IDs (statsDataId)

  1. Visit e-Stat search
  2. Search for the statistics you want
  3. Open a dataset → the URL will contain statsDataId=XXXXXXXXXX
IDDataset
0003103532Population Census (国勢調査)
0003215843Consumer Price Index (消費者物価指数)
0003143513Labor Force Survey (労働力調査)
0003411572GDP 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.

📚 Resources