# EDINET Financial Statements → English JSON (`asuka-muse/edinet-financials`) Actor

Fetches filings of Japanese listed companies from the official EDINET API (Financial Services Agency) and extracts revenue, operating profit, net income, assets, equity, EPS and cash flows from XBRL data as structured JSON with English field names.

- **URL**: https://apify.com/asuka-muse/edinet-financials.md
- **Developed by:** [Asuka Muse](https://apify.com/asuka-muse) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## EDINET Financial Statements → English JSON

**Japanese listed-company financials, straight from the official source — as clean, English-keyed JSON.**

EDINET is the disclosure system of Japan's Financial Services Agency (FSA). Every listed company in Japan files its annual securities reports, quarterly reports and other statutory documents there — but the data is published as Japanese XBRL, which makes it painful to use from English-language tools, research pipelines and AI agents.

This Actor talks to the **official EDINET API v2**, downloads the XBRL of the filings you ask for, and extracts the key financial figures into one structured JSON item per filing, with **English field names throughout**:

- Revenue, gross profit, operating profit, ordinary profit, net income
- Net income attributable to owners of the parent, comprehensive income
- Total assets, total liabilities, net assets (equity), equity ratio
- EPS, diluted EPS, equity per share (BPS), ROE
- Operating / investing / financing cash flows, cash and cash equivalents
- Prior-year figures included for instant year-on-year comparison
- Consolidated figures are preferred automatically when both consolidated and non-consolidated numbers are filed

### Who is it for?

- Investors and analysts researching Japanese equities outside Japan
- Fintech and data teams that need machine-readable Japanese financials
- AI agents and MCP workflows that answer questions about Japanese companies

### How to use

1. Get a **free EDINET API key** (see below).
2. Run the Actor with your key, and optionally narrow the search:
   - `secCode` — a 4-digit securities code (e.g. `7203` for Toyota), **or**
   - `edinetCode` — an EDINET code (e.g. `E02144`), **and/or**
   - `startDate` / `endDate` — the submission-date window to scan
   - `docTypeCodes` — which filing types to include (default: annual, quarterly and semiannual reports)
3. Read the results from the dataset — one item per filing, ready for your database, spreadsheet or LLM pipeline.

**No key yet?** Just run it — with no API key (or with *Demo mode* on) the Actor parses a bundled sample filing so you can see the exact output format first.

### Input

| Field | Type | Description |
|---|---|---|
| `edinetApiKey` | string (secret) | Your EDINET API subscription key. Sent only to `api.edinet-fsa.go.jp`. If omitted, the Actor runs in demo mode. |
| `secCode` | string | 4-digit securities code, e.g. `7203`. Optional. |
| `edinetCode` | string | EDINET code, e.g. `E02144`. Optional. |
| `startDate` | string | First submission date to scan (`YYYY-MM-DD`). Default: 90 days before `endDate`. |
| `endDate` | string | Last submission date to scan (`YYYY-MM-DD`). Default: today. |
| `docTypeCodes` | string list | Filing types: `120` annual securities report, `130` amended annual, `140` quarterly, `150` amended quarterly, `160` semiannual, `170` amended semiannual, `180` extraordinary report, `350` large shareholding report. Default: `["120", "140", "160"]`. |
| `maxDocuments` | integer | Maximum number of filings to output. Default: `10`. |
| `demoMode` | boolean | Parse the bundled sample filing instead of calling the API. Default: `false`. |

### Output

One dataset item per filing. Monetary values are full yen amounts (not millions), ratios are percentages, per-share values are in yen.

```json
{
  "docId": "S100XXXXXX",
  "edinetCode": "E02144",
  "secCode": "72030",
  "companyNameJa": "トヨタ自動車株式会社",
  "companyNameEn": "TOYOTA MOTOR CORPORATION",
  "documentType": "Annual Securities Report",
  "docTypeCode": "120",
  "submitDateTime": "2026-06-25 15:00",
  "periodStart": "2025-04-01",
  "periodEnd": "2026-03-31",
  "consolidated": true,
  "currency": "JPY",
  "financials": {
    "revenue": 482510000000,
    "operatingProfit": 38204000000,
    "ordinaryProfit": 39870000000,
    "netIncome": 27540000000,
    "netIncomeAttributableToParent": 27103000000,
    "totalAssets": 512340000000,
    "netAssets": 268900000000,
    "equityRatioPercent": 49.6,
    "eps": 271.03,
    "equityPerShare": 2689.55,
    "operatingCashFlow": 45120000000,
    "investingCashFlow": -21340000000,
    "financingCashFlow": -12480000000,
    "cashAndCashEquivalents": 68250000000
  },
  "priorYearFinancials": {
    "revenue": 451230000000,
    "totalAssets": 498120000000
  },
  "source": "EDINET (Financial Services Agency, Japan) via EDINET API v2"
}
```

Fields that a filing does not contain are simply omitted. (The example above mixes a real company identity with the bundled sample figures for illustration.)

### Pricing

Pay-per-event: **$0.05–$0.10 per financial statement** produced (one event = one filing in the dataset). Demo-mode runs are a preview of the format with a fictional sample company.

### Getting an EDINET API key (free)

The EDINET API is operated by the Financial Services Agency and is free of charge:

1. Open the EDINET API site: https://api.edinet-fsa.go.jp/ (linked from the EDINET portal, https://disclosure2.edinet-fsa.go.jp/).
2. Register an account with your email address and verify it.
3. Create a subscription for the EDINET API and copy your **subscription key** (primary key).
4. Paste the key into this Actor's `edinetApiKey` input. The key is stored as a secret input and is only ever sent to the official EDINET API endpoint.

The official API specification (Japanese) is published at https://disclosure2dl.edinet-fsa.go.jp/guide/static/disclosure/WZEK0110.html.

### Data source, attribution and disclaimer

- Data source: **EDINET** (Electronic Disclosure for Investors' NETwork), Financial Services Agency, Japan, via the official EDINET API v2. Filings are public documents submitted by the companies themselves.
- This Actor only republishes figures extracted from those public filings; please attribute the source ("Source: EDINET, Financial Services Agency, Japan") when redistributing.
- Figures are extracted mechanically from XBRL. Always verify important numbers against the original filing before making investment decisions. **Nothing in the output constitutes investment advice.**

### Support

Found a filing that parses incorrectly? Please open an issue with the filing's document ID (docID) so the extraction rules can be improved.

# Actor input Schema

## `demoMode` (type: `boolean`):

Parse the bundled sample filing instead of calling the EDINET API. Useful to preview the output format without an API key.

## `docTypeCodes` (type: `array`):

EDINET document type codes to include. 120 = Annual Securities Report, 140 = Quarterly Report, 160 = Semiannual Report, 350 = Large Shareholding Report.

## `edinetApiKey` (type: `string`):

Your EDINET API subscription key (free registration at the EDINET API site). Sent only to api.edinet-fsa.go.jp. If omitted, the Actor runs in demo mode with a bundled sample filing.

## `edinetCode` (type: `string`):

EDINET code of the filer, e.g. "E02144". Leave empty to match any filer.

## `endDate` (type: `string`):

Last submission date to scan, format YYYY-MM-DD. Defaults to today.

## `maxDocuments` (type: `integer`):

Stop after producing this many financial statement items.

## `secCode` (type: `string`):

4-digit Japanese securities code, e.g. "7203" for Toyota. Leave empty to match any company.

## `startDate` (type: `string`):

First submission date to scan, format YYYY-MM-DD. Defaults to 90 days before the end date.

## Actor input object example

```json
{
  "demoMode": false,
  "docTypeCodes": [
    "120",
    "140",
    "160"
  ],
  "edinetCode": "E02144",
  "endDate": "2026-06-30",
  "maxDocuments": 10,
  "secCode": "7203",
  "startDate": "2026-04-01"
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all results

# 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 = {
    "docTypeCodes": [
        "120",
        "140",
        "160"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("asuka-muse/edinet-financials").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 = { "docTypeCodes": [
        "120",
        "140",
        "160",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("asuka-muse/edinet-financials").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 '{
  "docTypeCodes": [
    "120",
    "140",
    "160"
  ]
}' |
apify call asuka-muse/edinet-financials --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,asuka-muse/edinet-financials"
        }
    }
}
```

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/7pAV1fuhFdwRBprwm/builds/BAL2H72zIBBiGirVO/openapi.json
