# 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/market/apis/pkulaw/pkulaw-intelligent-legal-search-get-article/?offering=752dc865-bf59-440a-818d-81ddd5663ab7
API ID: 752dc865-bf59-440a-818d-81ddd5663ab7
Provider: pkulaw
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_article
Page update time: 2026-12-03T02:50:02.379Z
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:00.679Z. 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 — 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.

## Available implementations
- pkulaw: https://openany.si/market/apis/pkulaw/pkulaw-intelligent-legal-search-get-article/?offering=752dc865-bf59-440a-818d-81ddd5663ab7

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