Authoritative Case Keyword Search API
yuandian_post_open_rh_qwal_searchSearches for a list of authoritative, typical, and reference cases. Supports filters for case number, title, cause of action, court, region, document type, case category, judgment date, and full-text keywords. The request body must not be empty. Returns the total number of matches and a case list. content preferentially contains the key judicial reasoning, an abstract, or a case explanation, falling back to body text only when these are absent. It is not guaranteed to be the complete court document; call the case detail API when full text is required. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ah | No | Case number | |
| ay | No | Array of causes of action; multiple values are combined with OR | |
| qw | No | Full-text keywords (split on spaces and join with AND/OR according to `search_mode` to form a queryString) | |
| ajlb | No | Case category. Allowed literal values: 刑事案件、民事案件、行政案件、执行案件、管辖案件、国家赔偿与司法救助案件、强制清算与破产案件、国际司法协助案件、非诉保全审查案件、其他案件" | |
| jbdw | No | Array of handling courts; multiple values are combined with OR | |
| wszl | No | Array of document types. Allowed literal values: 判决书 (judgment), 裁定书 (ruling), 调解书 (mediation statement), 决定书 (decision); multiple values are combined with OR | |
| title | No | Title search; split on spaces and require every term to match the title | |
| top_k | No | Maximum number of results: default 10, maximum 50; values less than or equal to 0 use the default of 10 | |
| ja_end | No | Judgment date range end (inclusive), in yyyy-MM-dd format | |
| source | No | Array of case sources. Allowed literal values: 典型案例、参考案例、公报案例、解纷案例、参阅案例、刑事参考案例、指导性案例、检指导案例; multiple values are combined with OR | |
| xzqh_p | No | Array of province-level administrative divisions. Allowed literal values: 北京、天津、河北、山西、内蒙古、辽宁、吉林、黑龙江、上海、江苏、浙江、安徽、福建、江西、山东、河南、湖北、湖南、广东、广西、海南、重庆、四川、贵州、云南、西藏、陕西、甘肃、青海、宁夏、新疆、最高、新疆生产建设兵团; multiple values are combined with OR | |
| ja_start | No | Judgment date range start (inclusive), in yyyy-MM-dd format | |
| search_mode | No | Keyword combination mode: `and` or `or`; defaults to `and` when empty; invalid values result in failure |