Yuandian Legal Provision Keyword Search API
Search Yuandian Legal Provision Keyword via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Yuandian, pass parameters such as fgmc, keyword, search_mode, and retrieve structured data including business status code, content, identifier, title, and returned score field for document research and entity reference, and integration reference, ready for production pipelines and AI agent automation.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Yuandian Legal Provision Keyword Search API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
Yuandian Legal Provision Keyword Search API
Search for legal provision text using the required keyword parameter with the Yuandian API. Provide keyword in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: keyword, search_mode, fgmc, xljb_1, sxx, dy, fbbm, fbrq_start, fbrq_end, ssrq_start, ssrq_end, top_k |
| Selected implementation | yuandian · Legal Provision Keyword Search API |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
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[]._score |
Returned score field |
data[].fbbm |
Returned fbbm field |
data[].fbrq |
Returned fbrq field |
data[].fgid |
Returned fgid field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/yuandian/open/rh_ft_search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"fgmc": "中华人民共和国行政处罚法",
"keyword": "行政处罚",
"search_mode": "AND",
"sxx": "现行有效",
"top_k": 2
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Yuandian Legal Provision Keyword Search API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
yuandianCurrent Legal Provision Keyword Search API · POST · View API reference | $0 / call | 0 | —successP50— |
- Unit price
- $0
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 $0
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/yuandian/open/rh_ft_search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
keyword | JSON request bodybody | string | Yes | Keywords in provision text; split on spaces and join with AND/OR according to `search_mode` to form a queryString |
search_mode | JSON request bodybody | string | No | Keyword combination mode; defaults to `AND` and is converted to uppercase (for example, `AND`/`OR`) |
fgmc | JSON request bodybody | string | No | Regulation name filter; split on spaces and require every term to match the regulation title |
xljb_1 | JSON request bodybody | string | No | Legal authority filter; split on spaces and match any term. Allowed literal values: 宪法、法律、司法解释、行政法规、监察法规、部门规章、党内法规、军事法规规章、立法机关工作文件、行政机关工作文件、行业/团体规范、地方性法规、自治条例和单行条例、地方司法文件、地方政府规章、地方规范性文件、地方律协规定; |
sxx | JSON request bodybody | string | No | Validity status filter; split on spaces and match any term. Allowed literal values: 现行有效、失效、已被修改、部分失效、尚未生效 |
dy | JSON request bodybody | string | No | Region filter; split on spaces and match any term. Allowed literal values: 中央、北京、天津、河北、山西、内蒙古、辽宁、吉林、黑龙江、上海、江苏、浙江、安徽、福建、江西、山东、河南、湖北、湖南、广东、广西、海南、重庆、四川、贵州、云南、西藏、陕西、甘肃、青海、宁夏、新疆 |
fbbm | JSON request bodybody | string | No | Issuing department filter; split on spaces and match any substring |
fbrq_start | JSON request bodybody | string | No | Publication date range start (inclusive), in yyyy-MM-dd format |
fbrq_end | JSON request bodybody | string | No | Publication date range end (inclusive), in yyyy-MM-dd format |
ssrq_start | JSON request bodybody | string | No | Effective date range start (inclusive), in yyyy-MM-dd format |
ssrq_end | JSON request bodybody | string | No | Effective date range end (inclusive), in yyyy-MM-dd format |
top_k | JSON request bodybody | number | No | Maximum number of results; default 10, maximum 50 |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobject[]_scorenumbercontentstringfbbmstringfbrqstringfgidstringfgmcstringft_numstringftmcstringfwzhstringidstringllm_contentstringssrqstringsxxstringtidstringtitlestringurlstringxljb_1stringxljb_2string
messagestringstatusstring
Agent integration
Copy the resource contract without sharing an API key.
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 (HTTP status set during import)
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 12
Review these request fields before running. Keep the published provider and request method unchanged.
keyword- Keywords in provision text; split on spaces and join with AND/OR according to `search_mode` to form a queryString
search_mode- Keyword combination mode; defaults to `AND` and is converted to uppercase (for example, `AND`/`OR`)
fgmc- Regulation name filter; split on spaces and require every term to match the regulation title
xljb_1- Legal authority filter; split on spaces and match any term. Allowed literal values: 宪法、法律、司法解释、行政法规、监察法规、部门规章、党内法规、军事法规规章、立法机关工作文件、行政机关工作文件、行业/团体规范、地方性法规、自治条例和单行条例、地方司法文件、地方政府规章、地方规范性文件、地方律协规定;
sxx- Validity status filter; split on spaces and match any term. Allowed literal values: 现行有效、失效、已被修改、部分失效、尚未生效
dy- Region filter; split on spaces and match any term. Allowed literal values: 中央、北京、天津、河北、山西、内蒙古、辽宁、吉林、黑龙江、上海、江苏、浙江、安徽、福建、江西、山东、河南、湖北、湖南、广东、广西、海南、重庆、四川、贵州、云南、西藏、陕西、甘肃、青海、宁夏、新疆
fbbm- Issuing department filter; split on spaces and match any substring
fbrq_start- Publication date range start (inclusive), in yyyy-MM-dd format
fbrq_end- Publication date range end (inclusive), in yyyy-MM-dd format
ssrq_start- Effective date range start (inclusive), in yyyy-MM-dd format
ssrq_end- Effective date range end (inclusive), in yyyy-MM-dd format
top_k- Maximum number of results; default 10, maximum 50
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/yuandian/open/rh_ft_search' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "fgmc": "中华人民共和国行政处罚法", "keyword": "行政处罚", "search_mode": "AND", "sxx": "现行有效", "top_k": 2 }'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "code": 200, "data": [ { "_score": 52.875587, "content": " 行政机关依照本法第五十七条的规定给予行政处罚,应当制作行政处罚决定书。行政处罚决定书应当载明下列事项: \n(一)当事人的姓名或者名称、地址; \n(二)违反法律、法规、规章的事实和证据; \n(三)行政处罚的种类和依据; \n(四)行政处罚的履行方式和期限; \n(五)申请行政复议、提起行政诉讼的途径和期限; \n(六)作出行政处罚决定的行政机关名称和作出决定的日期。 \n行政处罚决定书必须盖有作出行政处罚决定的行政机关的印章。", "fbbm": "全国人大常委会", "fbrq": "2021-01-22", "fgid": "0c15f68cf89e1339125e9f41d5d31c67", "fgmc": "中华人民共和国行政处罚法(2021修订)", "ft_num": "第五十九条", "ftmc": "中华人民共和国行政处罚法(2021修订)第五十九条", "fwzh": "中华人民共和国主席令第70号", "id": "0c15f68cf89e1339125e9f41d5d31c67_59", "llm_content": " - 《中华人民共和国行政处罚法(2021修订)》第五十九条## 行政机关依照本法第五十七条的规定给予行政处罚,应当制作行政处罚决定书。行政处罚决定书应当载明下列事项: \n(一)当事人的姓名或者名称、地址; \n(二)违反法律、法规、规章的事实和证据; \n(三)行政处罚的种类和依据; \n(四)行政处罚的履行方式和期限; \n(五)申请行政复议、提起行政诉讼的途径和期限; \n(六)作出行政处罚决定的行政机关名称和作出决定的日期。 \n行政处罚决定书必须盖有作出行政处罚决定的行政机关的印章。", "ssrq": "2021-07-15", "sxx": "现行有效", "tid": "59", "title": "中华人民共和国行政处罚法(2021修订)第五十九条", "url": "/zxt/statuteDetail/detailPage/0c15f68cf89e1339125e9f41d5d31c67?text=59", "xljb_1": "法律", "xljb_2": "法律" }, { "_score": 52.751797, "content": " 行政法规可以设定除限制人身自由以外的行政处罚。 \n法律对违法行为已经作出行政处罚规定,行政法规需要作出具体规定的,必须在法律规定的给予行政处罚的行为、种类和幅度的范围内规定。 \n法律对违法行为未作出行政处罚规定,行政法规为实施法律,可以补充设定行政处罚。拟补充设定行政处罚的,应当通过听证会、论证会等形式广泛听取意见,并向制定机关作出书面说明。行政法规报送备案时,应当说明补充设定行政处罚的情况。", "fbbm": "全国人大常委会", "fbrq": "2021-01-22", "fgid": "0c15f68cf89e1339125e9f41d5d31c67", "fgmc": "中华人民共和国行政处罚法(2021修订)", "ft_num": "第十一条", "ftmc": "中华人民共和国行政处罚法(2021修订)第十一条", "fwzh": "中华人民共和国主席令第70号", "id": "0c15f68cf89e1339125e9f41d5d31c67_11", "llm_content": " - 《中华人民共和国行政处罚法(2021修订)》第十一条## 行政法规可以设定除限制人身自由以外的行政处罚。 \n法律对违法行为已经作出行政处罚规定,行政法规需要作出具体规定的,必须在法律规定的给予行政处罚的行为、种类和幅度的范围内规定。 \n法律对违法行为未作出行政处罚规定,行政法规为实施法律,可以补充设定行政处罚。拟补充设定行政处罚的,应当通过听证会、论证会等形式广泛听取意见,并向制定机关作出书面说明。行政法规报送备案时,应当说明补充设定行政处罚的情况。", "ssrq": "2021-07-15", "sxx": "现行有效", "tid": "11", "title": "中华人民共和国行政处罚法(2021修订)第十一条", "url": "/zxt/statuteDetail/detailPage/0c15f68cf89e1339125e9f41d5d31c67?text=11", "xljb_1": "法律", "xljb_2": "法律" } ], "message": "请求成功", "status": "success" }