A TypeScript and JavaScript SDK for Scrapfly designed to handle complex web scraping, JavaScript rendering, anti-bot bypass, and AI-driven data extraction.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install scrapfly-sdk-typescript
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install scrapfly-sdk-typescript using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Scrapfly TypeScript SDK is a robust library that enables developers to scrape web content directly from Node.js, Deno, Bun, and edge environments like Cloudflare Workers. It provides native support for bypassing advanced anti-bot measures such as Cloudflare and DataDome, ensuring reliable access to web data. By integrating this capability with Openclaw Skills, developers can automate the collection of clean, structured content for downstream processing.
With built-in capabilities for headless browser rendering, screenshot capture, and LLM-friendly markdown formatting, the SDK simplifies the transition from raw web pages to structured information. Its design permits concurrent operations, making it useful for high-volume data collection workflows.
Install the Scrapfly SDK package using your preferred package manager:
npm install scrapfly-sdk
For Deno or JSR-supported environments, import directly from the JSR registry:
import { ScrapflyClient, ScrapeConfig } from 'jsr:@scrapfly/scrapfly-sdk';
Ensure your API key is configured in your environment variables:
export SCRAPFLY_API_KEY="your-api-key"
Initialize the client in your code:
import { ScrapflyClient } from 'scrapfly-sdk';
const client = new ScrapflyClient({ key: process.env.SCRAPFLY_API_KEY });
The SDK organizes scraper outputs and configurations systematically. Key classes and their configuration options include:
| Configuration Class | Supported Options | Output / Result Format |
|---|---|---|
ScrapeConfig |
url, asp (boolean), country (ISO country code), proxy_pool, render_js (boolean), wait_for_selector, rendering_wait (ms), format |
result.result.content (contains scraped raw, clean_html, json, markdown, or text data) |
ScreenshotConfig |
url |
Binary image data (shot.image) |
ExtractionConfig |
body (HTML string), content_type, extraction_prompt |
Parsed structured JSON data (data.data) |
Use the format: 'markdown' parameter in your scrape configuration to generate LLM-ready text content for compatibility with Openclaw Skills workflows.
asp: true is combined with residential proxy pools.client.concurrentScrape for parallel processing of multiple scraping targets with minimal overhead.Loading
A threshold-based monitoring integration to watch Scrapfly account metrics and trigger notifications via webhooks, email, or in-app alerts.

An advanced web scraping SDK for Go that enables seamless proxy rotation, anti-bot bypass, JavaScript rendering, and automated data extraction.

Automate cloud browsers using the Scrapfly Cloud Browser API with Python Playwright for residential proxy rotation and anti-bot fingerprint management.

A dedicated setup skill to bootstrap, validate, and integrate the StablePay MCP server and CLI utility for AI coding agents.

An integration for extracting structured data from raw web content, text, or markdown using the Scrapfly Extraction API and AI-driven models.

An advanced web scraper leveraging the Scrapfly API to extract web data with anti-bot bypass, proxy rotation, and headless browser rendering.








































