Laws and Regulations Semantic Search API

Search for laws and Regulations Semantic with the Yuandian API. Supports filters for validity status, first-level legal authority, and effective date range. Use it to surface relevant records in a search or discovery tool. The POST request schema also lists query, rewrite_flag, fatiao_filter. 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
Question or query text to search for
Whether to rewrite the query; defaults to `false`
fatiao_filterobject

fatiao_filter

Filters for searching laws and regulations; see the field descriptions for details
Number of laws and regulations to return (default 45; cannot exceed the total number retrieved)

Sample response

"answer": ""
"code": 201
extra {}
fatiao [2]
0: {
  "content": " 【盗窃罪】盗窃公私财物,数额较大的,或者多次盗窃、入户盗窃、携带凶器盗窃、扒窃的,处三年以下有期徒刑、拘役或者管制,并处或者单处罚金;数额巨大或者有其他严重情节的,处三年以上十年以下有期徒刑,并处罚金;数额特别巨大或者有其他特别严重情节的,处十年以上有期徒刑或者无期徒刑,并处罚金或者没收财产。",
  "dy": "中央",
  "effect1": "法律",
  "effect2": "法律",
  "end": 99999999,
  "fgid": "aecabfbe6b0843642509a7f1ff865413",
  "fgtitle": "中华人民共和国刑法(2023修正)",
  "ftid": "aecabfbe6b0843642509a7f1ff865413_264",
  "location": "中央",
  "num": "第二百六十四条",
  "score": 1.107480312,
  "start": 20240301,
  "sxx": "现行有效",
  "tag": [],
  "type": 1
}
[1] {}
contentString · text preview
extra.fatiao[1].content
 【抢劫罪】以暴力、胁迫或者其他方法抢劫公私财物的,处三年以上十年以下有期徒刑,并处罚金;有下列情形之一的,处十年以上有期徒刑、无期徒刑或者死刑,并处罚金或者没收财产:
(一)入户抢劫的;
(二)在公共交通工具上抢劫的;
(三)抢劫银行或者其他金融机构的;
(四)多次抢劫或者抢劫数额巨大的;
(五)抢劫致人重伤、死亡的;
(六)冒充军警人员抢劫的;
(七)持枪抢劫的;
(八)抢劫军用物资或者抢险、救灾、救济物资的。
"dy": "中央"
"effect1": "法律"
"effect2": "法律"
"end": 99999999
"fgid": "aecabfbe6b0843642509a7f1ff865413"
"fgtitle": "中华人民共和国刑法(2023修正)"
"ftid": "aecabfbe6b0843642509a7f1ff865413_263"
"location": "中央"
"num": "第二百六十三条"
"score": 0.6297119999999999
"start": 20240301
"sxx": "现行有效"
"tag": []
"type": 1
"messageId": ""
"msg": "成功(返回结构化数据)"
"request_id": ""
"style": ""

Response result

Response structure

Inferred from examples
  • answerstring
  • codeinteger
  • extraobject
    • fatiaoobject[]
      • contentstring
      • dystring
      • effect1string
      • effect2string
      • endinteger
      • fgidstring
      • fgtitlestring
      • ftidstring
      • locationstring
      • numstring
      • scorenumber
      • startinteger
      • sxxstring
      • tagunknown[]
      • typeinteger
  • messageIdstring
  • msgstring
  • request_idstring
  • stylestring

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 Laws and Regulations Semantic Search API with your agent

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