# Case Number Recognition and Source Tracing — anhao_recognition

Get Pkulaw Case Number Recognition and Source Tracing data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by PKULaw, pass parameters such as text, and retrieve structured data including text, returned type field, title, returned case flag field, and returned court field for document research and entity reference, and integration reference.

Documentation: https://openany.si/market/apis/pkulaw/pkulaw-case-number-recognition-and-source-tracing-anhao-recognition/?offering=93e240f3-26ff-4771-aaa8-d5b6e99cb7d6
API ID: 93e240f3-26ff-4771-aaa8-d5b6e99cb7d6
Provider: pkulaw
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/case-number-recognition/anhao_recognition
Page update time: 2026-12-03T02:49:59.718Z
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:49:59.229Z. 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": "Case Number Recognition and Source Tracing — anhao_recognition 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": {
        "text": {
          "description": "A text passage containing case numbers, rather than search terms. Typical inputs include judgment text, a ruling passage, a lawyer's letter citation passage, or a paper's case citation passage",
          "title": "Text",
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "title": "anhao_recognitionArguments",
      "type": "object",
      "description": "Identify case numbers in text + standardized verification"
    }
  },
  "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": {
        "result": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "caseFlag": {
                "type": "string"
              },
              "court": {
                "type": "string"
              },
              "end": {
                "type": "integer"
              },
              "gid": {
                "type": "string"
              },
              "lastInstanceDate": {
                "type": "string"
              },
              "start": {
                "type": "integer"
              },
              "text": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/pkulaw/case-number-recognition/anhao_recognition' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "text": "2024年6月18日，钱塘区人民法院作出（2024）浙0114破1-6号之二民事裁定：批准浙江某新材料公司等六家关联企业的重整计划，终止重整程序。"
}'
```

## 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-anhao-recognition",
      "version": "0.1.3"
    }
  },
  "content": [
    {
      "text": "{\n  \"text\": \"（2024）浙0114破1-6号\",\n  \"caseFlag\": \"（2024）浙0114破1-6号之二\",\n  \"title\": \"指导性案例252号：浙江某新材料股份有限公司系列执行实施案\",\n  \"court\": \"浙江省杭州市钱塘区人民法院（原杭州经济技术开发区人民法院）\",\n  \"lastInstanceDate\": \"2024.06.18\",\n  \"url\": \"https://www.pkulaw.com/pfnl/08df102e7c10f206b6d395298deef3e4750099a86672ec1ebdfb.html\",\n  \"start\": 20,\n  \"end\": 36,\n  \"gid\": \"08df102e7c10f206b6d395298deef3e4750099a86672ec1ebdfb\"\n}",
      "type": "text"
    }
  ],
  "isError": false,
  "resultType": "complete",
  "structuredContent": {
    "result": [
      {
        "caseFlag": "（2024）浙0114破1-6号之二",
        "court": "浙江省杭州市钱塘区人民法院（原杭州经济技术开发区人民法院）",
        "end": 36,
        "gid": "08df102e7c10f206b6d395298deef3e4750099a86672ec1ebdfb",
        "lastInstanceDate": "2024.06.18",
        "start": 20,
        "text": "（2024）浙0114破1-6号",
        "title": "指导性案例252号：浙江某新材料股份有限公司系列执行实施案",
        "url": "https://www.pkulaw.com/pfnl/08df102e7c10f206b6d395298deef3e4750099a86672ec1ebdfb.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-case-number-recognition-and-source-tracing-anhao-recognition/?offering=93e240f3-26ff-4771-aaa8-d5b6e99cb7d6

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