Search...
Menu

Site Search

Download

By calling the search API, you can display Elasticsearch-based keyword search results on your website, app, mini-program, and other channels.

*This feature is only available to enterprise edition users.

Request method Request address
GET https://api.helplook.net/api/es

query parameters:

Parameter name type Required illustrate
page int yes page number
pagesize int yes Number of records per page
keyword string yes Search terms
version_id int no In the case of multiple versions, pass the version ID.

response:

 {
    "data": {
        "list": [
            {
                "id": "19963", // 文章id
                "string_id": "qrNDvr", // 文章唯一标识
                "tannant_id": "85", // 站点id
                "name": "<em>汽车</em>", // 文章标题 <em>表示高亮
                "type": "2", // 文章类型 1-栏目 2-文章
                "slug": "qrNDvr", // 文章唯一标识
                "status": "1", // 文章状态 1-正常 2-草稿
                "order": "0", // 排序
                "ppid": "17285", // 父级id
                "add_time": "1713841114", // 创建时间
                "update_time": "1717492583", // 更新时间
                "content": "中国国家最新标准《<em>汽车</em>和挂车类型的术语和定义》(GB/T 3730.1—2001)中对<em>汽车</em>有如下定义:由动力驱动,具有4个或4个以上车轮的非轨道承载的车辆,主要用于:载运人员和(或)货物;牵引载运人员和", // 文章内容
                "tags": [ // 文章标签
                    {
                        "tag_name": "标签1"
                    },
                    {
                        "tag_name": "标签2"
                    },
                    {
                        "tag_name": "标签3"
                    }
                ],
                "gpt_switch": "1", // 是否开启gpt 1-开启 0-关闭
                "breadcrumbs": [ // 面包屑
                    {
                        "name": "百度百科", // 面包屑名称
                        "type": "1", // 面包屑类型 1-栏目 2-文章
                        "slug": "bdbk", // 面包屑唯一标识
                        "status": "1" // 面包屑状态 1-正常 2-隐藏
                    }
                ]

            },
           // 省略

        ],
        "total": 6,
        "page": 1,
        "page_size": 10
    },
    "msg": "Success",
    "code": 200
}
Last modified: 2026-11-05Powered by