# QCC — Article Details

Get Qcc Article Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by QCC, pass parameters such as articleNo, regulationName, and retrieve structured data including text, returned type field, and returned result type field for document research and entity reference, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/qcc/qcc-article-details/?offering=73e54f35-602b-4c44-aaf9-91d29374011d
API ID: 73e54f35-602b-4c44-aaf9-91d29374011d
Provider: qcc
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/qcc/regulation/get_legal_article_detail
Page update time: 2026-12-03T02:50:15.060Z
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 / 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:50:14.555Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "QCC — Article Details 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": {
        "articleNo": {
          "description": "Article number; normalizes forms such as 第二十条, 第20条, 20, or 二十条. Must be supplied together with regulationName.",
          "type": "string"
        },
        "id": {
          "description": "Article ID returned by the article keyword search tool. Supply either id or regulationName plus articleNo; id takes priority.",
          "type": "string"
        },
        "referDate": {
          "description": "Optional date for selecting the version effective at a point in time, YYYY-MM-DD. Applies only when using regulationName plus articleNo.",
          "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
          "type": "string"
        },
        "regulationName": {
          "description": "Regulation name; accepts abbreviations, common names, or full names. Must be supplied together with articleNo.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Retrieve the exact text of a statutory article by article ID or regulation name plus article number. Supports normalized common names and point-in-time versions."
    }
  },
  "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": {
            "icons": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "mimeType": {
                    "type": "string"
                  },
                  "sizes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "src": {
                    "type": "string"
                  }
                }
              }
            },
            "name": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "version": {
              "type": "string"
            },
            "websiteUrl": {
              "type": "string"
            }
          }
        }
      }
    },
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "resultType": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/qcc/regulation/get_legal_article_detail' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "articleNo": "第二十条",
  "regulationName": "中华人民共和国刑法"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "_meta": {
    "io.modelcontextprotocol/serverInfo": {
      "icons": [
        {
          "mimeType": "image/png",
          "sizes": [
            "60x60"
          ],
          "src": "https://qcc-static.qcc.com/resources/web/omaterial/favicon.png"
        }
      ],
      "name": "qcc-mcp",
      "title": "QCC MCP",
      "version": "1.0.0",
      "websiteUrl": "https://www.qcc.com/"
    }
  },
  "content": [
    {
      "text": "{\"摘要\":\"已定位《中华人民共和国刑法(2023修正)》第二十条，现行有效，以下为逐字原文。\",\"法条详情\":{\"法条ID\":\"rid1.wKnMJd-ZpG5Ozfc4.j-OSVyYkSZocs4fEiexxRoqY67YWMnpi1sJ19dKIkFU.4El-CzqfHqx5xDxZWtLnQg\",\"所属法规ID\":\"rid1.ZbMpgNFNc8XeNrjv.rl1bQaF_6fQO381duKfbK6iotXzwijj_rCV9cwAvasM.-3dSkx-z0iChH42u1h1P1w\",\"所属法规名称\":\"中华人民共和国刑法(2023修正)\",\"条号\":\"第二十条\",\"条文正文\":\"【正当防卫】为了使国家、公共利益、本人或者他人的人身、财产和其他权利免受正在进行的不法侵害，而采取的制止不法侵害的行为，对不法侵害人造成损害的，属于正当防卫，不负刑事责任。\\n正当防卫明显超过必要限度造成重大损害的，应当负刑事责任，但是应当减轻或者免除处罚。\\n对正在进行行凶、杀人、抢劫、强奸、绑架以及其他严重危及人身安全的暴力犯罪，采取防卫行为，造成不法侵害人伤亡的，不属于防卫过当，不负刑事责任。\",\"时效性\":\"现行有效\",\"效力级别一级\":\"法律\",\"效力级别二级\":\"法律\",\"制定机关\":\"全国人民代表大会、全国人民代表大会常务委员会\",\"施行地域\":[\"全国\"],\"发布日期\":\"2023-12-29\",\"施行日期\":\"2024-03-01\",\"发文字号\":\"\",\"引用链接\":\"https://www.qcclegal.com/regulation/affd6e5b7a04b1e3589a6e1ba70decfd/25?lcc_source=mcp\"}}",
      "type": "text"
    }
  ],
  "resultType": "complete"
}
```

## 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
- qcc: https://openany.si/market/apis/qcc/qcc-article-details/?offering=73e54f35-602b-4c44-aaf9-91d29374011d

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