# Intelligent Legal Search — get_article_history

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

Documentation: https://openany.si/pkulaw/pkulaw-intelligent-legal-search-get-article-history/9b0c9d79-c841-4758-a3c8-fa0143f570e1/
API ID: 9b0c9d79-c841-4758-a3c8-fa0143f570e1
Provider: pkulaw
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_article_history
Page update time: 2026-12-04T01:47:27.519Z
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.519Z. 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\_history API

Search for intelligent Legal get\_article\_history with the PKULaw API. Provide lawTitle in body, articleNumber 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.articleLabel` | Returned article label field |
| `structuredContent.articleNumber` | Returned article number field |
| `structuredContent.asOfBasis` | Returned as of basis value (nullable in the reference) |
| `structuredContent.asOfBasisChinese` | Returned as of basis chinese value (nullable in the reference) |
| `structuredContent.asOfStatus` | Returned as of status value (nullable in the reference) |
| `structuredContent.asOfVersion` | Returned as of version value (nullable in the reference) |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Intelligent Legal Search — get_article_history 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": {
        "articleNumber": {
          "description": "Current article number, e.g. `3` or `第三条` (Article 3). Write Article 17-1 as 17.1 or `第十七条之一`.",
          "maxLength": 40,
          "minLength": 1,
          "title": "articleNumber",
          "type": "string"
        },
        "asOf": {
          "anyOf": [
            {
              "maxLength": 40,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Locate a specific version; if omitted, return the complete timeline. Accepts a date YYYY-MM-DD (locates by effective date: which version was in force on that date), a version label (e.g. `2018修正`, amended in 2018, as returned by list_law_versions; for the Criminal Law and similar statutes, use `2023修正`, not `刑法修正案（十一）`, Amendment XI to the Criminal Law), or current (the current version). Date-based resolution causes an error if the chain contains versions with unknown effective dates; use a version label instead.",
          "title": "asOf"
        },
        "includeUnchanged": {
          "default": true,
          "description": "Whether to retain versions whose original texts are verified as character-for-character identical to the previous version. Default true: lawyers often use the fact that an article was unchanged in a particular amendment or revision as counterevidence. false filters out only versions with textComparison=confirmedIdentical; all unverifiable versions are retained, because treating unknown as unchanged and filtering it out would cause greater distortion. counts always counts all recorded snapshots and is unaffected by this parameter.",
          "title": "includeUnchanged",
          "type": "boolean"
        },
        "lawTitle": {
          "description": "Statute name. Full or abbreviated names are accepted, e.g. `公司法` (Company Law), `民法典` (Civil Code), or `上海市生活垃圾管理条例` (Shanghai Municipal Regulations on Domestic Waste Management). Version hints such as `新公司法` (new Company Law), `2023公司法` (2023 Company Law), or `公司法 2023修订` (Company Law, revised in 2023) are also accepted. For long names of judicial interpretations, meeting minutes, and similar documents, supply as much of the full name as possible. Maximum 200 characters.",
          "maxLength": 200,
          "minLength": 1,
          "title": "lawTitle",
          "type": "string"
        }
      },
      "required": [
        "lawTitle",
        "articleNumber"
      ],
      "title": "get_article_historyArguments",
      "type": "object",
      "description": "Article History Timeline"
    }
  },
  "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"
            },
            "title": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          }
        },
        "pkulaw/evidence": {
          "type": "object",
          "properties": {
            "confidence": {
              "type": "string"
            },
            "notes": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "origin": {
              "type": "string"
            },
            "retrievedAt": {
              "type": "string"
            },
            "verifiedByApi": {
              "type": "boolean"
            }
          }
        },
        "pkulaw/limits": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "ui": {
          "type": "object",
          "properties": {
            "resourceUri": {
              "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": {
        "articleLabel": {
          "type": "string"
        },
        "articleNumber": {
          "type": "string"
        },
        "asOfBasis": {
          "type": "null"
        },
        "asOfBasisChinese": {
          "type": "null"
        },
        "asOfStatus": {
          "type": "null"
        },
        "asOfVersion": {
          "type": "null"
        },
        "citedAsOfAlternate": {
          "type": "null"
        },
        "completeness": {
          "type": "object",
          "properties": {
            "mergedVersions": {
              "type": "integer"
            },
            "missingChainVersions": {
              "type": "integer"
            },
            "otherArticleNumbers": {
              "type": "array",
              "items": {}
            },
            "renumberedVersions": {
              "type": "integer"
            },
            "renumberingHandled": {
              "type": "boolean"
            },
            "rowsDropped": {
              "type": "integer"
            }
          }
        },
        "counts": {
          "type": "object",
          "properties": {
            "changed": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            },
            "unchanged": {
              "type": "integer"
            },
            "unverifiable": {
              "type": "integer"
            },
            "upstreamLabelConflicts": {
              "type": "integer"
            }
          }
        },
        "currentVersionRef": {
          "type": "string"
        },
        "lawCitation": {
          "type": "object",
          "properties": {
            "anchorId": {
              "type": "null"
            },
            "articleLabel": {
              "type": "null"
            },
            "articleNumber": {
              "type": "null"
            },
            "formatBluebook": {
              "type": "null"
            },
            "formatChinese": {
              "type": "string"
            },
            "lawShort": {
              "type": "string"
            },
            "lawTitle": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "versionLabel": {
              "type": "string"
            }
          }
        },
        "lawTitle": {
          "type": "string"
        },
        "omitsSelfEvolution": {
          "type": "boolean"
        },
        "precededBy": {
          "type": "object",
          "properties": {
            "citation": {
              "type": "object",
              "properties": {
                "anchorId": {
                  "type": "null"
                },
                "articleLabel": {
                  "type": "null"
                },
                "articleNumber": {
                  "type": "null"
                },
                "formatBluebook": {
                  "type": "null"
                },
                "formatChinese": {
                  "type": "string"
                },
                "lawShort": {
                  "type": "null"
                },
                "lawTitle": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "versionLabel": {
                  "type": "null"
                }
              }
            },
            "documentNo": {
              "type": "null"
            },
            "lawTitle": {
              "type": "string"
            },
            "relation": {
              "type": "string"
            },
            "since": {
              "type": "string"
            }
          }
        },
        "sameTitleVersionCount": {
          "type": "integer"
        },
        "succeededBy": {
          "type": "null"
        },
        "timeline": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "articleLabel": {
                "type": "string"
              },
              "articleNumber": {
                "type": "string"
              },
              "changeType": {
                "type": "string"
              },
              "changeTypeChinese": {
                "type": "string"
              },
              "citation": {
                "type": "object",
                "properties": {
                  "anchorId": {
                    "type": "null"
                  },
                  "articleLabel": {
                    "type": "string"
                  },
                  "articleNumber": {
                    "type": "string"
                  },
                  "formatBluebook": {
                    "type": "null"
                  },
                  "formatChinese": {
                    "type": "string"
                  },
                  "lawShort": {
                    "type": "string"
                  },
                  "lawTitle": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "versionLabel": {
                    "type": "string"
                  }
                }
              },
              "coversArticleNumbers": {
                "type": "array",
                "items": {}
              },
              "implementDate": {
                "type": "string"
              },
              "implementDateUnknown": {
                "type": "boolean"
              },
              "isCurrentAnchor": {
                "type": "boolean"
              },
              "issueDate": {
                "type": "string"
              },
              "renumbered": {
                "type": "boolean"
              },
              "text": {
                "type": "string"
              },
              "textComparison": {
                "type": "object",
                "properties": {
                  "attributable": {
                    "type": "boolean"
                  },
                  "baselineVersionRef": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "conflictsWithUpstreamLabel": {
                    "type": "boolean"
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "structuralChange": {
                    "type": "boolean"
                  },
                  "unverifiableCause": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "verdict": {
                    "type": "string"
                  }
                }
              },
              "textUnavailable": {
                "type": "boolean"
              },
              "versionRef": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_article_history' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "articleNumber": "1",
  "lawTitle": "中华人民共和国城市居民委员会组织法"
}'
```

