Crawler API
Crawling APIs
Crawler API
Direct URL crawling API with JavaScript rendering, automatic content extraction, multiple output formats (HTML, Markdown, plain text), and intelligent data cleanup. Ideal for web scraping and content extraction.
GET
Crawler API
Overview
The Crawler API performs direct crawling of specified URLs with JavaScript rendering support. Ideal for extracting content from single pages or multiple URLs in a single request.Endpoint
Parameters
Required Headers
Your Crawleo API key for authentication. (Alternatively, use the
Authorization: Bearer YOUR_API_KEY header.)Example: x-api-key: YOUR_API_KEY or Authorization: Bearer YOUR_API_KEYRequired Parameters
URL(s) to crawl. Can be a single URL or comma-separated list.Example:
https://example.com or https://example.com,https://example.orgRendering Options
Enable browser rendering for JavaScript-heavy sites.
true- Browser rendering (10 credits/URL)false- HTTP request (1 credit/URL)
ISO 3166-1 alpha-2 country code for geolocation (e.g.,
us, gb, de).Example: geolocation=usOutput Format Parameters
Return the raw HTML as-is from the page source.
Return cleaned/sanitized HTML with ads, scripts, and tracking removed.
Return plain-text extraction of the page content.
Return markdown conversion (recommended for RAG/LLM applications).
Screenshot Options
Capture a screenshot of the page. Only available when
render_js=true.Capture full-page screenshot vs viewport only.
Example Requests
Basic Crawl with Markdown Output
Crawl Multiple URLs
Crawl with JavaScript Rendering
Crawl with Screenshot and Geolocation
Get Multiple Output Formats
Response
A successful response returns crawled content for each URL:Array of crawl result objects.
Number of credits consumed by this request. Varies based on rendering:
- HTTP request (render_js=false): 1 credit per URL
- Browser rendering (render_js=true): 10 credits per URL
- Failed requests: 0 credits
Number of URLs that were successfully crawled.
Use Cases
RAG Data Ingestion
RAG Data Ingestion
Crawl documentation pages or knowledge bases and convert to Markdown for vector database ingestion.
Content Extraction
Content Extraction
Extract clean content from web pages for analysis or processing.
Web Scraping
Web Scraping
Scrape multiple pages in a single API call with JavaScript rendering support.
AI Agent Tools
AI Agent Tools
Provide AI agents with the ability to read and understand web pages.
Tips
Last modified on April 21, 2026