This is an n8n community node that lets you use ScraperAPI in your n8n workflows.
ScraperAPI is a solution to help you unlock and scrape any website, no matter the scale or difficulty. It handles proxies, browsers, and CAPTCHAs so you can focus on extracting the data you need.
n8n is a fair-code licensed workflow automation platform.
- Installation
- Credentials
- Usage
- Resources
- Parameters
- Documentation
- Version History
- More ScraperAPI Integrations
Follow the installation guide in the n8n community nodes documentation.
- Go to Settings > Community Nodes.
- Select Install.
- Write
n8n-nodes-scraperapi-officialin the package name. - Agree to the risks of using community nodes: select I understand the risks of installing unverified code from a public source.
- Select Install. n8n installs the node, and returns to the Community Nodes list in Settings.
- Sign up for a ScraperAPI account at ScraperAPI Dashboard
- Once logged in, navigate to your dashboard
- Copy your API key from the dashboard
- In your n8n workflow, add a ScraperAPI node
- Click on the Credential to connect with field
- Click Create New Credential
- Enter your API key
- Click Save
The credentials will be automatically tested to ensure they work correctly.
For more information, see the ScraperAPI API Key Documentation.
The ScraperAPI node allows you to scrape any website by making a simple GET request. The node handles all the complexity of proxies, browser automation, and CAPTCHA solving.
- Add a ScraperAPI node to your workflow
- Select the ScraperAPI resource, for example the API
- Enter the required parameters, for example the URL you want to scrape
- Configure any optional parameters (see Parameters below)
- Execute the workflow
The node returns the scraped content.
The API resource allows you to scrape any website using ScraperAPI's endpoint. It supports:
- JavaScript rendering for dynamic content
- Geo-targeting with country codes
- Device-specific user agents (desktop/mobile)
- Premium and ultra-premium proxy options
- Automatic parsing of structured data for select websites
- URL: The target URL to scrape (e.g.,
https://example.com)
-
Country Code: Two-letter ISO country code (e.g.,
US,GB,DE) for geo-targeted scraping. -
Desktop Device: Whether to scrape the page as a desktop device. Note: Cannot be combined with Mobile Device.
-
Mobile Device: Whether to scrape the page as a mobile device. Note: Cannot be combined with Desktop Device.
-
Render: Enable JavaScript rendering for pages that require JavaScript to load content. Set to
trueonly when needed, as it increases processing time. -
Premium: Use premium residential/mobile proxies for higher success rates. This option costs more but provides better reliability. Note: Cannot be combined with Ultra Premium.
-
Ultra Premium: Activate advanced bypass mechanisms for the most difficult websites. This is the most powerful option for sites with advanced anti-bot protection. Note: Cannot be combined with Premium.
- 0.1.1: Initial release with API resource support
- 0.1.2: Usage added to Documentation
- 0.1.3: Replace device_type options field with desktopDevice and mobileDevice boolean fields to support AI model auto-definition.
ScraperAPI also provides an MCP (Model Context Protocol) server that enables AI models and agents to scrape websites.
ScraperAPI offers a hosted MCP server that you can use with n8n's MCP Client Tool.
Configuration Steps:
- Add an MCP Client Tool node to your workflow
- Configure the following settings:
- Endpoint:
https://mcp.scraperapi.com/mcp - Server Transport:
HTTP Streamable - Authentication:
Bearer Auth - Credential for Bearer Auth: Enter your ScraperAPI API key as a Bearer Token.
- Tools to include:
All(or select specific tools as needed)
- Endpoint:
If you prefer to self-host the MCP server, you can find the implementation and setup instructions in the scraperapi-mcp repository.