# 元典开放平台 > 元典开放平台提供法律法规、案例文书、企业信息、幻觉检测等法律 AI/API 能力。本文档面向 LLM、AI Agent 和开发者工具,优先提供可直接 web-fetch 的 Markdown 与 JSON 入口,避免抓取 SPA 页面。 Generated: 2026-05-26T10:28:15.939Z Canonical site: https://open.chineselaw.com API JSON origin: https://apiplatform.legalmind.cn ## Read This First - [完整 AI/Agent 文档](https://open.chineselaw.com/llms-full.txt): 包含鉴权方式、MCP 配置、接口读取规则和当前 API 清单。 - [接口 JSON 目录](https://apiplatform.legalmind.cn/api/apis?pageNum=1&pageSize=200&sortBy=latest): 当前公开接口目录,返回 JSON。 - [接口分类 JSON](https://apiplatform.legalmind.cn/api/categories): 当前公开分类目录,返回 JSON。 - [人工文档页面](https://open.chineselaw.com/docs): 浏览器中的文档中心。 - [静态 API 文档页](https://open.chineselaw.com/api-docs/rh_enterpriseAnnualReport.html): 每个公开接口生成独立 HTML,路径形如 `/api-docs/{routeKey}.html`。 - [MCP 接入页面](https://open.chineselaw.com/mcp-config): 浏览器中的 MCP 接入说明。 - [接口广场](https://open.chineselaw.com/api-square): 浏览器中的接口列表。 - [站点地图](https://open.chineselaw.com/sitemap.xml): 面向搜索引擎收录的公开页面索引。 ## Agent Fetch Rules - 不要优先抓取 Vue SPA 渲染后的 DOM;Agent 应先读取 `/llms.txt`、`/llms-full.txt` 和 `/api/apis` JSON。 - 读取某个接口完整文档时使用 `https://apiplatform.legalmind.cn/api/apis/{id}`,其中 `data.fullDocument` 是 Markdown。 - 调用开放接口时使用 `https://open.chineselaw.com/open/{routeKey}`,请求 Header 使用 `X-API-Key: YOUR_API_KEY`。 - MCP Streamable HTTP 连接使用 `Authorization: Bearer YOUR_API_KEY`。 - MCP JSON-RPC POST 请求(包括 initialize)使用 `Accept: application/json, text/event-stream`;GET SSE 监听请求至少接受 `text/event-stream`。 ## Categories - [法律法规](https://apiplatform.legalmind.cn/api/apis?categoryId=7&pageNum=1&pageSize=200&sortBy=latest): 5 APIs - [案例文书](https://apiplatform.legalmind.cn/api/apis?categoryId=6&pageNum=1&pageSize=200&sortBy=latest): 4 APIs - [企业信息](https://apiplatform.legalmind.cn/api/apis?categoryId=9&pageNum=1&pageSize=200&sortBy=latest): 26 APIs - [幻觉检测](https://apiplatform.legalmind.cn/api/apis?categoryId=10&pageNum=1&pageSize=200&sortBy=latest): 1 APIs ## Current API Catalog ### 企业信息 - [企业年报详情接口](https://apiplatform.legalmind.cn/api/apis/50): category=企业信息; id=50; routeKey=rh_enterpriseAnnualReport; method=GET; tool=yuandian_rh_enterpriseAnnualReport; endpoint=https://open.chineselaw.com/open/rh_enterpriseAnnualReport; 根据企业 ID 或统一社会信用代码及年报年份,查询该年度企业年报结构化详情(基本信息、股东出资、网站网店、资产、对外投资、对外担保等),有哪些年度有年报可以通过企业基本信息接口查看。 - [企业聚合总览接口](https://apiplatform.legalmind.cn/api/apis/41): category=企业信息; id=41; routeKey=rh_enterpriseAggregationSummary; method=GET; tool=yuandian_rh_enterpriseAggregationSummary; endpoint=https://open.chineselaw.com/open/rh_enterpriseAggregationSummary; 按企业 ID 或统一社会信用代码返回企业多模块统计总览;id与tyshxydm至少传一个。结果是各类信息的聚合统计和 Top 20 摘要,不是各模块完整明细;如需完整分页明细,应调用对应的商标、专利、开庭公告、法院公告、行政处罚等列表接口。 - [企业检索接口](https://apiplatform.legalmind.cn/api/apis/19): category=企业信息; id=19; routeKey=rh_enterpriseSearch; method=GET; tool=yuandian_rh_enterpriseSearch; endpoint=https://open.chineselaw.com/open/rh_enterpriseSearch; 按企业名称关键词检索企业候选,用于先获取企业 ID 和统一社会信用代码;name必填,top_k默认 10,范围 1 到 50,越界按默认值处理。返回候选企业基础标识,不是企业完整详情。 - [企业基本信息接口](https://apiplatform.legalmind.cn/api/apis/40): category=企业信息; id=40; routeKey=rh_enterpriseBaseInfo; method=GET; tool=yuandian_rh_enterpriseBaseInfo; endpoint=https://open.chineselaw.com/open/rh_enterpriseBaseInfo; 根据企业ID或统一社会信用代码查询企业扁平详情(基本信息+股东+十大股东+十大流通股东+核心成员+分支机构)。 - [企业对外投资信息列表接口](https://apiplatform.legalmind.cn/api/apis/39): category=企业信息; id=39; routeKey=rh_enterpriseOutInvest; method=GET; tool=yuandian_rh_enterpriseOutInvest; endpoint=https://open.chineselaw.com/open/rh_enterpriseOutInvest; 根据企业ID或统一社会信用代码查询企业对外投资信息列表,分页查询,每页默认30条。 - [企业商标信息列表接口](https://apiplatform.legalmind.cn/api/apis/38): category=企业信息; id=38; routeKey=rh_enterpriseBrand; method=GET; tool=yuandian_rh_enterpriseBrand; endpoint=https://open.chineselaw.com/open/rh_enterpriseBrand; 根据企业ID或统一社会信用代码查询企业商标信息列表,分页查询,每页默认30条。 - [企业专利信息列表接口](https://apiplatform.legalmind.cn/api/apis/37): category=企业信息; id=37; routeKey=rh_enterprisePatent; method=GET; tool=yuandian_rh_enterprisePatent; endpoint=https://open.chineselaw.com/open/rh_enterprisePatent; 根据企业ID或统一社会信用代码查询企业专利信息列表,分页查询,每页默认30条。 - [企业软件著作权信息列表接口](https://apiplatform.legalmind.cn/api/apis/36): category=企业信息; id=36; routeKey=rh_enterpriseSoftRight; method=GET; tool=yuandian_rh_enterpriseSoftRight; endpoint=https://open.chineselaw.com/open/rh_enterpriseSoftRight; 根据企业ID或统一社会信用代码查询企业软件著作权信息列表,分页查询,每页默认30条。 - [企业作品著作权信息列表接口](https://apiplatform.legalmind.cn/api/apis/35): category=企业信息; id=35; routeKey=rh_enterpriseWorksRight; method=GET; tool=yuandian_rh_enterpriseWorksRight; endpoint=https://open.chineselaw.com/open/rh_enterpriseWorksRight; 根据企业ID或统一社会信用代码查询企业作品著作权信息列表,分页查询,每页默认30条。 - [企业网站备案信息列表接口](https://apiplatform.legalmind.cn/api/apis/34): category=企业信息; id=34; routeKey=rh_enterpriseIcp; method=GET; tool=yuandian_rh_enterpriseIcp; endpoint=https://open.chineselaw.com/open/rh_enterpriseIcp; 根据企业ID或统一社会信用代码查询企业网站备案信息列表,分页查询,每页默认30条。 - [企业变更记录信息列表接口](https://apiplatform.legalmind.cn/api/apis/33): category=企业信息; id=33; routeKey=rh_enterpriseChangeInfo; method=GET; tool=yuandian_rh_enterpriseChangeInfo; endpoint=https://open.chineselaw.com/open/rh_enterpriseChangeInfo; 根据企业ID或统一社会信用代码查询企业变更记录列表,分页查询,每页默认30条。 - [企业涉诉信息统计接口](https://apiplatform.legalmind.cn/api/apis/32): category=企业信息; id=32; routeKey=rh_enterpriseWritAgg; method=GET; tool=yuandian_rh_enterpriseWritAgg; endpoint=https://open.chineselaw.com/open/rh_enterpriseWritAgg; 根据企业ID或统一社会信用代码针对企业涉诉信息,统计不同维度的分布情况(案件类别、案由、文书种类、审判程序、法院层级、结案方式、结案年份、地域、诉讼身份、对手当事人身份) - [企业涉诉文书列表接口](https://apiplatform.legalmind.cn/api/apis/31): category=企业信息; id=31; routeKey=rh_enterpriseWritList; method=GET; tool=yuandian_rh_enterpriseWritList; endpoint=https://open.chineselaw.com/open/rh_enterpriseWritList; 按企业 ID 或统一社会信用代码分页查询该企业相关涉诉文书列表;id与tyshxydm至少传一个,pageNo默认 1,每页默认 30 条。返回分页对象,列表项是涉诉文书摘要,不是文书全文;全文需根据文书信息再调案例/文书详情类接口。 - [企业开庭公告列表接口](https://apiplatform.legalmind.cn/api/apis/30): category=企业信息; id=30; routeKey=rh_enterpriseCourtSessionNotice; method=GET; tool=yuandian_rh_enterpriseCourtSessionNotice; endpoint=https://open.chineselaw.com/open/rh_enterpriseCourtSessionNotice; 根据企业ID或统一社会信用代码查询企业开庭公告列表,分页查询,每页默认30条。 - [企业法院公告列表接口](https://apiplatform.legalmind.cn/api/apis/29): category=企业信息; id=29; routeKey=rh_enterpriseCourtNotice; method=GET; tool=yuandian_rh_enterpriseCourtNotice; endpoint=https://open.chineselaw.com/open/rh_enterpriseCourtNotice; 根据企业ID或统一社会信用代码查询企业法院公告列表,分页查询,每页默认30条。 - [企业失信被执行人信息列表接口](https://apiplatform.legalmind.cn/api/apis/28): category=企业信息; id=28; routeKey=rh_enterpriseExecutions; method=GET; tool=yuandian_rh_enterpriseExecutions; endpoint=https://open.chineselaw.com/open/rh_enterpriseExecutions; 根据企业ID或统一社会信用代码查询企业失信被执行人列表,分页查询,每页默认30条。 - [企业被执行人信息列表接口](https://apiplatform.legalmind.cn/api/apis/27): category=企业信息; id=27; routeKey=rh_enterpriseExecutedPerson; method=GET; tool=yuandian_rh_enterpriseExecutedPerson; endpoint=https://open.chineselaw.com/open/rh_enterpriseExecutedPerson; 根据企业ID或统一社会信用代码查询企业被执行人列表,分页查询,每页默认30条。 - [企业股权冻结信息列表接口](https://apiplatform.legalmind.cn/api/apis/26): category=企业信息; id=26; routeKey=rh_enterpriseFrozenEquity; method=GET; tool=yuandian_rh_enterpriseFrozenEquity; endpoint=https://open.chineselaw.com/open/rh_enterpriseFrozenEquity; 根据企业ID或统一社会信用代码查询企业股权冻结列表,分页查询,每页默认30条。 - [企业行政处罚信息列表接口](https://apiplatform.legalmind.cn/api/apis/25): category=企业信息; id=25; routeKey=rh_enterprisePunishment; method=GET; tool=yuandian_rh_enterprisePunishment; endpoint=https://open.chineselaw.com/open/rh_enterprisePunishment; 根据企业ID或统一社会信用代码查询企业行政处罚列表,分页查询,每页默认30条。 - [企业股权出质信息列表接口](https://apiplatform.legalmind.cn/api/apis/24): category=企业信息; id=24; routeKey=rh_enterprisePledge; method=GET; tool=yuandian_rh_enterprisePledge; endpoint=https://open.chineselaw.com/open/rh_enterprisePledge; 根据企业ID或统一社会信用代码查询企业股权出质列表,分页查询,每页默认30条。 - [企业对外担保信息列表接口](https://apiplatform.legalmind.cn/api/apis/23): category=企业信息; id=23; routeKey=rh_enterpriseGuaranty; method=GET; tool=yuandian_rh_enterpriseGuaranty; endpoint=https://open.chineselaw.com/open/rh_enterpriseGuaranty; 根据企业ID或统一社会信用代码查询企业对外担保列表,分页查询,每页默认30条。 - [企业经营异常记录列表接口](https://apiplatform.legalmind.cn/api/apis/22): category=企业信息; id=22; routeKey=rh_enterpriseAbnormalOperation; method=GET; tool=yuandian_rh_enterpriseAbnormalOperation; endpoint=https://open.chineselaw.com/open/rh_enterpriseAbnormalOperation; 根据企业ID或统一社会信用代码查询企业经营异常列表,分页查询,每页默认30条。 - [企业欠税公告记录列表接口](https://apiplatform.legalmind.cn/api/apis/21): category=企业信息; id=21; routeKey=rh_enterpriseCorporateTax; method=GET; tool=yuandian_rh_enterpriseCorporateTax; endpoint=https://open.chineselaw.com/open/rh_enterpriseCorporateTax; 根据企业ID或统一社会信用代码查询企业欠税公告列表,分页查询,每页默认30条。 - [企业严重违法记录列表接口](https://apiplatform.legalmind.cn/api/apis/20): category=企业信息; id=20; routeKey=rh_enterpriseSeriousIllegal; method=GET; tool=yuandian_rh_enterpriseSeriousIllegal; endpoint=https://open.chineselaw.com/open/rh_enterpriseSeriousIllegal; 根据企业ID或统一社会信用代码查询企业严重违法列表 - [根据企业 id、统一社会信用代码获取企业详情](https://apiplatform.legalmind.cn/api/apis/15): category=企业信息; id=15; routeKey=rh_company_detail; method=GET; tool=yuandian_rh_company_detail; endpoint=https://open.chineselaw.com/open/rh_company_detail; 按企业 ID 或统一社会信用代码精确查询单个企业聚合详情;id与tyshxydm至少传一个,二者同时传入时优先按id查询,并只取第一条命中。返回工商登记、成员、分支机构、变更/投资、知识产权、涉诉摘要和风险信息。 - [根据企业名称或股票简称查询企业详情](https://apiplatform.legalmind.cn/api/apis/14): category=企业信息; id=14; routeKey=rh_company_info; method=GET; tool=yuandian_rh_company_info; endpoint=https://open.chineselaw.com/open/rh_company_info; 用企业名称、曾用名或股票简称检索企业并返回候选企业详情列表;name必填,num默认 2,超过 50 或小于 0 会按 10 处理。该接口适合从名称找到企业候选及其聚合详情,不适合用作严格的唯一企业 ID 查询。 ### 幻觉检测 - [法律幻觉校验接口](https://apiplatform.legalmind.cn/api/apis/42): category=幻觉检测; id=42; routeKey=hall_detect; method=POST; tool=yuandian_hall_detect; endpoint=https://open.chineselaw.com/open/hall_detect; 自动校验文本内容中的法律引用是否正确,系统自动抽取文中引用的法规/法条和案号,与智库比对语义一致性,核验法规时效性,输出"一致/不一致/未命中"判定及权威原文。 可以用来复核、校验、核查法律引用准确性,校验AI帮助撰写包含法律引用的法律文书是否存在幻觉 ### 法律法规 - [法律法规语义检索接口](https://apiplatform.legalmind.cn/api/apis/17): category=法律法规; id=17; routeKey=law_vector_search; method=POST; tool=yuandian_law_vector_search; endpoint=https://open.chineselaw.com/open/law_vector_search; 按自然语言query做法条级语义检索,可按时效性、一级效力级别和实施日期范围过滤。返回结果在extra.fatiao,每条主要是法条内容及所属法规信息,不是整部法规全文列表;如需法规详情需再用法规 ID 调详情接口。 - [法条详情接口](https://apiplatform.legalmind.cn/api/apis/13): category=法律法规; id=13; routeKey=rh_ft_detail; method=POST; tool=yuandian_rh_ft_detail; endpoint=https://open.chineselaw.com/open/rh_ft_detail; 查询单条法条详情。请求体不能为空;优先用id定位法条,也可用fgmc加ftnum查询指定法规中的具体条文;可传refer_date按指定日期定位版本。返回法条内容、条号、所属法规 ID/名称、时效性和发布日期/实施日期等信息。 - [法规详情接口](https://apiplatform.legalmind.cn/api/apis/12): category=法律法规; id=12; routeKey=rh_fg_detail; method=POST; tool=yuandian_rh_fg_detail; endpoint=https://open.chineselaw.com/open/rh_fg_detail; 查询法规详情。请求体不能为空,id与fgmc至少传一个;可传refer_date按指定日期定位当时有效版本,未传时返回当前有效版本相关详情。返回法规基础信息、时效性、发布日期、实施日期、发布部门和法规内容。 - [法条关键词检索接口](https://apiplatform.legalmind.cn/api/apis/11): category=法律法规; id=11; routeKey=rh_ft_search; method=POST; tool=yuandian_rh_ft_search; endpoint=https://open.chineselaw.com/open/rh_ft_search; 按必填keyword检索法条内容,支持按所属法规名称、效力级别、时效性、地域、发布日期和实施日期过滤。返回的是法条列表,每条包含法条内容、法条编号、所属法规 ID/名称和法规元数据;不是法规整部文本列表。 - [法规关键词检索接口](https://apiplatform.legalmind.cn/api/apis/10): category=法律法规; id=10; routeKey=rh_fg_search; method=POST; tool=yuandian_rh_fg_search; endpoint=https://open.chineselaw.com/open/rh_fg_search; 检索法规列表。请求体不能为空,但keyword可不传;不传关键词时主要按法规名称、时效性、地域、效力级别、发布日期、实施日期等过滤条件返回列表。返回项中的content仅在传入关键词且命中高亮时出现,是片段不是法规全文;全文需调用法规详情接口。 ### 案例文书 - [案例语义检索接口](https://apiplatform.legalmind.cn/api/apis/16): category=案例文书; id=16; routeKey=case_vector_search; method=POST; tool=yuandian_case_vector_search; endpoint=https://open.chineselaw.com/open/case_vector_search; 根据自然语言 query 在案例库中进行语义相似度检索,默认同时覆盖普通案例和权威案例,支持通过 wenshu_filter 按案件类别、案由、文书类型、法院、地域、结案日期及典型案例等条件过滤,并返回整理后的完整案例内容(不等同于原始裁判文书逐字全文)及相似度评分。 - [案例详情接口](https://apiplatform.legalmind.cn/api/apis/9): category=案例文书; id=9; routeKey=rh_case_details; method=GET; tool=yuandian_rh_case_details; endpoint=https://open.chineselaw.com/open/rh_case_details; 查询单类案例详情。必须传type=ptal或type=qwal,并且id与ah至少传一个;返回data为列表,最多 10 条。普通案例和权威案例字段不同,详情 URL 也分别指向普通案例与权威案例路径。 - [权威案例关键词检索接口](https://apiplatform.legalmind.cn/api/apis/8): category=案例文书; id=8; routeKey=rh_qwal_search; method=POST; tool=yuandian_rh_qwal_search; endpoint=https://open.chineselaw.com/open/rh_qwal_search; 检索权威/典型/参考类案例列表。支持按案号、标题、案由、法院、地域、文书种类、案件类别、裁判日期和全文关键词过滤;请求体不能为空。返回命中总数和案例列表,content优先为裁判要旨、摘要或案例说明,缺失时才回退正文内容,不保证是完整裁判文书全文;需要全文时应再调用案例详情接口。 - [普通案例关键词检索接口](https://apiplatform.legalmind.cn/api/apis/7): category=案例文书; id=7; routeKey=rh_ptal_search; method=POST; tool=yuandian_rh_ptal_search; endpoint=https://open.chineselaw.com/open/rh_ptal_search; 检索普通裁判案例列表。支持按案号、标题、涉诉企业、案由、法院、地域、文书种类、案件类别、裁判/结案日期、全文关键词、分析过程关键词、援引法条等条件过滤;请求体不能为空。返回命中总数和案例列表,content是命中高亮片段或摘要/分析过程片段,不等同于完整正文;需要全文时应再调用案例详情接口。 ## Optional - [MCP health](https://open.chineselaw.com/mcp/health): 如果返回 JSON,可用于确认 MCP 反向代理已挂载;如果返回 HTML,说明当前公开域名未直接暴露 MCP 后端。 - [法律法规 MCP](https://open.chineselaw.com/mcp/law/stream): Streamable HTTP endpoint. - [案例文书 MCP](https://open.chineselaw.com/mcp/case/stream): Streamable HTTP endpoint. - [企业信息 MCP](https://open.chineselaw.com/mcp/company/stream): Streamable HTTP endpoint.