tasks
GET /tasks
Request
- Base URLhttps://api.mrscraper.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header x-api-token
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageSizeinteger
Page size
pageinteger
Page number
sortFieldstring
Sort field
sortOrderstring
Sort order (ASC/DESC)
searchstring
Search term
startAtstring required
Start date for created_at filter (RFC3339, YYYY-MM-DD HH:mm:ss, or YYYY-MM-DD; maximum range 7 days)
endAtstring required
End date for created_at filter (RFC3339, YYYY-MM-DD HH:mm:ss, or YYYY-MM-DD; maximum range 7 days)
dateRangeColumnstring
Custom date range column
domainstring
Filter by domain
actionstring
Filter by action
statusstring
Filter by status
jobIdinteger
Filter by jobId
isParentboolean
Filter tokenUsage batch parent tasks
countOnlyboolean
Return only total count without loading task data
Response
Paginated tasks; countOnly=true returns an empty data array
Example response
{
"data": [
{
"action": "scraping",
"callbackUrl": "https://api.example.com/webhook",
"createdAt": "2023-12-01T10:30:00Z",
"domain": "example.com",
"fingerprintId": 101112,
"id": 1234,
"jobId": 987,
"proxy": "user:password@127.0.0.1:8080",
"result": "s3://bucket/path/result.json",
"scrapeTime": 2.5,
"solution": "captcha_solution_token",
"statusMessage": "Task queued for processing",
"updatedAt": "2023-12-01T10:35:00Z",
"userId": "user_123"
}
],
"meta": {
"page": 1,
"pageSize": 10,
"total": 2007199,
"totalPage": 200720
}
}Changes
No recorded changes to this operation across all 1 revision of this API.