# Intelligent Legal Search — get_law_list

Search Pkulaw Intelligent Legal via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by PKULaw, pass parameters such as effectiveness, pageSize, timeliness, 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, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/pkulaw/pkulaw-intelligent-legal-search-get-law-list/4edc3c20-cff2-4bbd-929d-f8d8903f7df6/
API ID: 4edc3c20-cff2-4bbd-929d-f8d8903f7df6
Provider: pkulaw
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_law_list
Page update time: 2026-12-04T01:47:27.421Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.0005 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-04T01:47:27.421Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Pkulaw Intelligent Legal Search — get\_law\_list API

Search for intelligent Legal 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Intelligent Legal Search — get_law_list request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "properties": {
        "category": {
          "default": [],
          "description": "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.",
          "items": {
            "maxLength": 50,
            "type": "string"
          },
          "maxItems": 5,
          "title": "category",
          "type": "array"
        },
        "cursor": {
          "default": "",
          "description": "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.",
          "title": "cursor",
          "type": "string"
        },
        "documentNo": {
          "default": "",
          "description": "Document number, matched as a complete phrase, e.g. `主席令第91号` (Presidential Order No. 91).",
          "maxLength": 80,
          "title": "documentNo",
          "type": "string"
        },
        "effectiveness": {
          "default": [],
          "description": "Level of legal authority; multiple values are combined with OR. Use only terms listed in the parameter description. Cannot be the sole search condition.",
          "items": {
            "enum": [
              "法律",
              "行政法规",
              "监察法规",
              "司法解释",
              "部门规章",
              "军事法规规章",
              "党内法规制度",
              "行业规定",
              "团体规定",
              "地方性法规",
              "自治条例和单行条例",
              "地方政府规章",
              "地方规范性文件",
              "地方司法文件",
              "地方工作文件",
              "行政许可批复"
            ],
            "type": "string"
          },
          "title": "effectiveness",
          "type": "array"
        },
        "endImplementDate": {
          "default": "",
          "description": "Effective date to, in YYYY-MM-DD or YYYY.M.D format.",
          "title": "endImplementDate",
          "type": "string"
        },
        "endIssueDate": {
          "default": "",
          "description": "Promulgation date to, in YYYY-MM-DD or YYYY.M.D format.",
          "title": "endIssueDate",
          "type": "string"
        },
        "fulltext": {
          "default": "",
          "description": "Full-text keywords, e.g. `敏感个人信息` (sensitive personal information). Spaces and commas mean AND; | means OR. Only matching excerpts are returned.",
          "maxLength": 80,
          "title": "fulltext",
          "type": "string"
        },
        "issueDepartment": {
          "default": [],
          "description": "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.",
          "items": {
            "maxLength": 40,
            "type": "string"
          },
          "maxItems": 3,
          "title": "issueDepartment",
          "type": "array"
        },
        "pageSize": {
          "default": 10,
          "description": "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.",
          "maximum": 50,
          "minimum": 1,
          "title": "pageSize",
          "type": "integer"
        },
        "region": {
          "default": "",
          "description": "Province-level region, e.g. `北京市` (Beijing Municipality). Cannot be used together with `中央法规` (central statutes). Cannot be the sole search condition.",
          "maxLength": 20,
          "title": "region",
          "type": "string"
        },
        "scope": {
          "anyOf": [
            {
              "enum": [
                "中央法规",
                "地方法规"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "`中央法规` (central statutes) searches only the central database; `地方法规` (local statutes) searches only the local database. If omitted, both databases are searched.",
          "title": "scope"
        },
        "sort": {
          "default": "relevance",
          "description": "relevance, implementDateDesc, or issueDateDesc.",
          "enum": [
            "relevance",
            "implementDateDesc",
            "issueDateDesc"
          ],
          "title": "sort",
          "type": "string"
        },
        "startImplementDate": {
          "default": "",
          "description": "Effective date from, in YYYY-MM-DD or YYYY.M.D format.",
          "title": "startImplementDate",
          "type": "string"
        },
        "startIssueDate": {
          "default": "",
          "description": "Promulgation date from, in YYYY-MM-DD or YYYY.M.D format.",
          "title": "startIssueDate",
          "type": "string"
        },
        "timeliness": {
          "default": [],
          "description": "Validity status; multiple values are combined with OR. If omitted, no filter is applied and currently effective statutes are not prioritized.",
          "items": {
            "enum": [
              "现行有效",
              "废止或失效",
              "已被修改",
              "尚未施行",
              "部分废止或失效"
            ],
            "type": "string"
          },
          "title": "timeliness",
          "type": "array"
        },
        "title": {
          "default": "",
          "description": "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,
          "title": "title",
          "type": "string"
        }
      },
      "title": "get_law_listArguments",
      "type": "object",
      "description": "Keyword statute-list search (including metadata)"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "_meta": {
      "type": "object",
      "properties": {
        "io.modelcontextprotocol/serverInfo": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          }
        },
        "pkulaw/evidence": {
          "type": "object",
          "properties": {
            "confidence": {
              "type": "string"
            },
            "notes": {
              "type": "array",
              "items": {}
            },
            "origin": {
              "type": "string"
            },
            "retrievedAt": {
              "type": "string"
            },
            "verifiedByApi": {
              "type": "boolean"
            }
          }
        },
        "pkulaw/limits": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "isError": {
      "type": "boolean"
    },
    "resultType": {
      "type": "string"
    },
    "structuredContent": {
      "type": "object",
      "properties": {
        "hasMore": {
          "type": "boolean"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "category": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "citation": {
                "type": "object",
                "properties": {
                  "anchorId": {
                    "type": "null"
                  },
                  "articleLabel": {
                    "type": "null"
                  },
                  "articleNumber": {
                    "type": "null"
                  },
                  "formatBluebook": {
                    "type": "null"
                  },
                  "formatChinese": {
                    "type": "string"
                  },
                  "lawShort": {
                    "type": "null"
                  },
                  "lawTitle": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "versionLabel": {
                    "type": "null"
                  }
                }
              },
              "documentNo": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effectiveness": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "fulltextSnippet": {
                "type": "null"
              },
              "implementDate": {
                "type": "string"
              },
              "issueDate": {
                "type": "string"
              },
              "issueDepartment": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "region": {
                "type": "null"
              },
              "scope": {
                "type": "string"
              },
              "timeliness": {
                "type": "string"
              },
              "title": {
                "type": "string"
              }
            }
          }
        },
        "nextCursor": {
          "type": "string"
        },
        "pageSize": {
          "type": "integer"
        },
        "totalCount": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_law_list' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "effectiveness": [
    "法律",
    "行政法规",
    "部门规章"
  ],
  "pageSize": 3,
  "timeliness": [
    "现行有效"
  ],
  "title": "数据安全"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "_meta": {
    "io.modelcontextprotocol/serverInfo": {
      "name": "mcp-law",
      "title": "北大法宝·法规关键词检索",
      "version": "2.0.0"
    },
    "pkulaw/evidence": {
      "confidence": "B",
      "notes": [],
      "origin": "catalog",
      "retrievedAt": "2026-10-28T12:43:24Z",
      "verifiedByApi": true
    },
    "pkulaw/limits": [
      "还有下一页。用户没有要求更多时停在本页。要继续只把 nextCursor 原样传回 cursor，筛选、排序和 pageSize 不要改。最多 5 页，一次最多 50 条。"
    ]
  },
  "content": [
    {
      "text": "命中约 48 部。本页 3 条，最多 5 页，一次最多 50 条。\n- 《网络数据安全管理条例》（中华人民共和国国务院令第790号）（现行有效，行政法规，2025-01-01）\n  https://www.pkulaw.com/chl/b007ec09cfc1f06dbdfb.html?way=mcp\n- 《农业大数据安全管理指南》（现行有效，部门规章、部门工作文件，2023-03-01）\n  https://www.pkulaw.com/chl/40cd7dce903464e5bdfb.html?way=mcp\n- 《网络数据安全风险评估办法》（国家互联网信息办公室、中华人民共和国工业和信息化部、中华人民共和国公安部令第24号）（现行有效，部门规章，2026-08-20）\n  https://www.pkulaw.com/chl/397cac720ad68619bdfb.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": "《网络数据安全管理条例》（中华人民共和国国务院令第790号）",
          "lawShort": null,
          "lawTitle": "网络数据安全管理条例",
          "url": "https://www.pkulaw.com/chl/b007ec09cfc1f06dbdfb.html?way=mcp",
          "versionLabel": null
        },
        "documentNo": "中华人民共和国国务院令第790号",
        "effectiveness": [
          "行政法规"
        ],
        "fulltextSnippet": null,
        "implementDate": "2025-01-01",
        "issueDate": "2024-09-24",
        "issueDepartment": [
          "国务院"
        ],
        "region": null,
        "scope": "中央法规",
        "timeliness": "现行有效",
        "title": "网络数据安全管理条例"
      },
      {
        "category": [
          "农业",
          "农业科技与农机"
        ],
        "citation": {
          "anchorId": null,
          "articleLabel": null,
          "articleNumber": null,
          "formatBluebook": null,
          "formatChinese": "《农业大数据安全管理指南》",
          "lawShort": null,
          "lawTitle": "农业大数据安全管理指南",
          "url": "https://www.pkulaw.com/chl/40cd7dce903464e5bdfb.html?way=mcp",
          "versionLabel": null
        },
        "documentNo": null,
        "effectiveness": [
          "部门规章",
          "部门工作文件"
        ],
        "fulltextSnippet": null,
        "implementDate": "2023-03-01",
        "issueDate": "2022-11-11",
        "issueDepartment": [
          "国务院各机构/各部/农业农村部"
        ],
        "region": null,
        "scope": "中央法规",
        "timeliness": "现行有效",
        "title": "农业大数据安全管理指南"
      },
      {
        "category": [
          "公安",
          "网络安全管理",
          "邮政电讯",
          "互联网"
        ],
        "citation": {
          "anchorId": null,
          "articleLabel": null,
          "articleNumber": null,
          "formatBluebook": null,
          "formatChinese": "《网络数据安全风险评估办法》（国家互联网信息办公室、中华人民共和国工业和信息化部、中华人民共和国公安部令第24号）",
          "lawShort": null,
          "lawTitle": "网络数据安全风险评估办法",
          "url": "https://www.pkulaw.com/chl/397cac720ad68619bdfb.html?way=mcp",
          "versionLabel": null
        },
        "documentNo": "国家互联网信息办公室、中华人民共和国工业和信息化部、中华人民共和国公安部令第24号",
        "effectiveness": [
          "部门规章"
        ],
        "fulltextSnippet": null,
        "implementDate": "2026-08-20",
        "issueDate": "2026-06-18",
        "issueDepartment": [
          "其他机构/其他/各办(其他)/国家互联网信息办公室",
          "国务院各机构/各部/工业和信息化部",
          "国务院各机构/各部/公安部"
        ],
        "region": null,
        "scope": "中央法规",
        "timeliness": "现行有效",
        "title": "网络数据安全风险评估办法"
      }
    ],
    "nextCursor": "ZDFhZWRhZDE5NDQwZTIxOTZkMzFmMmFhYWNlY2E1ZmJlMGFkZjQ5ZDMzY2JkNmQ2NGZhZGU1MGE4NDgwOTAyMy5nQUFBQUFCcTRlM3N0QkszN1h5LWdDdWJQbXpaNlBCUmtKWEVfay1LZGhQS0FjZEJBZHMtR2MwNGNGeFBvbEx1cUZHSGJSZm52ZVNvdEZzSUJ5ZEY4dGNjWllIOGpmYTQ1dTNaVXo4aWZaVDBqTHFJWU1FSU1JWGFDVWhkOGd1YVNlWkRQcG9CekZVV0k4QXJQV0txM0wyVExNa0dwTWpTNTdzVHVON3JWNU5tZU51dHhEa2tZSVhkT1JrcVFOUEh6RVl0NUVHUFdTeXJ5NUd0a0I5aUNpTmtuclM1N0tEV0FLYzRxWGhlRUpDZERNc3JYdHd0ajZkSHNfTEFlTXhfVk00ZTgyWFZkblZs",
    "pageSize": 3,
    "totalCount": 48
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide JSON payload in body (object). Keep identifiers and URLs in the formats documented for this implementation.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- pkulaw: https://openany.si/pkulaw/pkulaw-intelligent-legal-search-get-law-list/4edc3c20-cff2-4bbd-929d-f8d8903f7df6/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
