Case Number Recognition and Source Tracing — anhao_recognition
Identify case numbers in text + standardized verification with the PKULaw API. Supply text. Sample fields include titles. Use it to build a legal research or due diligence workflow.
- Selected price
- $0.05 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Case Number Recognition and Source Tracing — anhao_recognition
Prepare your request, then continue with your agent.
Selected price
$0.05 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
_metaobjectio.modelcontextprotocol/serverInfoobjectnamestringversionstring
contentobject[]textstringtypestring
isErrorbooleanresultTypestringstructuredContentobjectresultobject[]caseFlagstringcourtstringendintegergidstringlastInstanceDatestringstartintegertextstringtitlestringurlstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
_meta?: {
"io.modelcontextprotocol/serverInfo"?: {
name?: string;
version?: string;
};
};
content?: Array<{
text?: string;
type?: string;
}>;
isError?: boolean;
resultType?: string;
structuredContent?: {
result?: Array<{
caseFlag?: string;
court?: string;
end?: number;
gid?: string;
lastInstanceDate?: string;
start?: number;
text?: string;
title?: string;
url?: string;
}>;
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
pkulawCurrent Case Number Recognition and Source Tracing — anhao_recognition · POST · View API reference | $0.05 / call | — | —successP50— |
- 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: 4. Price update time: not supplied.
Total $5
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/pkulaw/case-number-recognition/anhao_recognition- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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号之二民事裁定:批准浙江某新材料公司等六家关联企业的重整计划,终止重整程序。"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
text | JSON request bodybody | string | Yes | 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 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"_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"
}
]
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Case Number Recognition and Source Tracing — anhao_recognition
Identify case numbers in text + standardized verification with the PKULaw API. Supply text. Sample fields include titles. Use it to build a legal research or due diligence workflow.
## Available implementations
pkulaw · Case Number Recognition and Source Tracing — anhao_recognition: https://openany.si/markets/apis/capabilities/pkulaw-case-number-recognition-and-source-tracing-anhao-recognition?offering=93e240f3-26ff-4771-aaa8-d5b6e99cb7d6 · $0.05 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/pkulaw-case-number-recognition-and-source-tracing-anhao-recognition
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/case-number-recognition/anhao_recognition
Price: $0.05 / call
Provider: pkulaw
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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号之二民事裁定:批准浙江某新材料公司等六家关联企业的重整计划,终止重整程序。"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Case Number Recognition and Source Tracing — anhao_recognition",
"endpoint": "https://api.openany.si/v1/agent-apis/pkulaw/case-number-recognition/anhao_recognition",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Identify case numbers in text + standardized verification",
"json_schema": {
"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"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "50000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example",
"request": {
"body": {
"text": "2024年6月18日,钱塘区人民法院作出(2024)浙0114破1-6号之二民事裁定:批准浙江某新材料公司等六家关联企业的重整计划,终止重整程序。"
},
"headers": {
"Accept": "application/json"
},
"path": {},
"query": {}
},
"response_body": {
"_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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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- Identify case numbers in text + standardized verification
Terminal · cURLcurl \ '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号之二民事裁定:批准浙江某新材料公司等六家关联企业的重整计划,终止重整程序。" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "_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" } ] } }