# Disclosure2 Edinet Fsa — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access company disclosure documents, financial announcements, and regulatory filings from Japan's FSA EDINET portal, including the ability to search documents and retrieve PDFs. Stay informed on Japanese company financial reports, material announcements, and official regulatory disclosures in one unified interface.

**Category:** Government & Public Data | **Website:** [disclosure2.edinet-fsa.go.jp/](https://disclosure2.edinet-fsa.go.jp/) | **Docs:** [parse.bot/marketplace/68ae6151-db95-4ee3-805a-db398ec08583/disclosure2-edinet-fsa-go-jp-api](https://parse.bot/marketplace/68ae6151-db95-4ee3-805a-db398ec08583/disclosure2-edinet-fsa-go-jp-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-disclosure2-edinet-fsa-go-jp-api-68ae6151/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_announcements

Get site announcements and notices from the EDINET top page. Returns regulatory notices, advisories, and important updates published by the FSA. Each announcement includes a title and a summary excerpt. Some items include external URLs to FSA resources.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-disclosure2-edinet-fsa-go-jp-api-68ae6151/get_announcements \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_document_metadata

Get metadata for a specific disclosure document by its management number. Returns the submitting company name, EDINET code, corporate number (JCN), and document title extracted from the document detail page header. The raw_head field contains the full parsed header text.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `doc_id` | string | Yes | Document management number (SHORUI_KANRI_NO), an alphanumeric ID starting with S followed by digits and letters, e.g. S100XLSD or S100VWVY. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-disclosure2-edinet-fsa-go-jp-api-68ae6151/get_document_metadata \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"doc_id":"<string>"}'
```

### get_pdf_link

Retrieve the temporary SAS PDF link for a document. Requires the encrypted document ID from search results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `doc_id_encrypt` | string | Yes | Encrypted document ID from search results (SHORUI_KANRI_NO_ENCRYPT) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-disclosure2-edinet-fsa-go-jp-api-68ae6151/get_pdf_link \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"doc_id_encrypt":"<string>"}'
```

### search_documents

Search for documents by keyword or code. Note: Highly sensitive to session state; may return 440 (Session Expired).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number |
| `period` | integer | No | Submission period (1=today, 6=past year, 7=all) |
| `query` | string | No | Search keyword or securities code |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-disclosure2-edinet-fsa-go-jp-api-68ae6151/search_documents \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","period":"<integer>","query":"<string>"}'
```
