Regulation Keyword Search API
yuandian_post_open_rh_fg_searchSearches for a list of regulations. The request body must not be empty, but keyword may be omitted. Without keywords, results are primarily selected using filters such as regulation name, validity status, region, legal authority, publication date, and effective date. An item includes content only when keywords are supplied and a highlighted match is found; content is a snippet, not the full regulation text. Use the regulation detail API for the full text. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dy | No | Region filter; split on spaces and match any term. Allowed literal values: 中央、北京、天津、河北、山西、内蒙古、辽宁、吉林、黑龙江、上海、江苏、浙江、安徽、福建、江西、山东、河南、湖北、湖南、广东、广西、海南、重庆、四川、贵州、云南、西藏、陕西、甘肃、青海、宁夏、新疆 | |
| sxx | No | Validity status filter; split on spaces and match any term. Allowed literal values: 现行有效、失效、已被修改、部分失效、尚未生效 | |
| fbbm | No | Issuing department filter; split on spaces and match any substring | |
| fgmc | No | Regulation name filter; split on spaces and require every term to match the regulation title | |
| top_k | No | Maximum number of results; default 10, maximum 50 | |
| xljb_1 | No | Legal authority filter; split on spaces and match any term. Allowed literal values: 宪法、法律、司法解释、行政法规、监察法规、部门规章、党内法规、军事法规规章、立法机关工作文件、行政机关工作文件、行业/团体规范、地方性法规、自治条例和单行条例、地方司法文件、地方政府规章、地方规范性文件、地方律协规定; | |
| keyword | No | Keywords in regulation text; split on spaces and join with AND/OR according to `search_mode` to form a queryString | |
| fbrq_end | No | Publication date range end (inclusive), in yyyy-MM-dd format | |
| ssrq_end | No | Effective date range end (inclusive), in yyyy-MM-dd format | |
| fbrq_start | No | Publication date range start (inclusive), in yyyy-MM-dd format | |
| ssrq_start | No | Effective date range start (inclusive), in yyyy-MM-dd format | |
| search_mode | No | Keyword combination mode; defaults to `AND` and is converted to uppercase (for example, `AND`/`OR`) |