# Intelligent Legal Search — search_article

Search Pkulaw Intelligent Legal via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by PKULaw, pass parameters such as lib, size, text, and retrieve structured data including text, returned type field, title, returned article field, and returned doc no field for document research and entity reference, and integration reference.

Documentation: https://openany.si/market/apis/pkulaw/pkulaw-intelligent-legal-search-search-article/?offering=e5efc4ca-4589-482f-8cbf-4d32d4b6cbb6
API ID: e5efc4ca-4589-482f-8cbf-4d32d4b6cbb6
Provider: pkulaw
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/search_article
Page update time: 2026-12-03T02:50:02.875Z
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.05 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:50:01.197Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "50000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Intelligent Legal Search — search_article 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": {
        "implement_date_end": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Effective date range end, in ISO format YYYY-MM-DD. Used to filter by effective date range."
        },
        "implement_date_start": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Effective date range start, in ISO format YYYY-MM-DD. Used to filter by effective date range."
        },
        "issue_department": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Full issuing authority name, e.g. `交通运输部` (Ministry of Transport). Used to filter by issuing authority."
        },
        "lib": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Statute database: `中央` (central) or `地方` (local), representing the central and local statute databases, respectively. Used to filter by statute database."
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": 10,
          "description": "Number of results to return; default 10, maximum 20, minimum 1."
        },
        "text": {
          "description": "Search keywords or text for semantic article search.",
          "type": "string"
        },
        "timeliness": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Validity status: `现行有效` (currently effective), `废止或失效` (repealed or expired), `部分废止或失效` (partially repealed or expired), `已被修改` (amended), or `尚未施行` (not yet effective). Used to filter by validity status."
        }
      },
      "required": [
        "text"
      ],
      "type": "object",
      "description": "Natural-language semantic article search"
    }
  },
  "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"
            },
            "version": {
              "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": {
        "result": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "article": {
                "type": "string"
              },
              "doc_no": {
                "type": "string"
              },
              "effectiveness": {
                "type": "string"
              },
              "gid": {
                "type": "string"
              },
              "implementation_date": {
                "type": "string"
              },
              "issue_date": {
                "type": "string"
              },
              "issue_department": {
                "type": "string"
              },
              "lib": {
                "type": "string"
              },
              "timeliness": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/pkulaw/legal-search/search_article' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "lib": "中央",
  "size": 3,
  "text": "交通事故对方全责，保险公司迟迟不赔付怎么办？",
  "timeliness": "现行有效"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "_meta": {
    "io.modelcontextprotocol/serverInfo": {
      "name": "pkulaw-mcp-router-v2",
      "version": "0.1.0"
    }
  },
  "content": [
    {
      "text": "[{\"gid\":\"2393bf64eb0e4f4cbdfb\",\"title\":\"银行保险机构消费者权益保护管理办法\",\"article\":\"第三十三条　保险公司收到被保险人或者受益人的赔偿或者给付保险金的请求后，应当依照法律法规和合同约定及时作出处理，不得拖延理赔、无理拒赔。\",\"doc_no\":\"中国银行保险监督管理委员会令2022年第9号\",\"timeliness\":\"现行有效\",\"effectiveness\":\"部门规章\",\"issue_department\":\"中国银行保险监督管理委员会(已撤销)\",\"issue_date\":\"2022-12-12\",\"implementation_date\":\"\",\"lib\":\"chl\",\"url\":\"https://pkulaw.com/chl/2393bf64eb0e4f4cbdfb.html\"},{\"gid\":\"81fccaf138caee81bdfb\",\"title\":\"机动车交通事故责任强制保险条例(2019修订)\",\"article\":\"第二十八条　被保险机动车发生道路交通事故的，由被保险人向保险公司申请赔偿保险金。保险公司应当自收到赔偿申请之日起1日内，书面告知被保险人需要向保险公司提供的与赔偿有关的证明和资料。\",\"doc_no\":\"中华人民共和国国务院令第709号\",\"timeliness\":\"现行有效\",\"effectiveness\":\"行政法规\",\"issue_department\":\"国务院\",\"issue_date\":\"2019-03-02\",\"implementation_date\":\"\",\"lib\":\"chl\",\"url\":\"https://pkulaw.com/chl/81fccaf138caee81bdfb.html\"},{\"gid\":\"fcd28ac98601200fbdfb\",\"title\":\"中华人民共和国保险法(2015修正)\",\"article\":\"第二十三条　保险人收到被保险人或者受益人的赔偿或者给付保险金的请求后，应当及时作出核定；情形复杂的，应当在三十日内作出核定，但合同另有约定的除外。保险人应当将核定结果通知被保险人或者受益人；对属于保险责任的，在与被保险人或者受益人达成赔偿或者给付保险金的协议后十日内，履行赔偿或者给付保险金义务。保险合同对赔偿或者给付保险金的期限有约定的，保险人应当按照约定履行赔偿或者给付保险金义务。\\n保险人未及时履行前款规定义务的，除支付保险金外，应当赔偿被保险人或者受益人因此受到的损失。\\n任何单位和个人不得非法干预保险人履行赔偿或者给付保险金的义务，也不得限制被保险人或者受益人取得保险金的权利。\",\"doc_no\":\"中华人民共和国主席令第26号\",\"timeliness\":\"现行有效\",\"effectiveness\":\"法律\",\"issue_department\":\"全国人大常委会\",\"issue_date\":\"2015-04-24\",\"implementation_date\":\"\",\"lib\":\"chl\",\"url\":\"https://pkulaw.com/chl/fcd28ac98601200fbdfb.html\"}]",
      "type": "text"
    }
  ],
  "isError": false,
  "resultType": "complete",
  "structuredContent": {
    "result": [
      {
        "article": "第三十三条　保险公司收到被保险人或者受益人的赔偿或者给付保险金的请求后，应当依照法律法规和合同约定及时作出处理，不得拖延理赔、无理拒赔。",
        "doc_no": "中国银行保险监督管理委员会令2022年第9号",
        "effectiveness": "部门规章",
        "gid": "2393bf64eb0e4f4cbdfb",
        "implementation_date": "",
        "issue_date": "2022-12-12",
        "issue_department": "中国银行保险监督管理委员会(已撤销)",
        "lib": "chl",
        "timeliness": "现行有效",
        "title": "银行保险机构消费者权益保护管理办法",
        "url": "https://pkulaw.com/chl/2393bf64eb0e4f4cbdfb.html"
      },
      {
        "article": "第二十八条　被保险机动车发生道路交通事故的，由被保险人向保险公司申请赔偿保险金。保险公司应当自收到赔偿申请之日起1日内，书面告知被保险人需要向保险公司提供的与赔偿有关的证明和资料。",
        "doc_no": "中华人民共和国国务院令第709号",
        "effectiveness": "行政法规",
        "gid": "81fccaf138caee81bdfb",
        "implementation_date": "",
        "issue_date": "2019-03-02",
        "issue_department": "国务院",
        "lib": "chl",
        "timeliness": "现行有效",
        "title": "机动车交通事故责任强制保险条例(2019修订)",
        "url": "https://pkulaw.com/chl/81fccaf138caee81bdfb.html"
      },
      {
        "article": "第二十三条　保险人收到被保险人或者受益人的赔偿或者给付保险金的请求后，应当及时作出核定；情形复杂的，应当在三十日内作出核定，但合同另有约定的除外。保险人应当将核定结果通知被保险人或者受益人；对属于保险责任的，在与被保险人或者受益人达成赔偿或者给付保险金的协议后十日内，履行赔偿或者给付保险金义务。保险合同对赔偿或者给付保险金的期限有约定的，保险人应当按照约定履行赔偿或者给付保险金义务。\n保险人未及时履行前款规定义务的，除支付保险金外，应当赔偿被保险人或者受益人因此受到的损失。\n任何单位和个人不得非法干预保险人履行赔偿或者给付保险金的义务，也不得限制被保险人或者受益人取得保险金的权利。",
        "doc_no": "中华人民共和国主席令第26号",
        "effectiveness": "法律",
        "gid": "fcd28ac98601200fbdfb",
        "implementation_date": "",
        "issue_date": "2015-04-24",
        "issue_department": "全国人大常委会",
        "lib": "chl",
        "timeliness": "现行有效",
        "title": "中华人民共和国保险法(2015修正)",
        "url": "https://pkulaw.com/chl/fcd28ac98601200fbdfb.html"
      }
    ]
  }
}
```

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

## Available implementations
- pkulaw: https://openany.si/market/apis/pkulaw/pkulaw-intelligent-legal-search-search-article/?offering=e5efc4ca-4589-482f-8cbf-4d32d4b6cbb6

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