OpenAny
Get API keyAPI Key
APIDatalegal

PKULaw logo
Pkulaw Intelligent Legal Search — get_law_list API

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.

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
USE THIS API

Pkulaw Intelligent Legal Search — get_law_list API

Prepare your request, then continue with your agent.

Selected price

$0.05 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Pkulaw Intelligent Legal Search — get_law_list API

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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs body: body
Selected implementation pkulaw · Intelligent Legal Search — 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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
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": "数据安全"
}'

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 Intelligent Legal Search — 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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Keyword statute-list search (including metadata)

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
pkulawCurrent
Intelligent Legal Search — get_law_list · POST · View API reference
$0.05 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · pkulawUSD / call
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.

calls

Total $5

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_law_list
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
categoryJSON request bodybodyarrayNo

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

body.category[] · Array item · string

cursorJSON request bodybodystringNo

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.

documentNoJSON request bodybodystringNo

Document number, matched as a complete phrase, e.g. `主席令第91号` (Presidential Order No. 91).

maxLength: 80

effectivenessJSON request bodybodyarrayNo

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

body.effectiveness[] · Array item · string

endImplementDateJSON request bodybodystringNo

Effective date to, in YYYY-MM-DD or YYYY.M.D format.

endIssueDateJSON request bodybodystringNo

Promulgation date to, in YYYY-MM-DD or YYYY.M.D format.

fulltextJSON request bodybodystringNo

Full-text keywords, e.g. `敏感个人信息` (sensitive personal information). Spaces and commas mean AND; | means OR. Only matching excerpts are returned.

maxLength: 80

issueDepartmentJSON request bodybodyarrayNo

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

body.issueDepartment[] · Array item · string

pageSizeJSON request bodybodyintegerNo

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

regionJSON request bodybodystringNo

Province-level region, e.g. `北京市` (Beijing Municipality). Cannot be used together with `中央法规` (central statutes). Cannot be the sole search condition.

maxLength: 20

scopeJSON request bodybodystring | nullNo

`中央法规` (central statutes) searches only the central database; `地方法规` (local statutes) searches only the local database. If omitted, both databases are searched.

sortJSON request bodybodystringNo

relevance, implementDateDesc, or issueDateDesc.

enum: "relevance", "implementDateDesc", "issueDateDesc"

startImplementDateJSON request bodybodystringNo

Effective date from, in YYYY-MM-DD or YYYY.M.D format.

startIssueDateJSON request bodybodystringNo

Promulgation date from, in YYYY-MM-DD or YYYY.M.D format.

timelinessJSON request bodybodyarrayNo

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

body.timeliness[] · Array item · string

titleJSON request bodybodystringNo

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

Inferred from examples
  • _metaobject
    • io.modelcontextprotocol/serverInfoobject
      • namestring
      • titlestring
      • versionstring
    • pkulaw/evidenceobject
      • confidencestring
      • notesunknown[]
      • originstring
      • retrievedAtstring
      • verifiedByApiboolean
    • pkulaw/limitsstring[]
  • contentobject[]
    • textstring
    • typestring
  • isErrorboolean
  • resultTypestring
  • structuredContentobject
    • hasMoreboolean
    • itemsobject[]
      • categorystring[]
      • citationobject
        • anchorIdnull
        • articleLabelnull
        • articleNumbernull
        • formatBluebooknull
        • formatChinesestring
        • lawShortnull
        • lawTitlestring
        • urlstring
        • versionLabelnull
      • documentNostring | null
      • effectivenessstring[]
      • fulltextSnippetnull
      • implementDatestring
      • issueDatestring
      • issueDepartmentstring[]
      • regionnull
      • scopestring
      • timelinessstring
      • titlestring
    • nextCursorstring
    • pageSizeinteger
    • totalCountinteger

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example

Published documentation example. Verify the actual response after an approved call.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 (including metadata)
    Terminal · cURL
    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": "数据安全"
    }'
  3. 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: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
      }
    }

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.

Use Pkulaw Intelligent Legal Search — get_law_list API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.