## 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-statute-history",
      "title": "北大法宝·法规与法条沿革",
      "version": "1.0.0"
    },
    "pkulaw/evidence": {
      "confidence": "B",
      "notes": [
        "沿革链上另有前身《城市居民委员会组织条例》，已放到 precededBy，不是本法的修订版。"
      ],
      "origin": "mixed",
      "retrievedAt": "2026-10-28T12:48:18Z",
      "verifiedByApi": true
    },
    "pkulaw/limits": [
      "沿革链上出现换了名称的前身或后继法。同名修订仍可引用；不要把后继法 / 前身写成 versionRef 或引注括号。"
    ],
    "ui": {
      "resourceUri": "ui://pkulaw-statute-history/article-history.html"
    }
  },
  "content": [
    {
      "text": "《中华人民共和国城市居民委员会组织法》第一条本条已收录 3 个历史版本，经原文核对 1 版确有改动、1 版与上一版逐字相同（1 版无法核对）。\n最近一次文字改动出现在 2025修订（2026-01-01）。\n本法之前的前身是《城市居民委员会组织条例》，不是本法的一个修订版。\n各版本（施行日新→旧）：\n- 2025修订（2026-01-01，有改动）：第一条　　为了健全基层群众自治制度，由城市居民依法办理自己的事情，发展基层民主，维护居民的合法权益，推进基层治理体系和治…  https://www.pkulaw.com/chl/e2818f88098a071cbdfb.html?way=mcp#tiao_1\n- 2018修正（2018-12-29，与上一版一致）：第一条　　为了加强城市居民委员会的建设，由城市居民群众依法办理群众自己的事情，促进城市基层社会主义民主和城市社会主义物质…  https://www.pkulaw.com/chl/74b469aedc9b119fbdfb.html?way=mcp#tiao_1\n- 正本（1990-01-01，无法核对）：第一条　　为了加强城市居民委员会的建设，由城市居民群众依法办理群众自己的事情，促进城市基层社会主义民主和城市社会主义物质…  https://www.pkulaw.com/chl/a5fe2489ffa24ee1bdfb.html?way=mcp#tiao_1\n本法正文页：https://www.pkulaw.com/chl/e2818f88098a071cbdfb.html\n\n可信级别：B（需复核后再引用）。\n\n【本次调用需注意】\n- 沿革链上另有前身《城市居民委员会组织条例》，已放到 precededBy，不是本法的修订版。\n- 沿革链上出现换了名称的前身或后继法。同名修订仍可引用；不要把后继法 / 前身写成 versionRef 或引注括号。",
      "type": "text"
    }
  ],
  "isError": false,
  "resultType": "complete",
  "structuredContent": {
    "articleLabel": "第一条",
    "articleNumber": "1.0",
    "asOfBasis": null,
    "asOfBasisChinese": null,
    "asOfStatus": null,
    "asOfVersion": null,
    "citedAsOfAlternate": null,
    "completeness": {
      "mergedVersions": 0,
      "missingChainVersions": 0,
      "otherArticleNumbers": [],
      "renumberedVersions": 0,
      "renumberingHandled": true,
      "rowsDropped": 0
    },
    "counts": {
      "changed": 1,
      "total": 3,
      "unchanged": 1,
      "unverifiable": 1,
      "upstreamLabelConflicts": 0
    },
    "currentVersionRef": "2025修订",
    "lawCitation": {
      "anchorId": null,
      "articleLabel": null,
      "articleNumber": null,
      "formatBluebook": null,
      "formatChinese": "《中华人民共和国城市居民委员会组织法》（2025修订）",
      "lawShort": "城市居民委员会组织法",
      "lawTitle": "中华人民共和国城市居民委员会组织法",
      "url": "https://www.pkulaw.com/chl/e2818f88098a071cbdfb.html",
      "versionLabel": "2025修订"
    },
    "lawTitle": "中华人民共和国城市居民委员会组织法",
    "omitsSelfEvolution": false,
    "precededBy": {
      "citation": {
        "anchorId": null,
        "articleLabel": null,
        "articleNumber": null,
        "formatBluebook": null,
        "formatChinese": "《城市居民委员会组织条例》",
        "lawShort": null,
        "lawTitle": "城市居民委员会组织条例",
        "url": "https://www.pkulaw.com/chl/19ed8e15f8861e3bbdfb.html",
        "versionLabel": null
      },
      "documentNo": null,
      "lawTitle": "城市居民委员会组织条例",
      "relation": "predecessor",
      "since": "1990-01-01"
    },
    "sameTitleVersionCount": 3,
    "succeededBy": null,
    "timeline": [
      {
        "articleLabel": "第一条",
        "articleNumber": "1.0",
        "changeType": "modified",
        "changeTypeChinese": "修改",
        "citation": {
          "anchorId": null,
          "articleLabel": "第一条",
          "articleNumber": "1.0",
          "formatBluebook": null,
          "formatChinese": "《中华人民共和国城市居民委员会组织法》（2025修订）第一条",
          "lawShort": "城市居民委员会组织法",
          "lawTitle": "中华人民共和国城市居民委员会组织法",
          "url": "https://www.pkulaw.com/chl/e2818f88098a071cbdfb.html?way=mcp#tiao_1",
          "versionLabel": "中华人民共和国城市居民委员会组织法(2025修订)"
        },
        "coversArticleNumbers": [],
        "implementDate": "2026-01-01",
        "implementDateUnknown": false,
        "isCurrentAnchor": true,
        "issueDate": "2025-10-28",
        "renumbered": false,
        "text": "第一条　　为了健全基层群众自治制度，由城市居民依法办理自己的事情，发展基层民主，维护居民的合法权益，推进基层治理体系和治理能力现代化，根据宪法，制定本法。",
        "textComparison": {
          "attributable": true,
          "baselineVersionRef": "2018修正",
          "conflictsWithUpstreamLabel": false,
          "reason": null,
          "structuralChange": false,
          "unverifiableCause": null,
          "verdict": "confirmedChanged"
        },
        "textUnavailable": false,
        "versionRef": "2025修订"
      },
      {
        "articleLabel": "第一条",
        "articleNumber": "1.0",
        "changeType": "unchanged",
        "changeTypeChinese": "未修改",
        "citation": {
          "anchorId": null,
          "articleLabel": "第一条",
          "articleNumber": "1.0",
          "formatBluebook": null,
          "formatChinese": "《中华人民共和国城市居民委员会组织法》（2018修正）第一条",
          "lawShort": "城市居民委员会组织法",
          "lawTitle": "中华人民共和国城市居民委员会组织法",
          "url": "https://www.pkulaw.com/chl/74b469aedc9b119fbdfb.html?way=mcp#tiao_1",
          "versionLabel": "中华人民共和国城市居民委员会组织法(2018修正)"
        },
        "coversArticleNumbers": [],
        "implementDate": "2018-12-29",
        "implementDateUnknown": false,
        "isCurrentAnchor": false,
        "issueDate": "2018-12-29",
        "renumbered": false,
        "text": "第一条　　为了加强城市居民委员会的建设，由城市居民群众依法办理群众自己的事情，促进城市基层社会主义民主和城市社会主义物质文明、精神文明建设的发展，根据宪法，制定本法。",
        "textComparison": {
          "attributable": true,
          "baselineVersionRef": "正本",
          "conflictsWithUpstreamLabel": false,
          "reason": null,
          "structuralChange": false,
          "unverifiableCause": null,
          "verdict": "confirmedIdentical"
        },
        "textUnavailable": false,
        "versionRef": "2018修正"
      },
      {
        "articleLabel": "第一条",
        "articleNumber": "1.0",
        "changeType": "origin",
        "changeTypeChinese": "首版",
        "citation": {
          "anchorId": null,
          "articleLabel": "第一条",
          "articleNumber": "1.0",
          "formatBluebook": null,
          "formatChinese": "《中华人民共和国城市居民委员会组织法》第一条",
          "lawShort": "城市居民委员会组织法",
          "lawTitle": "中华人民共和国城市居民委员会组织法",
          "url": "https://www.pkulaw.com/chl/a5fe2489ffa24ee1bdfb.html?way=mcp#tiao_1",
          "versionLabel": "中华人民共和国城市居民委员会组织法"
        },
        "coversArticleNumbers": [],
        "implementDate": "1990-01-01",
        "implementDateUnknown": false,
        "isCurrentAnchor": false,
        "issueDate": "1989-12-26",
        "renumbered": false,
        "text": "第一条　　为了加强城市居民委员会的建设，由城市居民群众依法办理群众自己的事情，促进城市基层社会主义民主和城市社会主义物质文明、精神文明建设的发展，根据宪法，制定本法。",
        "textComparison": {
          "attributable": false,
          "baselineVersionRef": null,
          "conflictsWithUpstreamLabel": false,
          "reason": "本版是已收录版本中最早的一版，没有可比较的上一版。",
          "structuralChange": false,
          "unverifiableCause": "noBaseline",
          "verdict": "unverifiable"
        },
        "textUnavailable": false,
        "versionRef": "正本"
      }
    ]
  }
}
```

## 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 lawTitle in body (string); articleNumber 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-history/9b0c9d79-c841-4758-a3c8-fa0143f570e1/

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