Legal Provision Keyword Search API

Search for legal provision text using the required keyword parameter with the Yuandian API. Supports filters for parent regulation name, legal authority, validity status, region, publication date, and effective date. Use it in a legal research or due diligence workflow. The POST request schema also lists search_mode, fgmc. Use the results to organize a research workflow and cross-check the relevant source records.

Selected price
$0 / callPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Keywords in provision text; split on spaces and join with AND/OR according to `search_mode` to form a queryString
Optional parameters (11)
Keyword combination mode; defaults to `AND` and is converted to uppercase (for example, `AND`/`OR`)
Regulation name filter; split on spaces and require every term to match the regulation title
Legal authority filter; split on spaces and match any term. Allowed literal values: 宪法、法律、司法解释、行政法规、监察法规、部门规章、党内法规、军事法规规章、立法机关工作文件、行政机关工作文件、行业/团体规范、地方性法规、自治条例和单行条例、地方司法文件、地方政府规章、地方规范性文件、地方律协规定;
Validity status filter; split on spaces and match any term. Allowed literal values: 现行有效、失效、已被修改、部分失效、尚未生效
Region filter; split on spaces and match any term. Allowed literal values: 中央、北京、天津、河北、山西、内蒙古、辽宁、吉林、黑龙江、上海、江苏、浙江、安徽、福建、江西、山东、河南、湖北、湖南、广东、广西、海南、重庆、四川、贵州、云南、西藏、陕西、甘肃、青海、宁夏、新疆
Issuing department filter; split on spaces and match any substring
Publication date range start (inclusive), in yyyy-MM-dd format
Publication date range end (inclusive), in yyyy-MM-dd format
Effective date range start (inclusive), in yyyy-MM-dd format
Effective date range end (inclusive), in yyyy-MM-dd format
Maximum number of results; default 10, maximum 50

Sample response

"code": 200
data [2]
[0] {}
"_score": 52.875587
contentString · text preview
data[0].content
 行政机关依照本法第五十七条的规定给予行政处罚,应当制作行政处罚决定书。行政处罚决定书应当载明下列事项: 
(一)当事人的姓名或者名称、地址; 
(二)违反法律、法规、规章的事实和证据; 
(三)行政处罚的种类和依据; 
(四)行政处罚的履行方式和期限; 
(五)申请行政复议、提起行政诉讼的途径和期限; 
(六)作出行政处罚决定的行政机关名称和作出决定的日期。 
行政处罚决定书必须盖有作出行政处罚决定的行政机关的印章。
"fbbm": "全国人大常委会"
"fbrq": "2021-01-22"
"fgid": "0c15f68cf89e1339125e9f41d5d31c67"
"fgmc": "中华人民共和国行政处罚法(2021修订)"
"ft_num": "第五十九条"
"ftmc": "中华人民共和国行政处罚法(2021修订)第五十九条"
"fwzh": "中华人民共和国主席令第70号"
"id": "0c15f68cf89e1339125e9f41d5d31c67_59"
llm_contentString · text preview
data[0].llm_content
 - 《中华人民共和国行政处罚法(2021修订)》第五十九条## 行政机关依照本法第五十七条的规定给予行政处罚,应当制作行政处罚决定书。行政处罚决定书应当载明下列事项: 
(一)当事人的姓名或者名称、地址; 
(二)违反法律、法规、规章的事实和证据; 
(三)行政处罚的种类和依据; 
(四)行政处罚的履行方式和期限; 
(五)申请行政复议、提起行政诉讼的途径和期限; 
(六)作出行政处罚决定的行政机关名称和作出决定的日期。 
行政处罚决定书必须盖有作出行政处罚决定的行政机关的印章。
"ssrq": "2021-07-15"
"sxx": "现行有效"
"tid": "59"
"title": "中华人民共和国行政处罚法(2021修订)第五十九条"
"url": "/zxt/statuteDetail/detailPage/0c15f68cf89e1339125e9f41d5d31c67?text=59"
"xljb_1": "法律"
"xljb_2": "法律"
[1] {}
"_score": 52.751797
contentString · text preview
data[1].content
 行政法规可以设定除限制人身自由以外的行政处罚。 
法律对违法行为已经作出行政处罚规定,行政法规需要作出具体规定的,必须在法律规定的给予行政处罚的行为、种类和幅度的范围内规定。 
法律对违法行为未作出行政处罚规定,行政法规为实施法律,可以补充设定行政处罚。拟补充设定行政处罚的,应当通过听证会、论证会等形式广泛听取意见,并向制定机关作出书面说明。行政法规报送备案时,应当说明补充设定行政处罚的情况。
"fbbm": "全国人大常委会"
"fbrq": "2021-01-22"
"fgid": "0c15f68cf89e1339125e9f41d5d31c67"
"fgmc": "中华人民共和国行政处罚法(2021修订)"
"ft_num": "第十一条"
"ftmc": "中华人民共和国行政处罚法(2021修订)第十一条"
"fwzh": "中华人民共和国主席令第70号"
"id": "0c15f68cf89e1339125e9f41d5d31c67_11"
llm_contentString · text preview
data[1].llm_content
 - 《中华人民共和国行政处罚法(2021修订)》第十一条## 行政法规可以设定除限制人身自由以外的行政处罚。 
法律对违法行为已经作出行政处罚规定,行政法规需要作出具体规定的,必须在法律规定的给予行政处罚的行为、种类和幅度的范围内规定。 
法律对违法行为未作出行政处罚规定,行政法规为实施法律,可以补充设定行政处罚。拟补充设定行政处罚的,应当通过听证会、论证会等形式广泛听取意见,并向制定机关作出书面说明。行政法规报送备案时,应当说明补充设定行政处罚的情况。
"ssrq": "2021-07-15"
"sxx": "现行有效"
"tid": "11"
"title": "中华人民共和国行政处罚法(2021修订)第十一条"
"url": "/zxt/statuteDetail/detailPage/0c15f68cf89e1339125e9f41d5d31c67?text=11"
"xljb_1": "法律"
"xljb_2": "法律"
"message": "请求成功"
"status": "success"

Response result

Response structure

Inferred from examples
  • codeinteger
  • dataobject[]
    • _scorenumber
    • contentstring
    • fbbmstring
    • fbrqstring
    • fgidstring
    • fgmcstring
    • ft_numstring
    • ftmcstring
    • fwzhstring
    • idstring
    • llm_contentstring
    • ssrqstring
    • sxxstring
    • tidstring
    • titlestring
    • urlstring
    • xljb_1string
    • xljb_2string
  • messagestring
  • statusstring

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Legal Provision Keyword Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.