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 bahmd. |
| 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 filing blacklist 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 bahmd. |
| 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 | Filing Blacklist 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. |
| Filing Blacklist 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 the domain is blacklisted. |
| Result Message | msg | String | Filing blacklist result message. In the example, 正常 means normal. |
| Blacklist Status | zt | String / Integer | Business status flag for the blacklist check. In the example, 1 corresponds to 正常 (normal). Interpret other values together with the returned msg. |
data.result.data.zt, rather than data.result.data.data. Query success and blacklist membership are separate concepts. A normal result does not mean that the domain has an ICP filing or a public security filing.{
"code": 1,
"msg": "查询成功",
"data": {
"appid": "2026102222460250146194",
"code": "bahmd",
"ym": "baidu.com",
"cost_points": 4,
"rw_id": "20261028160314_adddf029d95be1babfebeedea2781390",
"result": {
"err_code": "200",
"err_msg": "ok",
"data": {
"code": "1",
"msg": "正常",
"zt": "1"
},
"gxsj": "2026-10-28 16:03:14"
}
}
}