n8n node for Anakin API - web scraping, AI search, and intelligent data extraction
npm install n8n-nodes-anakin-orgThis is an n8n community node that lets you use the Anakin API in your n8n workflows.
Anakin provides powerful web scraping, AI-powered search, and intelligent data extraction capabilities. This node handles all the complexity of job submission and polling automatically.
- š Simple authentication with API key
- š Web Scraping: Scrape any website and extract structured data
- š AI Search: Perform intelligent searches powered by Perplexity AI
- š¤ Agentic Search: Advanced multi-stage pipeline that searches, scrapes, and extracts structured data automatically
- ā³ Automatic polling for async operations
- šÆ Configurable polling intervals and timeouts
- š Support for country-specific proxy routing
- ā»ļø Cache control with force fresh option
1. Go to Settings > Community Nodes in your n8n instance
2. Select Install
3. Enter n8n-nodes-anakin-org in the Package name field
4. Click Install
Navigate to your n8n installation folder and run:
``bash`
npm install n8n-nodes-anakin-org
Then restart n8n.
Before using the Anakin node, you need to set up your API credentials:
1. In n8n, go to Credentials > New
2. Search for Anakin API
3. Fill in:
- API Key: Your Anakin Scraper API authentication token
- Base URL: The API endpoint (default: https://api.anakin.io)
4. Click Save
1. Add the Anakin node to your workflow
2. Connect it to your trigger or previous node
3. Select your credentials
4. Enter the URL you want to scrape
5. (Optional) Configure additional options
The Anakin node supports three powerful operations:
Extract content and structured data from any website.
``
Trigger ā Anakin (Scrape URL) ā Process Data
Configuration:
- URL: https://example.com/product-pageus
- Country Code: (optional)false
- Force Fresh: (optional)300
- Max Wait Time: seconds (optional)3
- Poll Interval: seconds (optional)
Output:
`json`
{
"success": true,
"operation": "scrapeUrl",
"request_id": "req_123456",
"url": "https://example.com/product-page",
"status": "completed",
"html": "...",
"markdown": "...",
"generatedJson": {
// Structured data extracted from the page
}
}
Perform AI-powered searches using Perplexity AI. Get instant answers with citations.
``
Trigger ā Anakin (Search) ā Process Results
Configuration:
- Search Query: What are the latest trends in AI?5
- Max Results: (optional, default: 5)
Output:
`json`
{
"success": true,
"operation": "search",
"query": "What are the latest trends in AI?",
"answer": "Based on recent developments...",
"results": [
{
"title": "AI Trends 2026",
"url": "https://example.com/ai-trends",
"content": "Summary of the article...",
"score": 0.95
}
],
"count": 5
}
Use Cases:
- Research and fact-checking
- Competitive intelligence
- Content research
- Real-time information gathering
Advanced multi-stage AI pipeline that automatically:
1. Searches for relevant information
2. Identifies and scrapes citation sources
3. Extracts structured data using AI
4. Generates a comprehensive summary
``
Trigger ā Anakin (Agentic Search) ā Process Structured Data
Configuration:
- Search Prompt: Find the pricing plans for top 5 CRM softwaretrue
- Use Browser: (optional, more reliable)600
- Max Wait Time: seconds (optional)5
- Poll Interval: seconds (optional)
Output:
`json`
{
"success": true,
"operation": "agenticSearch",
"job_id": "job_789",
"status": "completed",
"query": "Find the pricing plans for top 5 CRM software",
"perplexity_answer": "Here are the top CRM solutions...",
"citations": [
{"url": "https://salesforce.com/pricing", "title": "Salesforce Pricing", "source_index": 0}
],
"scraped_data": [
{
"source_url": "https://salesforce.com/pricing",
"source_index": 0,
"data": {
"plans": [...],
"features": [...]
}
}
],
"chatgpt_schema": {
"type": "object",
"properties": {...}
},
"chatgpt_structured_data": {
"crm_platforms": [...]
},
"chatgpt_summary": "Comprehensive analysis of CRM pricing..."
}
Use Cases:
- Market research with structured data
- Competitive analysis
- Lead generation with enriched data
- Automated data collection for reports
#### Scrape URL Options
| Option | Description | Default |
|--------|-------------|---------|
| URL | The website URL to scrape | Required |
| Max Wait Time | Maximum seconds to wait for completion | 300 |
| Poll Interval | Seconds between status checks | 3 |
| Country Code | Proxy country code (e.g., us, uk, de) | us |
| Force Fresh | Bypass cache and force fresh scrape | false |
#### Search Options
| Option | Description | Default |
|--------|-------------|---------|
| Search Query | The question or query to search | Required |
| Max Results | Maximum number of results to return | 5 |
#### Agentic Search Options
| Option | Description | Default |
|--------|-------------|---------|
| Search Prompt | The search prompt for analysis | Required |
| Use Browser | Use browser for scraping (more reliable) | true |
| Max Wait Time | Maximum seconds to wait for completion | 600 |
| Poll Interval | Seconds between status checks | 5 |
The node handles all the complexity of:
- Job submission and request management
- Automatic polling for async operations
- Intelligent error handling
- Timeout management
- Response parsing and formatting
The node will throw an error if:
- The scraping job fails
- The job doesn't complete within the max wait time
- The API returns an error
You can enable Continue on Fail in the node settings to handle errors gracefully.
- Submit scraping job
- GET /v1/request/{id} - Check job status$3
- POST /v1/search - Perform AI search (synchronous)$3
- POST /v1/agentic-search - Submit agentic search job
- GET /v1/agentic-search/{jobId} - Check agentic search statusDevelopment
$3
- Node.js >= 16
- n8n installed locally
$3
`bash
Clone the repository
git clone https://github.com/Anakin-Inc/blueprint-scribe-35.git
cd blueprint-scribe-35/external-integrations/n8nInstall dependencies
npm installBuild the node
npm run buildLink for local development
npm link
cd ~/.n8n/custom
npm link n8n-nodes-anakin-org
`$3
`
n8n-nodes-anakin-org/
āāā credentials/
ā āāā AnakinScraperApi.credentials.ts
āāā nodes/
ā āāā AnakinScraper/
ā āāā AnakinScraper.node.ts
āāā package.json
āāā README.md
``For issues, questions, or contributions:
- š Report a bug
- š” Request a feature
- š API Documentation
MIT