OpenAny
Get API keyAPI Key
APIDatalegal

PKULaw logo
Pkulaw Statute and Article History — get_article_history API

Get Pkulaw Statute and Article History data 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.

Selected price
$0.05 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Pkulaw Statute and Article History — get_article_history API

Prepare your request, then continue with your agent.

Selected price

$0.05 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Pkulaw Statute and Article History — get_article_history API

Pkulaw Statute and Article History — get_article_history API

Retrieve statute and Article History 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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs body: body
Selected implementation pkulaw · Statute and Article History — get_article_history
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

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)

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/pkulaw/statute-history/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": "中华人民共和国城市居民委员会组织法"
}'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published Pkulaw Statute and Article History — get_article_history API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Article History Timeline

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
pkulawCurrent
Statute and Article History — get_article_history · POST · View API reference
$0.05 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · pkulawUSD / call
Unit price
$0.05

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.

calls

Total $5

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/pkulaw/statute-history/get_article_history
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
articleNumberJSON request bodybodystringYes

Current article number, e.g. `3` or `第三条` (Article 3). Write Article 17-1 as 17.1 or `第十七条之一`.

minLength: 1 · maxLength: 40

lawTitleJSON request bodybodystringYes

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.

minLength: 1 · maxLength: 200

asOfJSON request bodybodystring | nullNo

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.

includeUnchangedJSON request bodybodybooleanNo

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.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • _metaobject
    • io.modelcontextprotocol/serverInfoobject
      • namestring
      • titlestring
      • versionstring
    • pkulaw/evidenceobject
      • confidencestring
      • notesstring[]
      • originstring
      • retrievedAtstring
      • verifiedByApiboolean
    • pkulaw/limitsstring[]
    • uiobject
      • resourceUristring
  • contentobject[]
    • textstring
    • typestring
  • isErrorboolean
  • resultTypestring
  • structuredContentobject
    • articleLabelstring
    • articleNumberstring
    • asOfBasisnull
    • asOfBasisChinesenull
    • asOfStatusnull
    • asOfVersionnull
    • citedAsOfAlternatenull
    • completenessobject
      • mergedVersionsinteger
      • missingChainVersionsinteger
      • otherArticleNumbersunknown[]
      • renumberedVersionsinteger
      • renumberingHandledboolean
      • rowsDroppedinteger
    • countsobject
      • changedinteger
      • totalinteger
      • unchangedinteger
      • unverifiableinteger
      • upstreamLabelConflictsinteger
    • currentVersionRefstring
    • lawCitationobject
      • anchorIdnull
      • articleLabelnull
      • articleNumbernull
      • formatBluebooknull
      • formatChinesestring
      • lawShortstring
      • lawTitlestring
      • urlstring
      • versionLabelstring
    • lawTitlestring
    • omitsSelfEvolutionboolean
    • precededByobject
      • citationobject
        • anchorIdnull
        • articleLabelnull
        • articleNumbernull
        • formatBluebooknull
        • formatChinesestring
        • lawShortnull
        • lawTitlestring
        • urlstring
        • versionLabelnull
      • documentNonull
      • lawTitlestring
      • relationstring
      • sincestring
    • sameTitleVersionCountinteger
    • succeededBynull
    • timelineobject[]
      • articleLabelstring
      • articleNumberstring
      • changeTypestring
      • changeTypeChinesestring
      • citationobject
        • anchorIdnull
        • articleLabelstring
        • articleNumberstring
        • formatBluebooknull
        • formatChinesestring
        • lawShortstring
        • lawTitlestring
        • urlstring
        • versionLabelstring
      • coversArticleNumbersunknown[]
      • implementDatestring
      • implementDateUnknownboolean
      • isCurrentAnchorboolean
      • issueDatestring
      • renumberedboolean
      • textstring
      • textComparisonobject
        • attributableboolean
        • baselineVersionRefstring | null
        • conflictsWithUpstreamLabelboolean
        • reasonnull | string
        • structuralChangeboolean
        • unverifiableCausenull | string
        • verdictstring
      • textUnavailableboolean
      • versionRefstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    Article History Timeline
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/pkulaw/statute-history/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": "中华人民共和国城市居民委员会组织法"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "_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:20Z",
          "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": "正本"
          }
        ]
      }
    }

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.

Use Pkulaw Statute and Article History — get_article_history API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.