PKULaw Law Search Articles By Keyword
9.02 credits/call
ae_law_search_articles_by_keyword
Data by PKULaw. Search statutory article text by keyword, optionally filtering by title or legal status. Returns article text and source links. AgentEarth currently returns the first page without a next-page cursor.
9.02 credits/call
Pricing
9.02 credits/call
| Condition | Charge |
|---|---|
| Each call | 9.02 credits/call |
The fixed charge applies to each successful keyword search request, even when no articles match. Each request for another page is billed separately.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
sort | enum (relevance | implement_date_desc | issue_date_desc) | No | relevance、implement_date_desc 或 issue_date_desc。 | relevance |
scope | string | null | No | 中央法规只查中央库,地方法规只查地方库。不传则两库一起查。 | null |
title | string | No | 所属法规的标题关键词,用来收窄。例如「个人信息保护法」。可留空,在全部法规里找。 | "" |
cursor | string | No | 上一页结果里的 next_cursor,原样传回。首页留空;用户没有要求更多时不要传。翻页时筛选、排序和 page_size 与上一页保持相同。 | "" |
category | array | No | 法规类别名称,最多 5 个,彼此或者。例如 ["合同"]。分组名也可以查。 | [] |
fulltext | string | Yes | 条文关键词,必填。例如「敏感个人信息」。空格和逗号是并且,| 是或者。顿号不拆。 | — |
page_size | integer | No | 本页条数,默认 5,最大 10。每条带完整条文。翻页时与上一页保持相同。 | 5 |
timeliness | array | No | 时效性,多个是或者。不传则不过滤,也不会优先现行有效。 | [] |
document_no | string | No | 所属法规的发文字号,整段匹配。例如「主席令第91号」。 | "" |
effectiveness | array | No | 效力位阶,多个是或者。只用参数说明里的词。 | [] |
end_issue_date | string | No | 公布日期止,YYYY-MM-DD 或 YYYY.M.D。 | "" |
fulltext_exclude | string | No | 条文里出现就排除的词,按原文连续匹配。空格或逗号分隔,最多 5 个,任一出现即排除。例如「刑事」。不要和 fulltext 里的词重叠。 | "" |
issue_department | array | No | 制定机关名称,最多 3 个,彼此或者。例如 ["国务院"]。国务院只查国务院本身,不含各部委。对不上或同名多条会报错。 | [] |
start_issue_date | string | No | 公布日期起,YYYY-MM-DD 或 YYYY.M.D。 | "" |
end_implement_date | string | No | 施行日期止,YYYY-MM-DD 或 YYYY.M.D。 | "" |
start_implement_date | string | No | 施行日期起,YYYY-MM-DD 或 YYYY.M.D。 | "" |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_law_search_articles_by_keyword' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"fulltext": "xxx"
}
}'No response example available yet.

