# 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/yuandian/yuandian-legal-provision-detail-api/b30f9c47-f6b8-4689-8edb-e926558569b9/
API ID: b30f9c47-f6b8-4689-8edb-e926558569b9
Provider: yuandian
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/yuandian/open/rh_ft_detail
Page update time: 2026-12-04T01:47:27.512Z
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.0005 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-04T01:47:27.512Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Yuandian Legal Provision Detail API

Retrieve details of a single legal provision with the Yuandian API. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## 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 |
| --- | --- |
| `code` | Business status code |
| `data.content` | Content |
| `data.id` | Identifier |
| `data.title` | Title |
| `data.fbrq` | Returned fbrq field |
| `data.fgid` | Returned fgid field |
| `data.fgmc` | Returned fgmc field |
| `data.ft_num` | Returned ft num field |

## 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.

## Common questions
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Which request format should I follow?
Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

### 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.

## Available implementations
- yuandian: https://openany.si/yuandian/yuandian-legal-provision-detail-api/b30f9c47-f6b8-4689-8edb-e926558569b9/

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