SERP API
SERP Async API
Submit
Create an asynchronous SERP task
Request URL
Request Headers
| Parameters | Parameter value | Type | Description |
|---|---|---|---|
| Content-Type | application/json | string | Data format |
| Authorization | Bearer xxx | string | Authorization Token |
Request Parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| url | Yes | string | Target URL |
| callback | Yes | string | Task callback URL |
| edgeId | No | string | Specify node device ID |
| isGetHealthEdge | No | boolean | Whether to automatically select healthy nodes |
| isObstinate | No | boolean | Whether to enable a stronger retry strategy |
| params | No | object | Extra query or business parameters to append to the URL |
| tag | No | string | Task tag |
| timeout | No | int | Task timeout |
Response value
| Return value | Type | Description |
|---|---|---|
| status | int | Task status: -1 = Failed, 1 = In Progress, 2 = Successful |
| taskId | string | Task ID |
| url | string | Task source URL |
| data | object | Parsed or collected results |
| errorMessage | string | Error message |
| html | string | Original HTML content encoded in Base64 |
Request example
Return example
Credit Consumption
0.5 Credit/Per Request

