Submit a Website#
| Request URL#
Request URL: https://tools.gname.com/v1/query| Request Method#
Request body format: multipart/form-data.| Request Parameters#
| 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 lstj. |
| Submitted Domain | ym | String | Yes | Domain to submit, 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.| Response Envelope#
| Field | Parameter | Type | Description |
|---|
| Status Code | code | Integer | Request processing status. 1 indicates success; other values indicate failure. |
| Message | msg | String | Request processing result message. The outer message in the example is 查询成功 (query successful). See data.result.data for the specific submission result. |
| Response Data | data | Object | On success, contains submission information, points charged, and the submission result. The fields below are not guaranteed on failure. |
| Response Data#
The following fields are in 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 lstj. |
| Submitted Domain | ym | String | Domain submitted in this request. |
| Points Charged | cost_points | Integer | Query package points actually charged for this request, based on the current price of the query type. |
| Query Record ID | rw_id | String | Unique record ID for this request, used for tracing and reconciliation. |
| Submission Result | result | Object | Processing result for the website submission. |
The following fields are in 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. |
| Submission Response | data | Object | Contains the submission status, result message, and return value. |
| Result Updated At | gxsj | String | Time when this request result was updated, in YYYY-MM-DD HH:mm:ss format. |
The following fields are in data.result.data.| Field | Parameter | Type | Description |
|---|
| Submission Status | code | String / Integer | Submission status. 1 indicates success; -1 indicates failure. |
| Submission Message | msg | String | Submission result message, such as 提交成功 (submission successful). |
| Submission Return Value | data | String | Additional return value, such as 9 in the example. This is not a historical record object and must not be used to determine submission success. Use code at this level instead. |
| Example Response#
{
"code": 1,
"msg": "查询成功",
"data": {
"appid": "2026102222460250146194",
"code": "lstj",
"ym": "baidu.com",
"cost_points": 2,
"rw_id": "20261028160345_2d5ef3175c0201302a4e262084aa1b59",
"result": {
"err_code": "200",
"err_msg": "ok",
"data": {
"code": "1",
"msg": "提交成功",
"data": "1"
},
"gxsj": "2026-10-28 16:03:45"
}
}
}
Modified at 2026-10-29 13:14:25