Search1API
Advanced

Deepcrawl (Beta)

API endpoints for initiating and monitoring asynchronous deep crawl tasks. Every request costs 20 credits.

POST
/deepcrawl

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

URL and options for the deep crawl.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/deepcrawl" \  -H "Content-Type: application/json" \  -d '{    "url": "https://search1api.com"  }'
{  "taskId": "string",  "status": "queued"}
{  "error": 0,  "message": "string"}
GET
/deepcrawl/status/{taskId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

taskId*string

The ID of the task obtained from POST /deepcrawl.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/deepcrawl/status/string"
{  "taskId": "string",  "status": "processing",  "message": "string"}
{  "taskId": "string",  "status": "not_found",  "message": "string"}
{  "error": 0,  "message": "string"}