REST API
Web scraping in Zapier workflows
Scrape any URL inside a Zap with webhooks or code steps.
Zapier connects 7,000+ apps with no-code automation. Use the Webhooks app or a Code step to call webclaw from any Zap, adding web scraping capabilities to your automations without custom infrastructure.
Setup
Zapier Code step (Run JavaScript)
// Zapier Code by Zapier — Run JavaScript
const res = await fetch("https://api.webclaw.io/v1/scrape", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.WEBCLAW_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: inputData.url,
formats: ["markdown"],
}),
});
const data = await res.json();
return { markdown: data.markdown, title: data.metadata.title };Why webclaw for Zapier
- Simple REST API works in Zapier Code steps
- No proxy, no browser, no complex setup
- Bot bypass for protected sites
- Predictable per-call cost
Common use cases
- Auto-enrich new leads with company data
- Scrape competitor pages on a schedule
- Trigger notifications when a page changes
- Feed scraped data into Google Sheets or Airtable
Frequently asked questions
How do I call webclaw from Zapier?
Use the Code by Zapier action with JavaScript. Fetch the webclaw API with your Bearer token and the URL you want to scrape. Return the markdown for use in downstream Zap steps.
Can I use the Webhooks by Zapier app instead of Code?
Yes. Use a Webhooks POST action with URL https://api.webclaw.io/v1/scrape, the Authorization header, and a JSON body. This avoids writing any code.