OpenAny
Get API keyAPI Key
APIDataSearch & Research

Yuandian logo
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
USE THIS API

Yuandian Legal Provision Keyword Search API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Yuandian Legal Provision Keyword Search API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

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

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
yuandianCurrent
Legal Provision Keyword Search API · POST · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · yuandianUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
keywordJSON request bodybodystringYes

Keywords in provision text; split on spaces and join with AND/OR according to `search_mode` to form a queryString

search_modeJSON request bodybodystringNo

Keyword combination mode; defaults to `AND` and is converted to uppercase (for example, `AND`/`OR`)

fgmcJSON request bodybodystringNo

Regulation name filter; split on spaces and require every term to match the regulation title

xljb_1JSON request bodybodystringNo

Legal authority filter; split on spaces and match any term. Allowed literal values: 宪法、法律、司法解释、行政法规、监察法规、部门规章、党内法规、军事法规规章、立法机关工作文件、行政机关工作文件、行业/团体规范、地方性法规、自治条例和单行条例、地方司法文件、地方政府规章、地方规范性文件、地方律协规定;

sxxJSON request bodybodystringNo

Validity status filter; split on spaces and match any term. Allowed literal values: 现行有效、失效、已被修改、部分失效、尚未生效

dyJSON request bodybodystringNo

Region filter; split on spaces and match any term. Allowed literal values: 中央、北京、天津、河北、山西、内蒙古、辽宁、吉林、黑龙江、上海、江苏、浙江、安徽、福建、江西、山东、河南、湖北、湖南、广东、广西、海南、重庆、四川、贵州、云南、西藏、陕西、甘肃、青海、宁夏、新疆

fbbmJSON request bodybodystringNo

Issuing department filter; split on spaces and match any substring

fbrq_startJSON request bodybodystringNo

Publication date range start (inclusive), in yyyy-MM-dd format

fbrq_endJSON request bodybodystringNo

Publication date range end (inclusive), in yyyy-MM-dd format

ssrq_startJSON request bodybodystringNo

Effective date range start (inclusive), in yyyy-MM-dd format

ssrq_endJSON request bodybodystringNo

Effective date range end (inclusive), in yyyy-MM-dd format

top_kJSON request bodybodynumberNo

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

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

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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
    }'
  3. 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"
    }

Common questions

Which inputs identify this request?

Provide keyword in body (string). Keep identifiers and URLs in the formats documented for this implementation.

Which pagination or result-size inputs are exposed?

fbrq_start is string; ssrq_start is string. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

What type does top_k use?

top_k uses the JSON type number in body. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

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.

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.

Use Yuandian Legal Provision Keyword Search API with your agent

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