n8n Integration
n8n community node allows you to use ScrapingAnt web scraping API directly in your n8n workflows — including as a tool for AI Agents.
Installation
n8n Cloud / Desktop
- Open any workflow and click + (or press N) to open the nodes panel
- Search for ScrapingAnt
- Look for the "More from the community" section at the bottom of the results
- Click the ScrapingAnt node and hit Install
Only verified community nodes are available on n8n Cloud. If ScrapingAnt does not appear yet, it may still be pending verification.
Self-hosted
You can install the node directly from the n8n UI:
- Go to Settings > Community Nodes
- Enter
n8n-nodes-scrapingant - Click Install
Or install via npm in your n8n instance:
npm install n8n-nodes-scrapingant
For more details, see the GitHub project page.
Credentials setup
- Register at ScrapingAnt Service and get your API key
- In n8n, go to Credentials > Add Credential > search for ScrapingAnt API
- Paste your API key and save
The credential is validated automatically against the ScrapingAnt API.
Available operations
The ScrapingAnt node provides four operations:
| Operation | API Endpoint | Description |
|---|---|---|
| Scrape | /v2/general | Scrape a webpage and return raw HTML. Supports headless Chrome, datacenter/residential proxies, custom JavaScript snippets, and country targeting. |
| Get Markdown | /v2/markdown | Convert a webpage to clean Markdown — optimized for LLM and RAG pipelines. |
| AI Extract | /v2/extract | Extract structured data from any page using natural language. Describe what you need (e.g., "title, price, reviews") and get back JSON. |
| Get Usage | /v2/usage | Check your plan name, total credits, remaining credits, and billing period. |
Usage example
Here is how to scrape a webpage in an n8n workflow:
- Add a Manual Trigger node to your workflow
- Add the ScrapingAnt node and connect it to the trigger
- Select the Scrape operation
- Enter the target URL (e.g.,
https://example.com) - Optionally configure browser rendering, proxy type, and other parameters
- Click Execute Workflow
The node returns the scraped HTML content as a JSON item with an html field.
AI data extraction example
- Select the AI Extract operation
- Enter the target URL
- In the Extract Properties field, describe the data you need:
product title, price, description, reviews(list: author, rating, text) - Execute — the node returns structured JSON matching your specification
AI Agent tool
The ScrapingAnt node has usableAsTool enabled, which means it can be connected directly to the n8n AI Agent node. This allows AI agents to autonomously scrape pages, extract data, and check credit usage as part of their reasoning process.
Credit costs
Credit costs vary by operation, rendering mode, and proxy type. See the credit cost reference for current pricing.
Resources
Issues and tracking
In order to help us improve our service, please don't hesitate to create an issue or feature request at GitHub.