{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"531d1464-5c8a-4cc1-b2d7-0d50cd72918f","catalogType":"api","categories":["data","search-research"],"dataPlatform":"Yuandian","dataPlatformLogoUrl":"https://open.chineselaw.com/favicon.svg","dataPlatformTranslations":{"ar":"Yuandian","ja":"Yuandian","zh":"Yuandian"},"dataProduct":"laws-and-regulations","description":"Get Laws and Regulations Semantic Search data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Yuandian, pass parameters such as fatiao_filter, query, return_num, and retrieve structured data including business status code, returned answer field, content, returned dy field, and returned effect1 field for document research and entity reference, and integration reference.","descriptionTranslations":{"ar":"استخدم واجهة برمجة تطبيقات البحث الدلالي في القوانين واللوائح API عبر OpenAny، مع تقديم query بصيغة طلب POST الموثقة، لدعم أبحاث الوثائق ومرجع الكيانات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から 法令法規セマンティック検索API API を利用し、POST リクエスト形式で query を指定して、文書調査と主体情報の参照に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 法律法规语义搜索API API，按所选实现的 POST 请求格式提供 query，用于文档研究和主体信息参考。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"3bec1236-db41-48d1-9860-c4eb0d7d709d","includedContentHtml":"","inputs":[{"description":"Question or query text to search for","location":"body","name":"query","nullable":false,"pointer":"/query","required":true,"type":"string"},{"description":"Whether to rewrite the query; defaults to `false`","location":"body","name":"rewrite_flag","nullable":false,"pointer":"/rewrite_flag","required":false,"type":"boolean"},{"description":"Filters for searching laws and regulations; see the field descriptions for details","location":"body","name":"fatiao_filter","nullable":false,"pointer":"/fatiao_filter","required":false,"type":"object"},{"description":"Number of laws and regulations to return (default 45; cannot exceed the total number retrieved)","location":"body","name":"return_num","nullable":false,"pointer":"/return_num","required":false,"type":"integer"}],"logoUrl":"https://open.chineselaw.com/favicon.svg","method":"POST","name":"Laws and Regulations Semantic Search API","nameTranslations":{"ar":"واجهة برمجة تطبيقات البحث الدلالي في القوانين واللوائح","ja":"法令法規セマンティック検索API","zh":"法律法规语义搜索API"},"overviewHtml":"\u003ch2\u003eYuandian Laws and Regulations Semantic Search API\u003c/h2\u003e\n\u003cp\u003eSearch for laws and Regulations Semantic with the Yuandian API. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003ebody: query, rewrite_flag, fatiao_filter, return_num\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eyuandian · Laws and Regulations Semantic Search API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eDocument research and entity reference\u003c/strong\u003e: Keep document and entity identifiers with each returned reference.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecode\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBusiness status code\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eanswer\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned answer field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eextra.fatiao[].content\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eContent\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eextra.fatiao[].dy\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned dy field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eextra.fatiao[].effect1\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned effect1 field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eextra.fatiao[].effect2\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned effect2 field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eextra.fatiao[].end\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned end field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eextra.fatiao[].fgid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned fgid field\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the JSON body and supported fields shown in the request template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/yuandian/open/law_vector_search\u0026#39; \\\n  -X POST \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-raw \u0026#39;{\n  \u0026#34;fatiao_filter\u0026#34;: {\n    \u0026#34;effect1\u0026#34;: [\n      \u0026#34;法律\u0026#34;\n    ],\n    \u0026#34;law_end\u0026#34;: \u0026#34;2025-12-31\u0026#34;,\n    \u0026#34;law_start\u0026#34;: \u0026#34;2018-01-01\u0026#34;,\n    \u0026#34;sxx\u0026#34;: [\n      \u0026#34;现行有效\u0026#34;\n    ]\n  },\n  \u0026#34;query\u0026#34;: \u0026#34;入户盗窃\u0026#34;,\n  \u0026#34;return_num\u0026#34;: 2,\n  \u0026#34;rewrite_flag\u0026#34;: false\n}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe 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.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/3bec1236-db41-48d1-9860-c4eb0d7d709d\"\u003ePublished Yuandian Laws and Regulations Semantic Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich inputs identify this request?\u003c/h3\u003e\n\u003cp\u003eProvide query in body (string). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eWhat type does rewrite_flag use?\u003c/h3\u003e\n\u003cp\u003erewrite_flag uses the JSON type boolean in body. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.\u003c/p\u003e\n\u003ch3\u003eWhich request format should I follow?\u003c/h3\u003e\n\u003cp\u003eUse 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.\u003c/p\u003e\n\u003ch3\u003eHow should I map the returned fields?\u003c/h3\u003e\n\u003cp\u003eUse the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/yuandian/yuandian-enterprise-search-api\"\u003eEnterprise Search API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/yuandian/yuandian-enterprise-patent-list-api\"\u003eEnterprise Patent List API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/yuandian/yuandian-legal-provision-detail-api\"\u003eLegal Provision Detail API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/yuandian/yuandian-laws-and-regulations-semantic-search-api?offering=3bec1236-db41-48d1-9860-c4eb0d7d709d","providerId":"yuandian","publicPath":"/v1/agent-apis/yuandian/open/law_vector_search","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example (HTTP status set during import)","request":{"body":{"fatiao_filter":{"effect1":["法律"],"law_end":"2025-12-31","law_start":"2018-01-01","sxx":["现行有效"]},"query":"入户盗窃","return_num":2,"rewrite_flag":false},"headers":{},"path":{},"query":{}},"response_body":{"answer":"","code":201,"extra":{"fatiao":[{"content":"　【盗窃罪】盗窃公私财物，数额较大的，或者多次盗窃、入户盗窃、携带凶器盗窃、扒窃的，处三年以下有期徒刑、拘役或者管制，并处或者单处罚金；数额巨大或者有其他严重情节的，处三年以上十年以下有期徒刑，并处罚金；数额特别巨大或者有其他特别严重情节的，处十年以上有期徒刑或者无期徒刑，并处罚金或者没收财产。","dy":"中央","effect1":"法律","effect2":"法律","end":99999999,"fgid":"aecabfbe6b0843642509a7f1ff865413","fgtitle":"中华人民共和国刑法(2023修正)","ftid":"aecabfbe6b0843642509a7f1ff865413_264","location":"中央","num":"第二百六十四条","score":1.107480312,"start":20240301,"sxx":"现行有效","tag":[],"type":1},{"content":"　【抢劫罪】以暴力、胁迫或者其他方法抢劫公私财物的，处三年以上十年以下有期徒刑，并处罚金；有下列情形之一的，处十年以上有期徒刑、无期徒刑或者死刑，并处罚金或者没收财产：\n（一）入户抢劫的；\n（二）在公共交通工具上抢劫的；\n（三）抢劫银行或者其他金融机构的；\n（四）多次抢劫或者抢劫数额巨大的；\n（五）抢劫致人重伤、死亡的；\n（六）冒充军警人员抢劫的；\n（七）持枪抢劫的；\n（八）抢劫军用物资或者抢险、救灾、救济物资的。","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":""}}],"seoDescription":"Get Laws and Regulations Semantic Search data via REST or MCP powered by Yuandian. Pay per call, no subscription. Get structured JSON with one API key.","updatedAt":"2026-12-03T02:49:58.776Z","usageInstructionsHtml":""}}