# Intelligent Legal Search — get_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 number, title, 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/pkulaw/pkulaw-intelligent-legal-search-get-article/752dc865-bf59-440a-818d-81ddd5663ab7/
API ID: 752dc865-bf59-440a-818d-81ddd5663ab7
Provider: pkulaw
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_article
Page update time: 2026-12-04T01:47:27.419Z
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.419Z. 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\_article API

Retrieve articles precisely by statute name + article number (preferred for article retrieval) with the PKULaw API. Provide title in body, number 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.title` | Title |
| `structuredContent.article` | Returned article field |
| `structuredContent.doc_no` | Returned doc no field |
| `structuredContent.effectiveness` | Returned effectiveness field |
| `structuredContent.gid` | Returned gid field |
| `structuredContent.implementation_date` | Returned implementation date field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Intelligent Legal Search — get_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": {
        "number": {
          "description": "Chinese article number, e.g. `第四十八条` (Article 48)",
          "type": "string"
        },
        "title": {
          "description": "Statute title (Chinese).",
          "type": "string"
        }
      },
      "required": [
        "title",
        "number"
      ],
      "type": "object",
      "description": "Retrieve articles precisely by statute name + article number (preferred for article retrieval)"
    }
  },
  "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": {
        "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/get_article' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "number": "第一千零七十七条",
  "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": "pkulaw-mcp-router-v2",
      "version": "0.1.0"
    }
  },
  "content": [
    {
      "text": "{\"gid\":\"aa00daaeb5a4fe4ebdfb\",\"title\":\"中华人民共和国民法典\",\"article\":\"第一千零七十七条　自婚姻登记机关收到离婚登记申请之日起三十日内，任何一方不愿意离婚的，可以向婚姻登记机关撤回离婚登记申请。\\n前款规定期限届满后三十日内，双方应当亲自到婚姻登记机关申请发给离婚证；未申请的，视为撤回离婚登记申请。\",\"doc_no\":\"\",\"timeliness\":\"现行有效\",\"effectiveness\":\"\",\"issue_department\":\"\",\"issue_date\":\"\",\"implementation_date\":\"\",\"lib\":\"chl\",\"url\":\"https://pkulaw.com/chl/aa00daaeb5a4fe4ebdfb.html\"}",
      "type": "text"
    }
  ],
  "isError": false,
  "resultType": "complete",
  "structuredContent": {
    "article": "第一千零七十七条　自婚姻登记机关收到离婚登记申请之日起三十日内，任何一方不愿意离婚的，可以向婚姻登记机关撤回离婚登记申请。\n前款规定期限届满后三十日内，双方应当亲自到婚姻登记机关申请发给离婚证；未申请的，视为撤回离婚登记申请。",
    "doc_no": "",
    "effectiveness": "",
    "gid": "aa00daaeb5a4fe4ebdfb",
    "implementation_date": "",
    "issue_date": "",
    "issue_department": "",
    "lib": "chl",
    "timeliness": "现行有效",
    "title": "中华人民共和国民法典",
    "url": "https://pkulaw.com/chl/aa00daaeb5a4fe4ebdfb.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.

## Common questions
### Which inputs identify this request?
Provide title in body (string); number in body (string). 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-article/752dc865-bf59-440a-818d-81ddd5663ab7/

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