# Japan e-Gov Law Article Keyword Search

> Japan e-Gov Law Article Keyword Search is a paid API for AI agents from api.agentfeeds.jp, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Searches Japan's e-Gov Law API v2 for law articles matching a keyword, returning law title, ID, category, excerpt, and source URL via live proxy.

## Facts

- Endpoint: GET https://api.agentfeeds.jp/v1/reg/law/article
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/japan-e-gov-law-article-keyword-search-1164a565
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C69nNfwwbR5EJWkwhUWD9

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 japan-e-gov-law-article-keyword-search-1164a565
```

Example prompt: Search Japan's e-Gov law database for articles mentioning 'personal information' and return up to 10 results with their law titles, categories, and excerpts.

## When to prefer this

Use this endpoint when you need to identify which specific Japanese laws and articles contain a given keyword or legal term, backed by live data directly from Japan's Digital Agency e-Gov Law API v2. Prefer this over general web search when you need structured, authoritative law metadata (title, category, excerpt, source URL) rather than unstructured text. Ideal for compliance research, legal due diligence, and regulatory analysis involving Japanese law.

## Known failure modes

- Keyword not found — returns empty results list
- Keyword exceeds 100 characters — validation error
- Limit outside 1-20 range — validation error
- e-Gov upstream API unavailable — proxy returns error
- Payment not processed — 402 response before data is returned

## How this service works

Structured lookup of Japan law articles containing a keyword, via live proxy to e-Gov Law API v2 (Digital Agency). Returns law title/id, category, excerpt and source URL. Live data, not cached. Factual; not legal advice.

## Output

Returns a list of matching law articles from Japan's e-Gov Law API, each with the law title, law ID, law category, a relevant excerpt containing the keyword, and a direct source URL to the official e-Gov page. Data is live and not cached.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "keyword"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "description": "1-20, default 5"
      },
      "keyword": {
       "type": "string",
       "description": "1-100 chars"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/japan-e-gov-law-article-keyword-search-1164a565/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentfeeds.jp](https://www.zero.xyz/host/api.agentfeeds.jp/llms.txt)
