Web Scraper Cloud API for data pipelines
With the Web Scraper Cloud API, every scraping step runs from code, with no manual downloads or copy-paste in the pipeline.
{
"sitemap_id": 12,
"custom_id": "batch-8472",
"proxy": "datacenter-us",
"request_interval": 2000,
"page_load_delay": 2000
}
{
"success": true,
"data": { "id": 48213, "custom_id": "batch-8472" }
}
// sent to the team's endpoint when the job ends scrapingjob_id=48213 status=finished sitemap_id=12 sitemap_name=catalog-us custom_id=batch-8472
// the team's endpoint answers within 10 seconds, // then reads the job's data quality
{
"success": true,
"data": {
"min_record_count": {
"got": 48120, "expected": 45000, "success": true
},
"max_failed_pages_percent": {
"got": 1, "expected": 2, "success": true
},
…
"overall_data_quality_success": true
}
}
{"name":"Laptop Pro 14","price":"USD 1,149"}
{"name":"Laptop Air 13","price":"USD 999"}
{"name":"Laptop Max 16","price":"USD 1,899"}
{"name":"Laptop Go 12","price":"USD 649"}
{"name":"Laptop Flex 14","price":"USD 899"}
{"name":"Laptop Studio 15","price":"USD 1,599"}
{"name":"Laptop Pro 16","price":"USD 1,799"}
{"name":"Laptop Air 15","price":"USD 1,199"}
{"name":"Laptop Go 14","price":"USD 749"}
// 48,120 records · also csv and xlsx
Web Scraper Cloud API capabilities
Sitemaps, schedules, jobs, and downloads can all be managed from code.
Import and update sitemaps
Scraper changes ship like code: imported, updated, or removed.
POST
/sitemap
Schedule scrapers from code
Cron expression, time zone, proxy, and driver, set from code.
POST
/sitemap/{id}/enable-scheduler
Group sitemaps with tags
Sitemaps and jobs grouped by market, client, or use case.
POST
/sitemap/{id}/add-tag
Start jobs on demand
Each job takes its own URLs, settings, and custom ID.
POST
/scraping-job
Track jobs by sitemap, tag, or status
A pipeline always knows the state of every run.
GET
/scraping-jobs
Stop and continue jobs
Jobs resume later, with a different proxy or driver if needed.
POST
/scraping-job/{id}/continue
Download JSON, CSV, or XLSX
Parsed by default, or raw when the pipeline does its own cleanup.
GET
/scraping-job/{id}/json
Read data quality results
One overall result decides whether the data loads.
GET
/scraping-job/{id}/data-quality
List failed and empty URLs
Failed, empty, and no-value URLs, ready to retry or inspect.
GET
/scraping-job/{id}/problematic-urls
Event-driven scraping pipelines with webhooks
Polling for finished jobs keeps workers busy and still reacts late. A webhook tells the team's pipeline the moment a job ends, so the data is checked and loaded right away.
Quality-gated database loads
A pipeline that loads every finished job carries incomplete data into reports. Through the API, the team's code can read the data quality result first and load the dataset only when every check passes.
Recover failed pages from code
Running a whole job again to recover a few pages spends hours on pages that already succeeded. Through the API, the team's code can list a job's failed and empty URLs and continue the same job, with a different proxy or driver if needed, so only the missing pages are scraped again.
Sitemaps and schedules as code
Dozens of scrapers configured manually drift apart, and nobody can tell which change broke a pipeline. Through the API, sitemaps, schedules, and tags are created and updated from code, so scraper configuration is versioned and reviewed with the rest of the pipeline.
Call the API from any language
Any language that makes HTTPS requests can call the API directly, with no SDK to install.
OpenAPI description
The full API is described in OpenAPI, so a client can be generated for any language.
cloud.webscraper.io/openapi.yaml
Code examples for every endpoint
The API reference shows each call in every major language, ready to use with a plain HTTP client.
Frequently asked questions
Test it on a real pipeline
Run real sitemaps in Web Scraper Cloud free for 7 days and check reliability and data quality before committing. No credit card required.