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 in under a minute.

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.21+
HTTP clienthttpxnative fetchnet/http
AsyncYes (AsyncWebclaw)Yes (all methods)Yes (context.Context)
Crawl pollingjob.wait()job.waitForCompletion()client.WaitForCrawl()

Supported endpoints

Every SDK covers the full API surface:

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"]}'