# Legal Provision Detail API

Get Yuandian Legal Provision Detail via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Yuandian, pass parameters such as fgmc, ftnum, refer_date, and retrieve structured data including business status code, content, identifier, title, and returned fbrq field for document research and entity reference, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/yuandian/yuandian-legal-provision-detail-api/?offering=b30f9c47-f6b8-4689-8edb-e926558569b9
API ID: b30f9c47-f6b8-4689-8edb-e926558569b9
Provider: yuandian
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/yuandian/open/rh_ft_detail
Page update time: 2026-12-03T02:49:59.539Z
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:49:58.678Z. 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": "Legal Provision Detail API 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": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the detail target."
        },
        "fgmc": {
          "type": "string",
          "description": "Regulation name (required when `id` is empty)"
        },
        "ftnum": {
          "type": "string",
          "description": "Provision number/name (required when `id` is empty)"
        },
        "refer_date": {
          "type": "string",
          "description": "Reference date used to determine the laws and regulations effective at that time; if omitted, uses the currently effective version. Format: yyyy-MM-dd"
        }
      }
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string"
        },
        "fbrq": {
          "type": "string"
        },
        "fgid": {
          "type": "string"
        },
        "fgmc": {
          "type": "string"
        },
        "ft_num": {
          "type": "string"
        },
        "ftmc": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "ssrq": {
          "type": "string"
        },
        "sxx": {
          "type": "string"
        },
        "tid": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "xljb_1": {
          "type": "string"
        },
        "xljb_2": {
          "type": "string"
        }
      }
    },
    "message": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (HTTP status set during import)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/yuandian/open/rh_ft_detail' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "fgmc": "中华人民共和国刑法",
  "ftnum": "第一百条",
  "refer_date": "2025-01-01"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "code": 200,
  "data": {
    "content": "　【前科报告制度】依法受过刑事处罚的人，在入伍、就业的时候，应当如实向有关单位报告自己曾受过刑事处罚，不得隐瞒。\n犯罪的时候不满十八周岁被判处五年有期徒刑以下刑罚的人，免除前款规定的报告义务。",
    "fbrq": "2023-12-29",
    "fgid": "aecabfbe6b0843642509a7f1ff865413",
    "fgmc": "中华人民共和国刑法(2023修正)",
    "ft_num": "第一百条",
    "ftmc": "中华人民共和国刑法(2023修正)第一百条",
    "id": "aecabfbe6b0843642509a7f1ff865413_100",
    "ssrq": "2024-03-01",
    "sxx": "现行有效",
    "tid": "100",
    "title": "中华人民共和国刑法(2023修正)第一百条",
    "type": "法条",
    "url": "/zxt/statuteDetail/detailPage/aecabfbe6b0843642509a7f1ff865413?text=100",
    "xljb_1": "法律",
    "xljb_2": "法律"
  },
  "message": "请求成功",
  "status": "success"
}
```

## 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
- yuandian: https://openany.si/market/apis/yuandian/yuandian-legal-provision-detail-api/?offering=b30f9c47-f6b8-4689-8edb-e926558569b9

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