National Law Information API
Official MOLEG API for searching statutes, administrative rules, local laws, court precedents, Constitutional Court decisions, statutory interpretations, and administrative appeals. Provides over 4.7 million legal records.
What agents get
- Statute names, serial numbers, promulgation and enforcement dates, responsible ministries, detail links; precedent case names, case numbers, ruling dates, court names; local-law and administrative-rule records
Legal Q&A, contract and regulation review, precedent analysis, compliance checks, and guidance on administrative procedures
Use cases
- Search current statutes by statute name
- Look up full statute text
- Keyword search for precedents
- Search local laws and ordinances
- Verify the statute in force as of an enforcement date
Registered APIs (2)
Statute Search lawSearch.do
Unified search across statutes, precedents, local laws, and administrative rules. Select the target with the target parameter
targetRequired — law (statute) / prec (precedent) / adhmLaw (local law) / ordin (ordinance) / dpc (administrative rule) e.g.lawqueryRequired — Search keyword e.g.근로기준법typeOptional — JSON or XML e.g.JSONpageOptional e.g.1displayOptional — Results per page e.g.10
Returns: Statute serial number, Statute name in Korean, Promulgation date, Enforcement date, Responsible ministry name, Statute category name, Statute detail link, totalCnt
Rate limit: 10,000 calls/day (Per OC auth key)
Statute Detail Lookup lawService.do
Look up the full text of a statute by its serial number (MST)
targetRequired e.g.lawMSTRequired — Statute serial number (from the lawSearch result) e.g.285279typeOptional — HTML or XML e.g.HTMLefYdOptional — Reference enforcement date e.g.20261008
Returns: Full statute text (article/paragraph/item structure), Supplementary provisions, Enforcement date
Rate limit: 10,000 calls/day
Auth · pricing · terms
| Auth | OC — Issued free at open.law.go.kr. Stored only on the proxy server. |
|---|---|
| Pricing | Free. Auto-approved |
| License | Public data: attribution required |
| Redistribution | Allowed (attribution required) |
| Terms checked | 2026-10-10 |
| Apply | Sign up at open.law.go.kr -> Get an OC auth key (auto-approved) Portal |
| Status | Coming soon (opens after key registration) |
| Last checked | 2026-10-10 |
How agents call
Call through our proxy. Start with the keyless quick API shown above (no token needed). For the keyed proxy, send X-Agent-Token to POST /agencatalog/api/call with ('service', 'endpoint', 'params'). The full service list is at /agencatalog/api/services.json.
Example: POST /agencatalog/api/call {service:'law-go-kr', endpoint:'lawSearch.do', params:{target:'law', query:'근로기준법'}}
Machine-readable JSON schema
{
"service": "law-go-kr",
"name": "National Law Information API",
"provider": "MOLEG",
"apis": [
{
"id": "lawSearch.do",
"name": "Statute Search",
"params": [
{
"name": "target",
"required": true,
"example": "law",
"desc": "law (statute) / prec (precedent) / adhmLaw (local law) / ordin (ordinance) / dpc (administrative rule)"
},
{
"name": "query",
"required": true,
"example": "근로기준법",
"desc": "Search keyword"
},
{
"name": "type",
"required": false,
"example": "JSON",
"desc": "JSON or XML"
},
{
"name": "page",
"required": false,
"example": "1"
},
{
"name": "display",
"required": false,
"example": "10",
"desc": "Results per page"
}
]
},
{
"id": "lawService.do",
"name": "Statute Detail Lookup",
"params": [
{
"name": "target",
"required": true,
"example": "law"
},
{
"name": "MST",
"required": true,
"example": "285279",
"desc": "Statute serial number (from the lawSearch result)"
},
{
"name": "type",
"required": false,
"example": "HTML",
"desc": "HTML or XML"
},
{
"name": "efYd",
"required": false,
"example": "20261008",
"desc": "Reference enforcement date"
}
]
}
],
"proxy_call": "POST /agencatalog/api/call",
"attribution": "Source: MOLEG National Law Information Service (open.law.go.kr)"
}
Notes
- API keys live only on the server. Clients asking for keys directly cannot use this route.
- Each provider has a daily quota. Over-quota calls return 429 and are blocked.
- Provider outages or over-quota errors are passed through. Check the error field before retrying.
- Attribution: Source: MOLEG National Law Information Service (open.law.go.kr)
Last checked: 2026-10-10
AI Knowledge Hub