Skip to main content
Version: v2

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

  1. Open any workflow and click + (or press N) to open the nodes panel
  2. Search for ScrapingAnt
  3. Look for the "More from the community" section at the bottom of the results
  4. Click the ScrapingAnt node and hit Install
note

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:

  1. Go to Settings > Community Nodes
  2. Enter n8n-nodes-scrapingant
  3. 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

  1. Register at ScrapingAnt Service and get your API key
  2. In n8n, go to Credentials > Add Credential > search for ScrapingAnt API
  3. Paste your API key and save

The credential is validated automatically against the ScrapingAnt API.

Available operations

The ScrapingAnt node provides four operations:

OperationAPI EndpointDescription
Scrape/v2/generalScrape a webpage and return raw HTML. Supports headless Chrome, datacenter/residential proxies, custom JavaScript snippets, and country targeting.
Get Markdown/v2/markdownConvert a webpage to clean Markdown — optimized for LLM and RAG pipelines.
AI Extract/v2/extractExtract structured data from any page using natural language. Describe what you need (e.g., "title, price, reviews") and get back JSON.
Get Usage/v2/usageCheck your plan name, total credits, remaining credits, and billing period.

Usage example

Here is how to scrape a webpage in an n8n workflow:

  1. Add a Manual Trigger node to your workflow
  2. Add the ScrapingAnt node and connect it to the trigger
  3. Select the Scrape operation
  4. Enter the target URL (e.g., https://example.com)
  5. Optionally configure browser rendering, proxy type, and other parameters
  6. Click Execute Workflow

The node returns the scraped HTML content as a JSON item with an html field.

AI data extraction example

  1. Select the AI Extract operation
  2. Enter the target URL
  3. In the Extract Properties field, describe the data you need:
    product title, price, description, reviews(list: author, rating, text)
  4. 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.