[ Automate · Web Scraper Cloud API ]

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.

api.webscraper.io/api/v1 OpenAPI
POST /scraping-job
{
  "sitemap_id": 12,
  "custom_id": "batch-8472",
  "proxy": "datacenter-us",
  "request_interval": 2000,
  "page_load_delay": 2000
}
Response 200 OK
{
  "success": true,
  "data": { "id": 48213, "custom_id": "batch-8472" }
}

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

It is an API for running web scraping jobs: it starts sitemaps, on new URLs if needed, returns the data as JSON, CSV, or XLSX, and sends a webhook when each job ends. Every job runs a sitemap, so pages are scraped by extraction logic defined once, not fetched one request at a time.

Every paid plan includes API access and webhooks.

Yes. A sitemap is built once in the extension, or imported from a sitemap definition through the API, and the API then runs it.

Yes. Custom start URLs are passed when the job starts. The sitemap defines what gets extracted, and its saved start URL stays unchanged.

Yes. The OpenAPI description includes Python examples for every endpoint, and a client can be generated from it.

With the account's API token, sent as a Bearer token with each request.

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.