๐ Website Content Crawler
Pricing
from $2.20 / 1,000 results
๐ Website Content Crawler
Crawl any website into clean text, Markdown & rich metadata โ AI-ready output for RAG, LLMs & vector databases. Streams to your dataset in real time.
๐ Website Content Crawler
Pricing
from $2.20 / 1,000 results
Crawl any website into clean text, Markdown & rich metadata โ AI-ready output for RAG, LLMs & vector databases. Streams to your dataset in real time.
You can access the ๐ Website Content Crawler programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, youโll need an Apify account and your API token, found in API & Integrations in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "1.2", "x-build-id": "ZlzYlFoMfHuaYuhML" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/data_minds~website-content-crawler/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-data_minds-website-content-crawler", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } }, "/acts/data_minds~website-content-crawler/runs": { "post": { "operationId": "runs-sync-data_minds-website-content-crawler", "x-openai-isConsequential": false, "summary": "Executes an Actor and returns information about the initiated run in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/runsResponseSchema" } } } } } } }, "/acts/data_minds~website-content-crawler/run-sync": { "post": { "operationId": "run-sync-data_minds-website-content-crawler", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } } }, "components": { "schemas": { "inputSchema": { "type": "object", "required": [ "startUrls" ], "properties": { "startUrls": { "title": "๐ Start URLs", "type": "array", "description": "One URL per line. Pages where crawling begins, for example a docs home, a blog index or a product category. Include/exclude filters apply to discovered links only: your start URLs are always crawled. Each start URL gets its own page limit.", "items": { "type": "string" } }, "maxResults": { "title": "๐ข Max pages per start URL", "minimum": 1, "type": "integer", "description": "Maximum number of pages saved for each start URL. 3 start URLs with 20 here give up to 60 rows. Every start URL is crawled up to this number, or until it has no more pages in scope.", "default": 10 }, "crawlScope": { "title": "๐ฏ Crawl scope", "enum": [ "subpath", "domain", "subdomains" ], "type": "string", "description": "Which discovered links are followed. Same sub-path (default) stays under the start URL's path, e.g. a start URL of /blog follows /blog/... only. Whole domain follows any page of the same host; with subdomains also follows blog.example.com for example.com. Include patterns below can lift the sub-path limit.", "default": "subpath" }, "maxCrawlDepth": { "title": "๐ข Max crawl depth", "minimum": 0, "type": "integer", "description": "0 = only your start URLs, 1 = also the pages they link to, 2 = one more hop, and so on.", "default": 2 }, "renderingMode": { "title": "๐ง Rendering mode", "enum": [ "auto", "always", "never" ], "type": "string", "description": "Auto (recommended) collects most pages quickly and renders only those that need it (JavaScript-heavy pages). Always renders every page: most reliable on dynamic sites, slowest. Never skips rendering: cheapest and fastest.", "default": "auto" }, "includeUrlGlobs": { "title": "๐ฏ Only crawl URLs matching", "type": "array", "description": "If you add any pattern, only discovered URLs matching at least one are followed. Examples: /blog/** or https://site.com/product/**. Matching patterns also lift the sub-path limit. Empty = no extra filter.", "default": [], "items": { "type": "string" } }, "excludeUrlGlobs": { "title": "๐ฏ Skip URLs matching", "type": "array", "description": "Discovered URLs matching any pattern here are skipped. Examples: /admin/** , /login , **/*.pdf.", "default": [], "items": { "type": "string" } }, "maxCrawlPages": { "title": "๐ข Max pages to open", "minimum": 0, "type": "integer", "description": "Hard cap on unique pages opened across the run, including pages that turn out empty or blocked. 0 = no extra cap (the per-start-URL limit still applies).", "default": 0 }, "onlyCrawlPagesModifiedSince": { "title": "๐
Only pages changed since", "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$", "type": "string", "description": "Skip pages not modified since this date. Pick an exact date (e.g. 2026-01-31) or a relative window (e.g. 30 days, 2 weeks, 3 months, 1 year). Uses the page's Last-Modified header and sitemap dates. Start URLs are always crawled. Empty = off." }, "keepUrlFragments": { "title": "โ
Treat #anchors as different pages", "type": "boolean", "description": "Normally the part after # is ignored. Turn on to count each fragment as its own URL.", "default": false }, "ignoreCanonicalUrl": { "title": "โ
Ignore canonical link tags", "type": "boolean", "description": "Off: the page's canonical URL becomes the row's url and drives de-duplication. On: the loaded URL is used.", "default": false }, "useSitemaps": { "title": "โ
Add pages from sitemaps", "type": "boolean", "description": "Also queue the pages listed in the site's sitemaps, which reaches pages no link points to. Filters still apply.", "default": false }, "useLlmsTxt": { "title": "โ
Add pages from llms.txt", "type": "boolean", "description": "Read /llms.txt at each start domain and queue the URLs it lists. Filters still apply.", "default": false }, "respectRobotsTxtFile": { "title": "โ
Respect robots.txt", "type": "boolean", "description": "Skip discovered URLs that the site's robots.txt disallows. Your start URLs are always crawled.", "default": false }, "storeSkippedUrls": { "title": "โ
Save skipped URLs", "type": "boolean", "description": "Write URLs that were found but not crawled (out of scope, filtered, disallowed) with a reason to skipped-urls.json in the key-value store.", "default": false }, "retryFailedWithRendering": { "title": "โ
Second chance with rendering", "type": "boolean", "description": "If a page cannot be collected on the first attempt, try once more with rendering. Ignored when the rendering mode is Never.", "default": true }, "dynamicContentWaitSecs": { "title": "โณ Wait for dynamic content (seconds)", "minimum": 0, "type": "integer", "description": "Settle time after a rendered page has loaded, so late content is captured. Rendered pages only.", "default": 3 }, "waitForSelector": { "title": "๐ฏ Wait for CSS selector", "type": "string", "description": "Wait until this selector appears before extracting. A page without it counts as incomplete and is collected again more thoroughly.", "default": "" }, "softWaitForSelector": { "title": "๐ฏ Wait for CSS selector (soft)", "type": "string", "description": "Like the setting above, but a page that never shows the selector is still saved. Rendered pages only.", "default": "" }, "maxScrollHeightPixels": { "title": "๐ข Auto-scroll height (pixels)", "minimum": 0, "type": "integer", "description": "On rendered pages, scroll down up to this many pixels to load lazy or infinite-scroll content. 0 = off.", "default": 0 }, "clickElementsCssSelector": { "title": "๐ฏ Click elements before extracting", "type": "string", "description": "On rendered pages, click elements matching this selector (accordions, show more buttons) before extracting. Example: [aria-expanded=\"false\"].", "default": "" }, "stickyContainerCssSelector": { "title": "๐ฏ Keep content of virtual lists", "type": "string", "description": "CSS selector of a container whose child elements the page removes while you scroll (virtualised lists). Matching containers keep their children so the full content is captured. Rendered pages only.", "default": "" }, "expandIframes": { "title": "โ
Include iframe content", "type": "boolean", "description": "Pull the content of embedded iframes into the page on rendered pages, so it is part of the text.", "default": true }, "removeCookieWarnings": { "title": "โ
Remove cookie banners", "type": "boolean", "description": "Remove common cookie and consent dialogs (and accept them where possible) before extracting text.", "default": true }, "blockAds": { "title": "โ
Block ad and tracker hosts", "type": "boolean", "description": "Skip requests to known ad and tracker hosts while rendering. Rendered pages only.", "default": false }, "blockMedia": { "title": "โ
Block images, fonts and media", "type": "boolean", "description": "Skip downloading images, fonts and video while rendering: faster and cheaper on heavy pages. Text and links are unaffected. Rendered pages only.", "default": false }, "mobileView": { "title": "โ
Mobile view", "type": "boolean", "description": "Render pages with a mobile device profile instead of desktop. A custom User-Agent below still wins.", "default": false }, "ignoreHttpsErrors": { "title": "โ
Allow invalid HTTPS certificates", "type": "boolean", "description": "Off by default. Turn on only for test sites with certificate problems.", "default": false }, "referrerUrl": { "title": "๐ Referrer for start URLs", "type": "string", "description": "Recorded as referrerUrl on rows from your start URLs (they have no natural previous page). Empty = blank.", "default": "" }, "htmlTransformer": { "title": "๐ง Main-content cleaner", "enum": [ "readableText", "readableTextIfPossible", "none" ], "type": "string", "description": "How the page text is cleaned. Readable text keeps the main article region only (strictest). If possible does the same but keeps more of the page when no clear main region is found. None keeps everything except the removed elements below.", "default": "readableText" }, "keepElementsCssSelector": { "title": "๐ฏ Keep only these elements", "type": "string", "description": "If set, only elements matching this selector are kept, everything else is discarded. Example: article, main. Empty = whole page.", "default": "" }, "removeElementsCssSelector": { "title": "๐ฏ Remove these elements", "type": "string", "description": "Comma-separated CSS selectors removed before extraction. An invalid selector is skipped with a warning.", "default": "nav, footer, script, style, noscript, svg, img[src^='data:'], [role=\"alert\"], [role=\"banner\"], [role=\"dialog\"], [role=\"alertdialog\"], [role=\"region\"][aria-label*=\"skip\" i], [aria-modal=\"true\"]" }, "aggressivePrune": { "title": "โ
Aggressive pruning", "type": "boolean", "description": "Drop text lines that already appeared on two or more earlier pages of the run (menus, footers, banners).", "default": false }, "readableTextCharThreshold": { "title": "๐ข Minimum text length", "minimum": 0, "type": "integer", "description": "A page whose cleaned text is shorter than this counts as thin and, in Auto mode, is collected again with rendering.", "default": 100 }, "redactPii": { "title": "โ
Redact personal data", "type": "boolean", "description": "Mask emails, phone numbers, card-like numbers and SSNs in text and markdown. Pattern-based, not a compliance guarantee.", "default": false }, "extractPdfText": { "title": "โ
Read PDF text", "type": "boolean", "description": "Open linked PDF files and put their text into the row instead of only listing them as file links.", "default": false }, "chunkSizeChars": { "title": "๐ข Split text into chunks (characters)", "minimum": 0, "type": "integer", "description": "If above 0, each row gets a chunks list: the text cut at paragraph boundaries into pieces of at most this many characters, each with its heading. Handy for AI retrieval. 0 = off.", "default": 0 }, "saveMarkdown": { "title": "โ
Include Markdown", "type": "boolean", "description": "Add a Markdown version (headings, links, lists, tables, code) next to the plain text.", "default": true }, "saveHtml": { "title": "โ
Include cleaned HTML", "type": "boolean", "description": "Put the cleaned HTML into the html field. Turn off for much smaller rows; the htmlUrl snapshot link stays.", "default": true }, "saveHtmlAsFile": { "title": "โ
Save HTML snapshots as files", "type": "boolean", "description": "Store the original and cleaned HTML as files in the key-value store and link them in htmlUrl.", "default": true }, "saveScreenshots": { "title": "โ
Save screenshots", "type": "boolean", "description": "Take a PNG of every saved page and link it in screenshotUrl. Requires rendering every page, so runs are slower.", "default": false }, "screenshotFullPage": { "title": "โ
Full-page screenshots", "type": "boolean", "description": "On: capture the whole scrolled page. Off: only the visible area (smaller and faster).", "default": true }, "saveFiles": { "title": "โ
Download linked documents", "type": "boolean", "description": "Save linked PDF, Word, Excel and CSV files to the key-value store and list them in savedFiles.", "default": false }, "saveContentTypes": { "title": "๐ฆ Also download these content types", "type": "array", "description": "Extra content types to download from page links, e.g. image/*, application/zip. Used together with the setting above; files are listed in savedFiles.", "default": [], "items": { "type": "string" } }, "kvDir": { "title": "๐ฆ Storage prefix", "type": "string", "description": "Prefix for saved snapshots, screenshots and files. Illegal characters are replaced. Empty = save no files.", "default": "kv" }, "debugMode": { "title": "โ
Debug details", "type": "boolean", "description": "Add before/after versions of the cleaning step to each row (large rows). For troubleshooting only.", "default": false }, "maxConcurrency": { "title": "โก Parallel pages", "minimum": 1, "type": "integer", "description": "How many pages load at the same time. Higher is faster; be gentle with small sites.", "default": 10 }, "rateLimitDelaySecs": { "title": "โณ Pause between requests (seconds)", "type": "string", "description": "Delay before each request, e.g. 0.1 or 1.5. 0 = as fast as the other limits allow.", "default": "0.1" }, "maxRequestRetries": { "title": "๐ Attempts per page", "minimum": 1, "type": "integer", "description": "Fetch attempts per URL before giving up (3 = one try plus two retries).", "default": 3 }, "requestTimeoutSecs": { "title": "โณ Page load timeout (seconds)", "minimum": 5, "type": "integer", "description": "Maximum wait for a page to respond.", "default": 60 }, "headerAcceptLanguage": { "title": "๐ Accept-Language", "type": "string", "description": "Preferred content language, e.g. en-US,en;q=0.9 or de-DE,de;q=0.9.", "default": "en-US,en;q=0.9" }, "headerDnt": { "title": "๐ง DNT", "type": "string", "description": "Do Not Track value, usually 1. Empty = header omitted.", "default": "1" }, "headerUpgradeInsecureRequests": { "title": "๐ง Upgrade-Insecure-Requests", "type": "string", "description": "Usually 1. Empty = header omitted.", "default": "1" }, "headerUserAgent": { "title": "๐ง User-Agent", "type": "string", "description": "Leave unset to use the built-in desktop identity (best success rate). A custom value is used as given." }, "headerSecChUa": { "title": "๐ง sec-ch-ua", "type": "string", "description": "Client hint. Leave unset to use the built-in value; change it only together with the User-Agent." }, "headerSecChUaMobile": { "title": "๐ง sec-ch-ua-mobile", "type": "string", "description": "Leave unset for the built-in value (desktop). Usually ?0." }, "headerSecChUaPlatform": { "title": "๐ง sec-ch-ua-platform", "type": "string", "description": "Leave unset for the built-in value (desktop)." }, "customHttpHeaders": { "title": "๐ง Extra HTTP headers", "type": "object", "description": "Extra request headers as a JSON object (language, auth, ...). They win over every header above.", "default": {} }, "initialCookies": { "title": "๐ Initial cookies", "type": "array", "description": "Cookies sent with every request and loaded into rendered pages, for sessions or a light login. Each item: {\"name\": \"...\", \"value\": \"...\", \"domain\": \"...\", \"path\": \"/\"}; domain and path are optional." }, "debugLog": { "title": "โ
Verbose log", "type": "boolean", "description": "Show extra notes in the run log about queued and skipped pages. Noisier; for troubleshooting.", "default": false }, "proxyConfiguration": { "title": "๐ Proxy configuration", "type": "object", "description": "Optional network settings for the run. Leave them as they are and the crawler chooses the connection automatically." } } }, "runsResponseSchema": { "type": "object", "properties": { "data": { "type": "object", "properties": { "id": { "type": "string" }, "actId": { "type": "string" }, "userId": { "type": "string" }, "startedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "finishedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "status": { "type": "string", "example": "READY" }, "meta": { "type": "object", "properties": { "origin": { "type": "string", "example": "API" }, "userAgent": { "type": "string" } } }, "stats": { "type": "object", "properties": { "inputBodyLen": { "type": "integer", "example": 2000 }, "rebootCount": { "type": "integer", "example": 0 }, "restartCount": { "type": "integer", "example": 0 }, "resurrectCount": { "type": "integer", "example": 0 }, "computeUnits": { "type": "integer", "example": 0 } } }, "options": { "type": "object", "properties": { "build": { "type": "string", "example": "latest" }, "timeoutSecs": { "type": "integer", "example": 300 }, "memoryMbytes": { "type": "integer", "example": 1024 }, "diskMbytes": { "type": "integer", "example": 2048 } } }, "buildId": { "type": "string" }, "defaultKeyValueStoreId": { "type": "string" }, "defaultDatasetId": { "type": "string" }, "defaultRequestQueueId": { "type": "string" }, "buildNumber": { "type": "string", "example": "1.0.0" }, "containerUrl": { "type": "string" }, "usage": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "integer", "example": 1 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 }, "PROXY_UNBLOCKER_UNITS": { "type": "integer", "example": 0 } } }, "usageTotalUsd": { "type": "number", "example": 0.00005 }, "usageUsd": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "number", "example": 0.00005 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 }, "PROXY_UNBLOCKER_UNITS": { "type": "integer", "example": 0 } } } } } } } } }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for ๐ Website Content Crawler from the options below:
If youโd like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: