OpenAny
Get API keyAPI Key
APIDatalegal

PKULaw logo
Pkulaw Search Administrative Enforcement — search_enforcement API

Get Pkulaw Search Administrative Enforcement data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by PKULaw, pass parameters such as documentNo, pageSize, searchType, and retrieve structured data including text, returned type field, title, returned according law field, and returned category 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 Search Administrative Enforcement — search_enforcement 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 Search Administrative Enforcement — search_enforcement API

Pkulaw Search Administrative Enforcement — search_enforcement API

Search for Administrative Enforcement search_enforcement with the PKULaw API. Provide JSON payload 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 · Search Administrative Enforcement — search_enforcement
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.data[].title Title
structuredContent.data[].accordingLaw Returned according law field
structuredContent.data[].category Returned category field
structuredContent.data[].documentNo Returned document no field
structuredContent.data[].enforcementLevel Returned enforcement level field
structuredContent.data[].lawEnforceType Returned law enforce type field

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/enforcement/search_enforcement' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "documentNo": "财监法〔2026〕193号",
  "pageSize": 3,
  "searchType": "keyword"
}'

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 Search Administrative Enforcement — search_enforcement 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
Optional parameters (12)
Pass back nextCursor from the previous page unchanged. Leave empty for the first page; do not supply it unless the user requests more results. Keep all other parameters the same as on the previous page when paginating
Issued document / case number, matched as a phrase; separate multiple entries with spaces. Vertical bars do not mean OR. Ignored in semantic mode when queryText is supplied
Publication date to. Accepts 2026.01.01, 2026-01-01, or 2026/01/01; missing zero-padding is added automatically
lawEnforceType array
Enforcement type, e.g. `行政处罚` (administrative penalty), `行政处理` (administrative disposition), `市场禁入` (market entry ban), or `行政检查` (administrative inspection)
lawRegional array
Enforcement region. Accepts only `中央` (central) or a province-level administrative region name, e.g. `广东省` (Guangdong Province); do not supply city or county names
Number of results on this page, e.g. 10; maximum 50. A search can retrieve at most 50 results across 5 pages. Keep this value the same as on the previous page when paginating
punishmentTarget array
Category of penalty recipient: `个人` (individual) or `组织` (organization)
Penalty types, as a string, not an array. Accepts full code-table names or fragments, e.g. `罚款` (fine); separate multiple entries with spaces, Chinese enumeration commas `、`, or commas
Description of case facts or unlawful conduct. In semantic mode, the whole passage is vectorized without splitting on vertical bars; if no case-facts description is supplied in semantic mode, filtering uses the title, document number, and other filters. In keyword mode, used for full-text phrase search: spaces and commas mean AND, | means OR, and the Chinese enumeration comma `、` does not split terms
keyword=search by title, issued document / case number, full text, or filters (default); semantic=find similar documents from case facts supplied in queryText, ignoring title and documentNo
Publication date from. Accepts 2026.01.01, 2026-01-01, or 2026/01/01; missing zero-padding, e.g. 2026.1.1, is added automatically
Document title: phrase matching, not exact equality of the entire text. Spaces and commas mean AND; | means OR. The Chinese enumeration comma does not split terms. Ignored when searchType is semantic and queryText is supplied.
Administrative Enforcement Search

Sample response

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

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
pkulawCurrent
Search Administrative Enforcement — search_enforcement · 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/enforcement/search_enforcement
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
cursorJSON request bodybodystringNo

Pass back nextCursor from the previous page unchanged. Leave empty for the first page; do not supply it unless the user requests more results. Keep all other parameters the same as on the previous page when paginating

documentNoJSON request bodybodystringNo

Issued document / case number, matched as a phrase; separate multiple entries with spaces. Vertical bars do not mean OR. Ignored in semantic mode when queryText is supplied

maxLength: 100

endPunishmentDateJSON request bodybodystringNo

Publication date to. Accepts 2026.01.01, 2026-01-01, or 2026/01/01; missing zero-padding is added automatically

maxLength: 10

lawEnforceTypeJSON request bodybodyarrayNo

Enforcement type, e.g. `行政处罚` (administrative penalty), `行政处理` (administrative disposition), `市场禁入` (market entry ban), or `行政检查` (administrative inspection)

Nested fields and variants

body.lawEnforceType[] · Array item · string

lawRegionalJSON request bodybodyarrayNo

Enforcement region. Accepts only `中央` (central) or a province-level administrative region name, e.g. `广东省` (Guangdong Province); do not supply city or county names

Nested fields and variants

body.lawRegional[] · Array item · string

pageSizeJSON request bodybodyintegerNo

Number of results on this page, e.g. 10; maximum 50. A search can retrieve at most 50 results across 5 pages. Keep this value the same as on the previous page when paginating

minimum: 1 · maximum: 50

punishmentTargetJSON request bodybodyarrayNo

Category of penalty recipient: `个人` (individual) or `组织` (organization)

Nested fields and variants

body.punishmentTarget[] · Array item · string

punishmentTypeJSON request bodybodystringNo

Penalty types, as a string, not an array. Accepts full code-table names or fragments, e.g. `罚款` (fine); separate multiple entries with spaces, Chinese enumeration commas `、`, or commas

