This document is generated by Gname.com.
https://tools.gname.com/v1/querymultipart/form-data.| Field | Parameter | Type | Required | Description |
|---|---|---|---|---|
| APPID | appid | String | Yes | API application ID. See Common Parameters. |
| Timestamp | timestamp | Integer | Yes | Current Unix timestamp in seconds. The difference from server time must not exceed 300 seconds. |
| Signature | sign | String | Yes | Request signature. See Signature Method. |
| Query Type | code | String | Yes | Always pass wangan. |
| Domain | ym | String | Yes | Domain to query, such as baidu.com, without a protocol, port, or path. |
appid, timestamp, code, ym, and any additional fields actually sent must be included in the signature calculation. Exclude sign itself.| Field | Parameter | Type | Description |
|---|---|---|---|
| Status Code | code | Integer | Request processing status. 1 indicates success; other values indicate failure. |
| Message | msg | String | Message describing the request processing result. |
| Response Data | data | Object | On success, contains query information, points charged, and the public security filing result. The fields below are not guaranteed on failure. |
data.| Field | Parameter | Type | Description |
|---|---|---|---|
| APPID | appid | String | API application ID used for this request. |
| Query Type | code | String | Query type for this request. The value is wangan. |
| Domain | ym | String | Domain queried in this request. |
| Points Charged | cost_points | Integer | Query package points actually charged for this query, based on the current price of the query type. |
| Query Record ID | rw_id | String | Unique ID for this query record, used for tracing and reconciliation. |
| Query Result | result | Object | Public Security Filing Lookup result. |
data.result.| Field | Parameter | Type | Description |
|---|---|---|---|
| Request Status | err_code | String / Integer | Request status. 200 indicates a successful request. |
| Request Message | err_msg | String | Request result message, such as ok. |
| Public Security Filing Response | data | Object | Contains the query status, result message, and business result. |
| Result Updated At | gxsj | String | Time when this query result was updated, in YYYY-MM-DD HH:mm:ss format. |
data.result.data.| Field | Parameter | Type | Description |
|---|---|---|---|
| Query Status | code | String / Integer | 1 indicates query success; other values indicate query failure. This does not indicate whether a public security filing exists. |
| Result Message | msg | String | Public security filing result message, such as 已备案 (filed) or 未备案 (not filed). |
| Filing Result | data | String / Object / Array | An object or list of filing details when available. This example uses an object. May return the string 2 if no filing exists. See the detail fields below. |
data.result.data.data object when public security filing details are returned. If a list is returned, they apply to each record. These fields are not guaranteed when no filing exists.| Field | Parameter | Type | Description |
|---|---|---|---|
| Website Name | name | String | Website name in the public security filing record. |
| Primary Domain | site | String | Primary domain of the filed website. |
| Subdomains | ejsite | Array | List of subdomains in the filing record, with each element a domain string. May be empty or omitted if unavailable. |
| Operator Type | lx | String | Website operator type or nature. Refer to the actual response. |
| Website Category | fs | String | Website category in the filing record. |
| Operator Name | gsm | String | Name of the website operator or organization. |
| Public Security Filing Number | mc | String | Public security network filing number of the website. |
| Filing Authority | dz | String | Public security authority that handled the network filing. |
| Public Security Filing Time | sj | String | Public security network filing time. The format depends on the actual response. |
{
"code": 1,
"msg": "查询成功",
"data": {
"appid": "2026102222460250146194",
"code": "wangan",
"ym": "baidu.com",
"cost_points": 1,
"rw_id": "20261028160406_b3723b0c4109b064a98b6f941b4ee2ac",
"result": {
"err_code": "200",
"err_msg": "ok",
"data": {
"code": "1",
"msg": "已备案",
"data": {
"name": "百度",
"site": "baidu.com",
"ejsite": [
"zhidao.baidu.com",
"baike.baidu.com",
"pan.baidu.com",
"map.baidu.com",
"tieba.baidu.com",
"wenku.baidu.com",
"xinxiang.baidu.com"
],
"lx": "企业单位",
"fs": "交互式",
"gsm": "北京百度网讯科技有限公司",
"mc": "京公网安备11010802050023号",
"dz": "北京市公安局海淀分局网安支队",
"sj": "2025-04-14"
}
},
"gxsj": "2026-10-28 16:04:06"
}
}
}