logo

Create a new scraping job

Create a new asynchronous scraping job with the specified targets and options

POST
/api/v1/jobs

Authorization

ApiKeyAuth
X-Token<token>

In: header

Request Body

application/json

Job creation parameters

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://q.scrape.do/api/v1/jobs" \  -H "Content-Type: application/json" \  -d '{    "Targets": [      "https://httpbin.co/anything"    ]  }'
{
  "JobID": "string",
  "Message": "string",
  "TaskIDs": [
    "string"
  ]
}
{
  "Error": "string",
  "Code": 0
}
{
  "Error": "string",
  "Code": 0
}
{
  "Error": "string",
  "Code": 0
}
{
  "Error": "string",
  "Code": 0
}