🕷️

Web Scraper API

Extract structured data from any website using CSS selectors. Full JavaScript rendering with headless Chromium for dynamic content.

API Endpoint

POST /v1/scrape

Parameters

Name Type Required Description
urlstringYesURL to scrape
selectorstringNoCSS selector to extract specific elements
waitintegerNoWait time in ms for JS rendering

Quick Example

curl -X POST "https://api.toolcenter.dev/v1/scrape" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://news.ycombinator.com", "selector": ".titleline"}'

Features

  • CSS selector-based extraction
  • Full JavaScript rendering
  • Multiple element extraction
  • Clean text or raw HTML output
  • Proxy and user agent rotation

Use Cases

Extract product data for price monitoring

Aggregate news headlines

Build lead generation pipelines

Monitor competitor websites

Start Using Web Scraper API for Free

500 free API calls per month. No credit card required.

Get Started Free