Create website setup job
Create a setup job for the URL, country and currency; the analysis starts right away
unless the website exists already. An open setup job of the same website in the project
is returned instead, with HTTP 200. A too-large website gives a failed job with the error
code WEBSITE_TOO_LARGE. See POST /contact-requests.
The job takes one of the free website analyses of the month. After them, the analysis is
paid from the credit: its price is held and charged once the website is in the project.
A failed analysis costs nothing, except one that found the website does not offer the
currency: the job fails with the error code CURRENCY_NOT_AVAILABLE. No switch of the
website shows its prices in the currency; a homepage in another currency alone does not
fail the job. The error of the job names the currency the website shows, when the analysis
found it. The free analysis stays used, and a paid analysis is charged.
The setup is for the whole website at the domain of the URL. It ignores the path and the
query. To scrape only some products, create a URL scrape after the setup (POST /jobs/scraping with urls).
A project without localization gets the country and currency of the job.
HTTPBearerAuthorizationBearer <token>An API key
application/json- body
url*stringcountry*stringcurrency*stringproject_id*stringThe open setup job of the same website in the project, instead
application/json- response
A setup job with its analysis and training progress.
job_id*stringjob_type*stringstatus*JobRequestStatusThe lifecycle of a job. Each job type runs in its own lane.
- WEBSITE_SETUP: CREATED, ANALYZING, ESTIMATE_READY, TRAINING, COMPLETED. The analysis and the training move the job on by themselves.
- FULL_SCRAPE, URL_SCRAPE and MATCHING: AWAITING_APPROVAL (the user approves the quote), APPROVED, RUNNING, SETTLING (the charge), EXPORTING (the export files), COMPLETED.
- FAILED ends a job of any lane; CANCELLED ends one that the user cancelled, or an idle one that expired.
"CREATED""ANALYZING""ESTIMATE_READY""TRAINING""AWAITING_APPROVAL""APPROVED""RUNNING""SETTLING""EXPORTING""COMPLETED""FAILED""CANCELLED"project_id*stringwebsite_id?string|nullestimate?|nullapproval?|nullsettlement?|nullerror?string|nullerror_code?|nullcontact_reason?|nullcontact_request_id?string|nullcreated_at*stringdate-timeupdated_at*stringdate-timefinished_at?|nullurl*stringcountry*stringcurrency*stringanalysis_progress?|nulltrain_progress?|nullcurl -X POST 'https://api.deepscout.ai/v1/jobs/setup' \ -H 'Content-Type: application/json' \ -d '{ "url": "string", "country": "string", "currency": "string", "project_id": "string"}'{ "job_id": "string", "job_type": "WEBSITE_SETUP", "status": "CREATED", "project_id": "string", "website_id": "string", "estimate": { "currency": "string", "unit_price_per_1000": "12.68", "quantity": 0, "total": "12.68", "cap": "12.68", "min_charge": "12.68", "difficulty": "EASY", "input_products": 0 }, "approval": { "approved_by": "string", "approved_at": "2026-09-16T12:30:00.000Z" }, "settlement": { "quantity": 0, "currency": "string", "amount": "12.68", "capped": true, "settled_at": "2026-09-16T12:30:00.000Z" }, "error": "string", "error_code": "WEBSITE_TOO_LARGE", "contact_reason": "WEBSITE_TOO_LARGE", "contact_request_id": "string", "created_at": "2026-09-16T12:30:00.000Z", "updated_at": "2026-09-16T12:30:00.000Z", "finished_at": "2026-09-16T12:30:00.000Z", "url": "string", "country": "string", "currency": "string", "analysis_progress": { "config": { "state": "RUNNING" }, "homepage": { "state": "RUNNING" }, "sitemap": { "state": "RUNNING" }, "size": { "state": "RUNNING" }, "sitemap_size": 0, "is_ecommerce": true, "product_type": "string", "language": "string", "products_estimate": 0 }, "train_progress": { "pages": 0, "pages_limit": 0, "pages_estimate": 0, "phase": "COLLECTING_PAGES", "percent": 0 }}