webclaw

SDKs

Official SDKs wrap the webclaw REST API with typed clients, error handling, and crawl polling out of the box. Pick your language and get started with the examples below.

Tip
All SDKs authenticate with an API key. Create one in your dashboard and pass it when initializing the client.

At a glance

PythonTypeScriptGo
Packagewebclawwebclawwebclaw-go
RuntimePython 3.9+Node.js 18+Go 1.23+
HTTP clienthttpxnative fetchnet/http
AsyncYes (AsyncWebclaw)Yes (all methods)Blocking calls with context cancellation
Crawl pollingjob.wait()job.waitForCompletion()client.WaitForCompletion()

Supported endpoints

Common SDK methods are listed below. Endpoint and option coverage varies by SDK version; use the REST API for fields your installed SDK does not expose.

EndpointPythonTypeScriptGo
/v1/scrapeclient.scrape()client.scrape()client.Scrape()
/v1/crawlclient.crawl()client.crawl()client.Crawl()
/v1/mapclient.map()client.map()client.Map()
/v1/batchclient.batch()client.batch()client.Batch()
/v1/extractclient.extract()client.extract()client.Extract()
/v1/summarizeclient.summarize()client.summarize()client.Summarize()
/v1/brandclient.brand()client.brand()client.Brand()

REST API directly

Don't see your language? The API is plain JSON over HTTP -- any HTTP client works.

curl
curl -X POST https://api.webclaw.io/v1/scrape \
  -H "Authorization: Bearer wc_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "formats": ["markdown"]}'

Get started

Ready to build? Start extracting.

Cancel anytime. One key for every format and endpoint.

View on GitHub