# Japan Industrial Production Industry History (`jpmarketdata/japan-industrial-production-industry-history`) Actor

Export complete monthly2020-base industrial production, shipments, inventories and inventory-ratio histories by industry, retaining SA/NSA and native markers.

- **URL**: https://apify.com/jpmarketdata/japan-industrial-production-industry-history.md
- **Developed by:** [h ichi](https://apify.com/jpmarketdata) (community)
- **Categories:** Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$200.00 / 1,000 complete history snapshot delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Japan Industrial Production Industry History

Export complete monthly2020-base industrial production, shipments, inventories and inventory-ratio histories by industry, retaining SA/NSA and native markers.

### Input

Two official METI00550300 industry monthly2020-base files000040172363(SA)/000040172364(NSA), each retaining all4 related indices and native metric weights. The reviewed baseline covers155 industries ×104 months (2018-01–2026-08) ×2 variants =32240 full-history wide rows. The native files observed on2026-11-03 extend through2026-09:105 months and32550 full-history rows, including the provisional September observations. The requested start/end months select from the complete native history; later valid releases may extend it. No goods/item tables, annual/fiscal/quarterly frequency, forecasts/capacity, older-base linked series or own rebasing. Complete current native comparable history only, not all-vintage archive.

startMonth default2020-01, minimum2018-01; optional inclusive endMonth defaults native latest month. All native industry/metric/variant columns delivered. Empty or invalid date selection fails uncharged, explicit falsey non-object inputs rejected. No industry selector or per-result cap.

### Output and source semantics

One receipt links complete UTF-8 HISTORY.csv/HISTORY.json with count/hash/scope. Columns: period, isProvisional, sourcePeriodLabelsJson, seriesType, industryCode, industryName, productionIndex, shipmentsIndex, inventoryIndex, inventoryRatioIndex, rawValuesJson, nativeWeightsJson, baseYear, sourceStatInfId, observedAt, source, sourceUrl, licenseUrl, processingNote.

Indices are2020=100. SA and original NSA stay separate, production is native value-added production index, inventory ratio is itself an index rather than an ordinary percentage. Raw X/\*\*\* tokens preserved; normalized corresponding values null, never0/unmasking. Native weights differ by measure and remain source values; no reweighting/own growth/forecast. Histories are latest published revisions, not historical vintages. Preserve valid updated past numbers/weights.

COVERAGE includes publisher credit/processing note, own source metadata/bodySHA, complete native period/category inventories and source Notes; no government endorsement. Both own listing cards must bind industry/monthly2020-base/SAorNSA/provider00550/code00550300; own metadata and file ID exact. Before selectors validate all5sheets each workbook, all155code/name inventory, all4metric/title/unit/weight identities, all104known contiguous native months from2018-01, same period and industry populations across metric sheets and across variants. Retained known date/code inventories detect dropped old columns/industries; body/value hashes provenance only, not immutable acceptance gates. Later valid native periods may extend; gaps/duplicate identities/conflicting cards fail. Do not infer completeness from only the selected date range. Source update date and native latest period retained separately; no filename or nonzero latest heuristics.

### Limits and pricing

512MB declared; 45000 complete wide rows; 64MiB combined complete staged CSV+JSON cap; 6 sourceHTTP including robots/listing/ownmetadata/files;4MiBwire/8MiBdecoded per response,16MiBtotal,30s/request,180sdeadline,1sspacing. Fixed e-Stat HTTPS host/paths, no login,key,appId,browser,proxy or paid dependency. ZIP total decoded8MiB/workbook,each member4MiB,<=64members; validate dimensions/row/cell references before openpyxl, no VBA/formulas/external links. IIP all5 sheets<=200rows×200columns; commercial fixed11sheets<=800rows×256columns, monthly sheets35columns, Notes bounded to reviewed native dimensions. Fail limits without truncation. Document authors/internal filesystem paths/contacts excluded from fixtures/output.

One snapshot-delivered event at$0.20 for one complete HISTORY.csv/HISTORY.json pair plus one dataset receipt. No start/search/error/per-cell charge. Stage/hash complete files; verify whole-job capacity before client/HTTP, before persistence and after uncharged COVERAGE, coupled paid receipt strict integer charged_count=1. Free mode no event; zero capacity exits before HTTP; malformed/empty/partial result not billed. Platform rollback is not promised. Receipt URLs/counts/hash/scope match full named files; preview-limited dataset readback is insufficient proof.

Complete-file cost hypothesis uses$0.20gross×.8net, 64MiBcap,2external-sized file passes,30daystorage,180scompute and16MiBsource+operations reserve. See cost-sensitivity.json; retention/read/transfer billing ownership and remote SDK overhead remain unknown. Paid conversion and actual cloud margin unproven. Actual research projection maximum32240rows/39192126bytes, peakRSS385794048bytes includes SDK import and research serialization, not final Actor SDKLOCAL/cloud proof.

### Privacy

Source https://www.e-stat.go.jp/stat-search/files?layout=dataset\&toukei=00550300\&cycle=0, fixed government METI family only, files delivered by e-Stat own host. https://www.e-stat.go.jp/en/terms-of-use explicitly permits commercial reuse with credit/edit notice and protects third-party rights, compatibleCCBY4; numerical/simple table facts freely reusable. No blanket government-host licence inference, no arbitrary eStat/private-company source IDs or external API links. Only reviewed government aggregate tables and necessary source notes; no private raw-provider datasets/logos/contacts. Direct METI transport endpoints are blocked and not used.

`isProvisional` is true when at least one of the four native metric month headers has the official p/P provisional marker. `sourcePeriodLabelsJson` preserves each metric’s exact month-header cell as a JSON number or string, including that marker; CSV keeps the same JSON in one cell. The matched numeric source time code, complete month/industry inventories and all original values remain checked. Unknown qualifiers and conflicting month codes fail before delivery.

# Actor input Schema

## `startMonth` (type: `string`):

Inclusive YYYY-MM, earliest 2018-01. All native categories and measures retained.

## `endMonth` (type: `string`):

Inclusive YYYY-MM; default latest actual native period. No period filling or partial prefix.

## Actor input object example

```json
{
  "startMonth": "2020-01"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("jpmarketdata/japan-industrial-production-industry-history").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("jpmarketdata/japan-industrial-production-industry-history").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call jpmarketdata/japan-industrial-production-industry-history --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jpmarketdata/japan-industrial-production-industry-history"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/BrSJtNtupP6xtPD08/builds/gpEeZzgANH9p7sPKx/openapi.json
