Crawl4AI with n8n: web pages as Markdown in your workflows
The simplest way to use Crawl4AI in n8n is the HTTP Request node against the Crawl4AI Docker API. No custom node needed: POST the URL to /md and pass markdown to your AI or database node.
Updated 6 Nov 2026
1. Run n8n and Crawl4AI side by side
services:
n8n:
image: n8nio/n8n
ports: ["5678:5678"]
crawl4ai:
image: unclecode/crawl4ai:latest
shm_size: "1g"
In the same compose network, n8n reaches Crawl4AI at http://crawl4ai:11235.
2. HTTP Request node
- Method:
POST - URL:
http://crawl4ai:11235/md - Body content type: JSON
{
"url": "{{ $json.url }}",
"f": "fit"
}
The response contains the Markdown in the field markdown. Use it in the next node as {{ $json.markdown }}.
3. Typical workflows
- Research agent: Webhook → HTTP Request (Crawl4AI) → AI Agent node summarises the page.
- Knowledge base: Sitemap URLs → Loop → Crawl4AI → split into chunks → vector store.
- Monitoring: Schedule → Crawl4AI → compare with last version → Slack or email on change.
There are also unofficial community nodes for Crawl4AI. The HTTP approach above uses only the official API and keeps working when the community node is not updated.
Want to see what a page looks like before you build the workflow? Paste it into the online tool and open the “Docker API” tab for the exact request.
Crawl4AI n8n FAQ
Is there an official Crawl4AI node for n8n?
Not from the Crawl4AI project. Use the HTTP Request node against the Docker API, or an unofficial community node.
Can n8n Cloud reach my Crawl4AI server?
Only if the server is reachable from the internet. Then protect it with authentication (JWT) or a reverse proxy, because the API is open by default.
More Crawl4AI guides
Crawl4AI Python tutorialpip install, AsyncWebCrawler, fit Markdown, LLM extraction.Crawl4AI MCP serverGive Claude and Cursor live web access with the Docker MCP endpoint.Crawl4AI DockerOne command, playground, /crawl and /md endpoints.Crawl4AI vs FirecrawlLicense, hosting, cost model and the right pick for your use case.Is Crawl4AI free?Apache 2.0 license, commercial use, real running costs.Crawl4AI alternativesFirecrawl, Jina Reader, ScrapeGraphAI, Scrapy and more.