Pkulaw Search Statutes—Keyword — get_law_list API
Get Pkulaw Search Statutes—Keyword data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by PKULaw, pass parameters such as effectiveness, endImplementDate, fulltext, and retrieve structured data including text, returned type field, continuation flag, title, and returned category field for document research and entity reference, and integration reference.
- Selected price
- $0.05 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Pkulaw Search Statutes—Keyword — get_law_list API
Prepare your request, then continue with your agent.
Selected price
$0.05 / call
- Provider
- API
- Pricing
On this page
Overview
Pkulaw Search Statutes—Keyword — get_law_list API
Search for Statutes—Keyword get_law_list with the PKULaw API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: body |
| Selected implementation | pkulaw · Search Statutes—Keyword — get_law_list |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Document research and entity reference: Keep document and entity identifiers with each returned reference.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
content[].text |
Text |
content[].type |
Returned type field |
structuredContent.hasMore |
Continuation flag |
structuredContent.items[].title |
Title |
structuredContent.items[].category |
Returned category field |
structuredContent.items[].citation |
Returned citation field |
structuredContent.items[].documentNo |
Returned document no field |
structuredContent.items[].effectiveness |
Returned effectiveness field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/pkulaw/law-keyword/get_law_list' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"effectiveness": [
"法律",
"地方性法规"
],
"endImplementDate": "2026.7.1",
"fulltext": "盗窃",
"pageSize": 3,
"startImplementDate": "2000.10.01",
"timeliness": [
"现行有效",
"废止或失效"
],
"title": "刑法"
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Pkulaw Search Statutes—Keyword — get_law_list API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
pkulawCurrent Search Statutes—Keyword — get_law_list · POST · View API reference | $0.05 / call | 0 | —successP50— |
- Unit price
- $0.05
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $5
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/pkulaw/law-keyword/get_law_list- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
category | JSON request bodybody | array | No | Statute category names, at most 5, combined with OR. For example, ["合同"] (contracts) or ["人身权"] (personal rights). Group names can also be searched. Cannot be the sole search condition. maxItems: 5 Nested fields and variants
|
cursor | JSON request bodybody | string | No | Pass back nextCursor from the previous page unchanged. Leave empty for the first page; do not supply it unless the user requests more results. Keep filters, sorting, and pageSize the same as on the previous page. |
documentNo | JSON request bodybody | string | No | Document number, matched as a complete phrase, e.g. `主席令第91号` (Presidential Order No. 91). maxLength: 80 |
effectiveness | JSON request bodybody | array | No | Level of legal authority; multiple values are combined with OR. Use only terms listed in the parameter description. Cannot be the sole search condition. Nested fields and variants
|
endImplementDate | JSON request bodybody | string | No | Effective date to, in YYYY-MM-DD or YYYY.M.D format. |
endIssueDate | JSON request bodybody | string | No | Promulgation date to, in YYYY-MM-DD or YYYY.M.D format. |
fulltext | JSON request bodybody | string | No | Full-text keywords, e.g. `敏感个人信息` (sensitive personal information). Spaces and commas mean AND; | means OR. Only matching excerpts are returned. maxLength: 80 |
issueDepartment | JSON request bodybody | array | No | Issuing authority names, at most 3, combined with OR. For example, ["文化和旅游部"] (Ministry of Culture and Tourism) or ["国务院"] (State Council). A complete list is not provided. `国务院` searches only the State Council itself, excluding its ministries and commissions. Cannot be the sole search condition. An unmatched name or multiple authorities with the same name causes an error. maxItems: 3 Nested fields and variants
|
pageSize | JSON request bodybody | integer | No | Number of results on this page, e.g. 10; maximum 50. A search can retrieve at most 50 results across 5 pages. Keep this value the same as on the previous page when paginating. minimum: 1 · maximum: 50 |
region | JSON request bodybody | string | No | Province-level region, e.g. `北京市` (Beijing Municipality). Cannot be used together with `中央法规` (central statutes). Cannot be the sole search condition. maxLength: 20 |
scope | JSON request bodybody | string | null | No | `中央法规` (central statutes) searches only the central database; `地方法规` (local statutes) searches only the local database. If omitted, both databases are searched. |
sort | JSON request bodybody | string | No | relevance, implementDateDesc, or issueDateDesc. enum: "relevance", "implementDateDesc", "issueDateDesc" |
startImplementDate | JSON request bodybody | string | No | Effective date from, in YYYY-MM-DD or YYYY.M.D format. |
startIssueDate | JSON request bodybody | string | No | Promulgation date from, in YYYY-MM-DD or YYYY.M.D format. |
timeliness | JSON request bodybody | array | No | Validity status; multiple values are combined with OR. If omitted, no filter is applied and currently effective statutes are not prioritized. Nested fields and variants
|
title | JSON request bodybody | string | No | Title keywords, e.g. `个人信息保护法` (Personal Information Protection Law). Spaces and commas mean AND; | means OR. The Chinese enumeration comma does not split terms. maxLength: 200 |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
_metaobjectio.modelcontextprotocol/serverInfoobjectnamestringtitlestringversionstring
pkulaw/evidenceobjectconfidencestringnotesunknown[]originstringretrievedAtstringverifiedByApiboolean
pkulaw/limitsstring[]
contentobject[]textstringtypestring
isErrorbooleanresultTypestringstructuredContentobjecthasMorebooleanitemsobject[]categorystring[]citationobjectanchorIdnullarticleLabelnullarticleNumbernullformatBluebooknullformatChinesestringlawShortnulllawTitlestringurlstringversionLabelnull
documentNostringeffectivenessstring[]fulltextSnippetstringimplementDatestringissueDatestringissueDepartmentstring[]regionnullscopestringtimelinessstringtitlestring
nextCursorstringpageSizeintegertotalCountinteger
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Keyword statute-list search
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/pkulaw/law-keyword/get_law_list' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ --data-raw '{ "effectiveness": [ "法律", "地方性法规" ], "endImplementDate": "2026.7.1", "fulltext": "盗窃", "pageSize": 3, "startImplementDate": "2000.10.01", "timeliness": [ "现行有效", "废止或失效" ], "title": "刑法" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "_meta": { "io.modelcontextprotocol/serverInfo": { "name": "mcp-law", "title": "北大法宝·法规关键词检索", "version": "2.0.0" }, "pkulaw/evidence": { "confidence": "B", "notes": [], "origin": "catalog", "retrievedAt": "2026-10-28T12:43:19Z", "verifiedByApi": true }, "pkulaw/limits": [ "还有下一页。用户没有要求更多时停在本页。要继续只把 nextCursor 原样传回 cursor,筛选、排序和 pageSize 不要改。最多 5 页,一次最多 50 条。" ] }, "content": [ { "text": "命中约 8 部。本页 3 条,最多 5 页,一次最多 50 条。\n- 《中华人民共和国刑法修正案(三)》(中华人民共和国主席令第64号)(现行有效,法律,2001-12-29)\n https://www.pkulaw.com/chl/65e3e32f00f4cef8bdfb.html?way=mcp\n- 《中华人民共和国刑法修正案(八)》(中华人民共和国主席令第41号)(现行有效,法律,2011-05-01)\n https://www.pkulaw.com/chl/c3bca3c5ab0ed5c1bdfb.html?way=mcp\n- 《中华人民共和国刑法修正案(五)》(中华人民共和国主席令第32号)(现行有效,法律,2005-02-28)\n https://www.pkulaw.com/chl/ee058680f58e1b63bdfb.html?way=mcp\n用户没有要求更多时停在本页。要继续把 nextCursor 原样传回 cursor,筛选、排序和 pageSize 不要改。\n\n【本次调用需注意】\n- 还有下一页。用户没有要求更多时停在本页。要继续只把 nextCursor 原样传回 cursor,筛选、排序和 pageSize 不要改。最多 5 页,一次最多 50 条。", "type": "text" } ], "isError": false, "resultType": "complete", "structuredContent": { "hasMore": true, "items": [ { "category": [ "刑法" ], "citation": { "anchorId": null, "articleLabel": null, "articleNumber": null, "formatBluebook": null, "formatChinese": "《中华人民共和国刑法修正案(三)》(中华人民共和国主席令第64号)", "lawShort": null, "lawTitle": "中华人民共和国刑法修正案(三)", "url": "https://www.pkulaw.com/chl/65e3e32f00f4cef8bdfb.html?way=mcp", "versionLabel": null }, "documentNo": "中华人民共和国主席令第64号", "effectiveness": [ "法律" ], "fulltextSnippet": "六、将刑法第一百二十七条修改为:“盗窃、抢夺枪支、弹药、爆炸物的,或者盗窃、抢夺毒害性、放射性、传染病病原体等物质,危害公共安全的,处三年以上十年以下有期徒刑;情节严重的,处十年以上有期徒刑、无期徒刑或者死刑。", "implementDate": "2001-12-29", "issueDate": "2001-12-29", "issueDepartment": [ "全国人大常委会" ], "region": null, "scope": "中央法规", "timeliness": "现行有效", "title": "中华人民共和国刑法修正案(三)" }, { "category": [ "刑法" ], "citation": { "anchorId": null, "articleLabel": null, "articleNumber": null, "formatBluebook": null, "formatChinese": "《中华人民共和国刑法修正案(八)》(中华人民共和国主席令第41号)", "lawShort": null, "lawTitle": "中华人民共和国刑法修正案(八)", "url": "https://www.pkulaw.com/chl/c3bca3c5ab0ed5c1bdfb.html?way=mcp", "versionLabel": null }, "documentNo": "中华人民共和国主席令第41号", "effectiveness": [ "法律" ], "fulltextSnippet": "三十九、将刑法第二百六十四条修改为:“盗窃公私财物,数额较大的,或者多次盗窃、入户盗窃、携带凶器盗窃、扒窃的,处三年以下有期徒刑、拘役或者管制,并处或者单处罚金;数额巨大或者有其他严重情节的,处三年以上十年以下有期徒刑,并处罚金;数额特别巨大或者有其他特别严重情节的", "implementDate": "2011-05-01", "issueDate": "2011-02-25", "issueDepartment": [ "全国人大常委会" ], "region": null, "scope": "中央法规", "timeliness": "现行有效", "title": "中华人民共和国刑法修正案(八)" }, { "category": [ "刑法" ], "citation": { "anchorId": null, "articleLabel": null, "articleNumber": null, "formatBluebook": null, "formatChinese": "《中华人民共和国刑法修正案(五)》(中华人民共和国主席令第32号)", "lawShort": null, "lawTitle": "中华人民共和国刑法修正案(五)", "url": "https://www.pkulaw.com/chl/ee058680f58e1b63bdfb.html?way=mcp", "versionLabel": null }, "documentNo": "中华人民共和国主席令第32号", "effectiveness": [ "法律" ], "fulltextSnippet": "“盗窃信用卡并使用的,依照本法第二百六十四条的规定定罪处罚。”", "implementDate": "2005-02-28", "issueDate": "2005-02-28", "issueDepartment": [ "全国人大常委会" ], "region": null, "scope": "中央法规", "timeliness": "现行有效", "title": "中华人民共和国刑法修正案(五)" } ], "nextCursor": "NTFlODAyMzU0M2YwZGZlNTg5NjMwZjFiYzU4MTQ0NDg2YjgxNzVlYjIyZjMwYzQ1ZGJjOGYyYjQxNjk3MTRlMC5nQUFBQUFCcTRlM25VaTg4SDRWOEtEclZEWkhiem5WOFhsLUQ5WjAtY1JFMnctUVgzWXlQdVl2MHRSU1pSbUViZzBVSTdzQW9KTzg1UkZPMlJ3bGx2LTlicS1yTGNpejJiZDZIbUkxSjVVM1p5cmVVMFJGWUMxVjdsYUt2LU5JSU9aMjFMYk9SaW00V0YtWmEzS0xOSVNLdzZxbEZyZzdHRUhmMVhtMFNfSTk3V3EydjJSa0NNRkxCRnM2a1RoVGFaRXFHd2RXeXdkbjZsVHFJR0FEVFAyelFvLWFkZHZQWlAxV3FBUTVvWHQzTC12SFZVTzFmMFdUbm5kZ3RJT0VQNWQyaWQ0RlBaT0g1", "pageSize": 3, "totalCount": 8 } }