# Search Statutes—Semantic — get_article

Get Pkulaw Search Statutes—Semantic data 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-search-statutes-semantic-get-article/?offering=2b4c9d6a-0d5b-4f83-bb9a-5912d52cdf76
API ID: 2b4c9d6a-0d5b-4f83-bb9a-5912d52cdf76
Provider: pkulaw
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/law-semantic/get_article
Page update time: 2026-12-03T02:50:02.084Z
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.532Z. 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": "Search Statutes—Semantic — 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": "Precise query by law name + article number"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "isError": {
      "type": "boolean"
    },
    "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/law-semantic/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
{
  "content": [
    {
      "text": "{\"gid\":\"aa00daaeb5a4fe4ebdfb\",\"title\":\"中华人民共和国民法典\",\"article\":\"第五百七十七条　当事人一方不履行合同义务或者履行合同义务不符合约定的，应当承担继续履行、采取补救措施或者赔偿损失等违约责任。\",\"doc_no\":\"\",\"timeliness\":\"现行有效\",\"effectiveness\":\"\",\"issue_department\":\"\",\"issue_date\":\"\",\"implementation_date\":\"\",\"lib\":\"chl\",\"url\":\"https://pkulaw.com/chl/aa00daaeb5a4fe4ebdfb.html\"}",
      "type": "text"
    }
  ],
  "isError": false,
  "structuredContent": {
    "article": "第五百七十七条　当事人一方不履行合同义务或者履行合同义务不符合约定的，应当承担继续履行、采取补救措施或者赔偿损失等违约责任。",
    "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-search-statutes-semantic-get-article/?offering=2b4c9d6a-0d5b-4f83-bb9a-5912d52cdf76

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