Search1API文档

Deepcrawl (Beta)

API endpoints for initiating and monitoring asynchronous deep crawl tasks. Starting a task costs 20 credits; status checks are free.

POST
/deepcrawl

Authorization

bearerAuth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
url*string
Formaturi
type?string
Value in"sitemap""all"

Response Body

Successful response

application/json
  1. response
taskId*string
status*"queued"
Value in"queued"
curl -X POST 'https://api.search1api.com/deepcrawl' \  -H 'Content-Type: application/json' \  -d '{  "url": "http://example.com"}'
{  "taskId": "string",  "status": "queued"}

Check deepcrawl task status

GET
/deepcrawl/status/{taskId}

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

taskId*string
Length1 <= length

Response Body

Successful response

application/json
  1. response
taskId*string
status?string
Value in"queued""waiting""processing""completed""failed""not_found"
success?boolean
message?string
error?string|null
r2Key?string
zipUrl?|
Formaturi
[key: string]?any
curl -X GET 'https://api.search1api.com/deepcrawl/status/string'
{  "taskId": "string",  "status": "queued",  "success": true,  "message": "string",  "error": "string",  "r2Key": "string",  "zipUrl": "http://example.com"}