queryTextJSON request bodybodystringNo

Description of case facts or unlawful conduct. In semantic mode, the whole passage is vectorized without splitting on vertical bars; if no case-facts description is supplied in semantic mode, filtering uses the title, document number, and other filters. In keyword mode, used for full-text phrase search: spaces and commas mean AND, | means OR, and the Chinese enumeration comma `、` does not split terms

maxLength: 1000

searchTypeJSON request bodybodystringNo

keyword=search by title, issued document / case number, full text, or filters (default); semantic=find similar documents from case facts supplied in queryText, ignoring title and documentNo

enum: "semantic", "keyword"

startPunishmentDateJSON request bodybodystringNo

Publication date from. Accepts 2026.01.01, 2026-01-01, or 2026/01/01; missing zero-padding, e.g. 2026.1.1, is added automatically

maxLength: 10

titleJSON request bodybodystringNo

Document title: phrase matching, not exact equality of the entire text. Spaces and commas mean AND; | means OR. The Chinese enumeration comma does not split terms. Ignored when searchType is semantic and queryText is supplied.

maxLength: 200

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
      • notesunknown[]
      • originstring
      • retrievedAtstring
      • verifiedByApiboolean
  • contentobject[]
    • textstring
    • typestring
  • isErrorboolean
  • resultTypestring
  • structuredContentobject
    • dataobject[]
      • accordingLawstring[]
      • categorystring[]
      • documentNostring
      • enforcementLevelstring
      • lawEnforceTypestring[]
      • punishOrganstring
      • punishmentDatestring
      • punishmentTargetstring[]
      • punishmentTypestring[]
      • titlestring
      • urlstring
    • hasMoreboolean
    • messagestring
    • nextCursornull
    • totalinteger

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
    Administrative Enforcement Search
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/pkulaw/enforcement/search_enforcement' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      --data-raw '{
      "documentNo": "财监法〔2026〕193号",
      "pageSize": 3,
      "searchType": "keyword"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "_meta": {
        "io.modelcontextprotocol/serverInfo": {
          "name": "pkulaw-enforcement-doc",
          "title": "北大法宝·行政执法检索",
          "version": "1.0.0"
        },
        "pkulaw/evidence": {
          "confidence": "B",
          "notes": [],
          "origin": "search",
          "retrievedAt": "2026-10-28T12:48:22Z",
          "verifiedByApi": true
        }
      },
      "content": [
        {
          "text": "检索到 1 条行政执法文书,本页 1 条,最多 5 页,一次最多 50 条。召回按相关度排序,引用前请打开 URL 核对原文。\n- 1. 财政部行政处罚决定书(财监法〔2026〕193号)(财监法〔2026〕193号,警告、通报批评、罚款、没收违法所得、没收非法财物,中华人民共和国财政部,依据:中华人民共和国注册会计师法(2014修正)第21条第1款、中华人民共和国注册会计师法(2014修正)第21条第2款、中华人民共和国注册会计师法(2014修正)第21条第3款、中华人民共和国注册会计师法(2014修正)第31条、会计师事务所执业许可和监督管理办法(2019修改)第60条第1款、中华人民共和国注册会计师法(2014修正)第39条第1款、会计师事务所执业许可和监督管理办法(2019修改)第67条第1款,2026.07.31)  https://www.pkulaw.com/apy/9445d6e6deb7c9d25469aabb87ec71c0d4d2ea8dab269752bdfb.html?way=mcp",
          "type": "text"
        }
      ],
      "isError": false,
      "resultType": "complete",
      "structuredContent": {
        "data": [
          {
            "accordingLaw": [
              "中华人民共和国注册会计师法(2014修正)第21条第1款",
              "中华人民共和国注册会计师法(2014修正)第21条第2款",
              "中华人民共和国注册会计师法(2014修正)第21条第3款",
              "中华人民共和国注册会计师法(2014修正)第31条",
              "会计师事务所执业许可和监督管理办法(2019修改)第60条第1款",
              "中华人民共和国注册会计师法(2014修正)第39条第1款",
              "会计师事务所执业许可和监督管理办法(2019修改)第67条第1款"
            ],
            "category": [
              "财税",
              "会计",
              "审计",
              "招标采购"
            ],
            "documentNo": "财监法〔2026〕193号",
            "enforcementLevel": "中央",
            "lawEnforceType": [
              "行政处罚"
            ],
            "punishOrgan": "中华人民共和国财政部",
            "punishmentDate": "2026.07.31",
            "punishmentTarget": [
              "组织"
            ],
            "punishmentType": [
              "警告、通报批评",
              "罚款、没收违法所得、没收非法财物"
            ],
            "title": "财政部行政处罚决定书(财监法〔2026〕193号)",
            "url": "https://www.pkulaw.com/apy/9445d6e6deb7c9d25469aabb87ec71c0d4d2ea8dab269752bdfb.html?way=mcp"
          }
        ],
        "hasMore": false,
        "message": "查询成功",
        "nextCursor": null,
        "total": 1
      }
    }

Common questions

Which inputs identify this request?

Provide JSON payload in body (object). 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 Search Administrative Enforcement — search_enforcement API with your agent

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