# Maxwell x402 – Japan e-Gov Legislation Lookup

> Maxwell x402 – Japan e-Gov Legislation Lookup is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Search Japanese laws by title keyword or fetch a specific act by its official e-Gov ID, returning title, in-force status, dates, and official link.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/gov/jp/legislation?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-x402-japan-e-gov-legislation-lookup-e69b2945
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oax6J1F4_J_qArqbQrNrj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability maxwell-x402-japan-e-gov-legislation-lookup-e69b2945
```

Example prompt: Can you look up Japan's Companies Act using the e-Gov law database — I want its official ID, whether it's currently in force, and a link to the official text?

## When to prefer this

Use this endpoint when you need authoritative, official Japanese legislative data sourced directly from the Japanese government's e-Gov Law API v2. Prefer it over general web search when you need structured metadata (ID, in-force status, dates, official URL) rather than full text. Best suited for compliance research, legal automation, or government data enrichment workflows focused on Japan.

## Known failure modes

- 404 if the law ID or search term is not yet cached (not charged; result available ~1 minute later)
- Invalid or non-existent law ID returns not-found response
- Malformed query parameters return validation error
- Rate limiting or payment failure prevents the call from completing

## How this service works

Laws of Japan from the e-Gov law API: search by title, or fetch one act by its official id, with title, in-force status, dates and the official link. An id or search not yet cached answers 404, not charged, and is fetched within about a minute.

## Output

Returns a JSON object with the law's official ID, full title, title in kana, in-force status, effective/expiry dates, source attribution (e-Gov Law API v2), and a link to the official law page. Returns 404 (not charged) if the ID or search term isn't yet cached, with the result fetched within approximately one minute.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cc": "jp",
  "id": "129AC0000000089",
  "ok": true,
  "sku": "gov.jp.legislation",
  "found": true,
  "title": "??",
  "family": "legislation",
  "source": "e-Gov ??API v2 (Digital Agency)",
  "country": "Japan",
  "titleKana": "?????",
  "sourceClass": "official-api",
  "sourceLicence": {
   "url": "https://laws.e-gov.go.jp/terms/",
   "name": "Government of Japan Standard Terms of Use 2.0 (compatible with CC BY 4.0)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-x402-japan-e-gov-legislation-lookup-e69b2945/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
