# e-stat.go.jp Event Details API

> The record of a Event Details page on e-stat.go.jp, read from the page's URL.

- Page: https://cleanedweb.com/catalog/e-stat-go-jp-event-details-api/
- Contract (JSON): https://cleanedweb.com/catalog/e-stat-go-jp-event-details-api/contract.json
- Source: e-stat.go.jp (https://www.e-stat.go.jp/)
- Category: Businesses & places
- Updated: 2026-12-01

A run reads the one page you name and returns its record; `max_items`, `timeout_seconds` and your budget still bound it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `公表予定情報詳細` |
| `date` | string | `2026-11-30 08:50` |
| `statistics.name` | string | `商業動態統計調査` |
| `url` | string | `https://www.e-stat.go.jp/release-calendar/detail/00550030/202611300850` |
| `statistics.url` | string | `https://www.e-stat.go.jp/release-calendar/statistics/00550030` |
| `ministry` | string | `経済産業省` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/e-stat-go-jp-event-details-api/contract.json

## Inputs

- `url` (string, required): Paste the URL of an e-stat.go.jp page of the same kind as the sample: its path looks like /{slug}/detail/{int}/{int}. Any such page works, not only the one the API was built from.
- `urls` (array of string): Pages of that kind (1 to 50 in all, with url): one record each, in this order, once per page; a call may give urls and no url. A page that fails (off the pattern, unreadable, no product data) is told by its code in the run's metadata (item_pages) and does not fail the run while another page is read.

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_d9eb32f82e57f8644d9c767d/endpoints/generated_d9eb32f82e57f8644d9c767d_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_d9eb32f82e57f8644d9c767d/endpoints/generated_d9eb32f82e57f8644d9c767d_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "https://www.e-stat.go.jp/release-calendar/detail/00550030/202611300850"
  },
  "version": 2,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_d9eb32f82e57f8644d9c767d/endpoints/generated_d9eb32f82e57f8644d9c767d_search/result`

## Versions

Current: `2.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v2: current, newest minor `2.0`
- v1: deprecated, newest minor `1.0`, sunsets 2027-01-30

### Changelog

- `2.0` (major) 2026-12-01
  - Records are now grouped: related fields sit under shared keys, so 3 field(s) have new paths (each listed below). Callers pinned to the previous major keep the previous shape until its sunset.
  - Field \`spec_48b37561\` is now \`ministry\`.
  - Field \`spec_3fc5a1c0\` is now \`statistics.name\`.
  - Field \`spec_3fc5a1c0_url\` is now \`statistics.url\`.
- `1.0` (major) 2026-11-30

The same changelog, as data, is in https://cleanedweb.com/catalog/e-stat-go-jp-event-details-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_d9eb32f82e57f8644d9c767d`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with E Stat.
