{
"code": "unknown_parameter",
"title": "Unknown parameter",
"detail": "The request has a parameter this endpoint does not accept: max_depth.",
"status": 400,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
{
"code": "AUTH004",
"detail": "This account has used all its credits for the period. Upgrade or add credits to continue.",
"instance": "/v1",
"status": 402,
"title": "Usage exceeded (AUTH004)",
"type": "https://docs.zenrows.com/api-error-codes#AUTH004"
}
{
"code": "idempotency_request_in_flight",
"title": "Request in flight",
"detail": "A request with this Idempotency-Key is still in progress. Retry when it ends.",
"status": 409,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
{
"code": "invalid_start_url",
"title": "Invalid start URL",
"detail": "The start URL must be a public http or https URL.",
"status": 422,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
{
"code": "too_many_crawls",
"title": "Too many active crawls",
"detail": "Your account already runs 3 active jobs. Wait for one to end, then start the crawl again.",
"status": 429,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
Start a crawl from one URL and return at once with 202 Accepted, the crawl in the body and its path in the Location header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.
{
"code": "unknown_parameter",
"title": "Unknown parameter",
"detail": "The request has a parameter this endpoint does not accept: max_depth.",
"status": 400,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
{
"code": "AUTH004",
"detail": "This account has used all its credits for the period. Upgrade or add credits to continue.",
"instance": "/v1",
"status": 402,
"title": "Usage exceeded (AUTH004)",
"type": "https://docs.zenrows.com/api-error-codes#AUTH004"
}
{
"code": "idempotency_request_in_flight",
"title": "Request in flight",
"detail": "A request with this Idempotency-Key is still in progress. Retry when it ends.",
"status": 409,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
{
"code": "invalid_start_url",
"title": "Invalid start URL",
"detail": "The start URL must be a public http or https URL.",
"status": 422,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
{
"code": "too_many_crawls",
"title": "Too many active crawls",
"detail": "Your account already runs 3 active jobs. Wait for one to end, then start the crawl again.",
"status": 429,
"instance": "urn:zenrows:request:9ac5b40be6127c8809b91babda784059"
}
Makes a retry safe: a retry with the same key and body returns the same crawl and starts no second one. The same key with a different body is 422 idempotency_key_reused.
How many link steps to follow from the start URL. At 1, the links on the start page. Omit it to follow links until max_items or max_pages stops the crawl.
How many link steps to follow from the start URL. At 1, the links on the start page. Omit it to follow links until max_items or max_pages stops the crawl.
Send it as cursor on the next read. Never null while the crawl runs; null once it has ended and its last results were read.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Zenrows","colors":{"primary":"#7C4FE8","light":"#7C4FE8","dark":"#7C4FE8"},"logo":{"light":"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/logo/light.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=8f6dde8ed73ba8072d966337bdf253a4","dark":"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/logo/dark.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=b3a8a23e1f5001a48a7f2f233a95f48c","href":"https://www.zenrows.com/"},"favicon":"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/favicon.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=c3b5ed046f6bbf305fb96d21145e0f4b","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","node","go","php","ruby","java"],"prefill":true}},"appearance":{"default":"dark","strict":true},"navbar":{"links":[{"href":"https://www.zenrows.com/pricing","label":"Pricing"},{"href":"https://app.zenrows.com/login","label":"Log In"}],"primary":{"type":"button","label":"Start free","href":"https://app.zenrows.com/register"}},"footer":{"socials":{"x":"https://twitter.com/zenrowsHQ","linkedin":"https://www.linkedin.com/company/zenrows","github":"https://github.com/ZenRows"},"links":[{"header":"Primitives","items":[{"label":"Fetch","href":"/fetch/api-reference"},{"label":"Extract","href":"/extract/introduction"},{"label":"Crawl","href":"/crawl/introduction"},{"label":"Batch","href":"/batch/introduction"},{"label":"Browser","href":"/browser-sessions/introduction"}]},{"header":"Account","items":[{"label":"Pricing","href":"https://www.zenrows.com/pricing"},{"label":"Dashboard","href":"https://app.zenrows.com/overview"},{"label":"Billing \u0026 Invoices","href":"https://app.zenrows.com/billing/invoices"},{"label":"Support","href":"mailto:success@zenrows.com"},{"label":"Profile \u0026 API Key","href":"https://app.zenrows.com/settings/profile"}]},{"header":"Company","items":[{"label":"Contact","href":"https://www.zenrows.com/contact"},{"label":"Privacy Policy","href":"https://www.zenrows.com/legal/privacy"},{"label":"Legal Pages","href":"https://www.zenrows.com/legal"},{"label":"ISO 27001","href":"https://26062658.fs1.hubspotusercontent-eu1.net/hubfs/26062658/ISO/Cert%20251217%20ENG%2027001.pdf"}]}]},"seo":{"metatags":{"og:type":"website","og:site_name":"Zenrows Docs"}},"fonts":{"heading":{"family":"Rawest","weight":500,"source":"fonts/rawest-medium.woff2","format":"woff2"},"body":{"family":"Manrope"}},"icons":{"library":"tabler"},"styling":{"codeblocks":{"theme":"css-variables"},"latex":true},"integrations":{"amplitude":{"apiKey":"0837a12670049d37ea3cedb1fa3e9fee"},"gtm":{"tagId":"GTM-KBFL4XF"}},"banner":{"content":"Crawl is New: give one start URL and get back the pages behind it. [Get started](/crawl/introduction)","dismissible":true},"contextual":{"options":["copy","view","download-spec","chatgpt","claude","perplexity","mcp",{"title":"Zenrows MCP Server","description":"Set up the MCP server that fetches and extracts web data","icon":"plug","href":"https://docs.zenrows.com/mcp/overview"}],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/zenrows/RA3w4wNbJL_40NF6/images/og/thumbnail-background.png?fit=max\u0026auto=format\u0026n=RA3w4wNbJL_40NF6\u0026q=85\u0026s=8f27d016ed36acecc2570522c52ffbeb","fonts":{"family":"Rawest","source":"fonts/rawest-medium.ttf","format":"ttf"},"eyebrow":{"source":"none"}},"markdown":{"instructions":"The Zenrows HTTP API serves Fetch and Extract (extract=auto) at https://api.zenrows.com/v1/, Crawl at https://api.zenrows.com/v1/crawls, and Batch at https://async.api.zenrows.com/v1. Fetch, Extract, Crawl and Batch are described in OpenAPI 3.1 at https://www.zenrows.com/openapi.json and listed in the RFC 9727 API catalog at https://www.zenrows.com/.well-known/api-catalog. Every endpoint also has its own page under /api-reference with its schema. Use the spec for exact parameter names and types. Crawl's endpoints, parameters and errors are also at https://docs.zenrows.com/crawl/endpoints.md. To call Zenrows from an agent, connect the MCP server at https://mcp.zenrows.com/mcp. To search these docs from an agent, connect the docs MCP server at https://docs.zenrows.com/mcp. Agent skills for Zenrows are published at https://github.com/ZenRows/cli and install with `npx skills add ZenRows/cli`."},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zenrows","hasAudioNarration":false,"actualSubdomain":"zenrows","customDomains":["docs.zenrows.com"],"gitSource":{"type":"github","owner":"zenrows","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aebaf7bbc8c38cd001244d7","collectionId":"18955bb4-39a4-4d1d-9689-721310e84618","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aebaf7bbc8c38cd001244d7"},"feedback":{"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aee3f1b28e8c4ec9b1532ec","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":284},{"language":"default","tag":"Fetch","count":64},{"language":"default","tag":"API","count":63},{"language":"default","tag":"Academy","count":62},{"language":"default","tag":"API Reference","count":45},{"language":"default","tag":"Integrations","count":42},{"language":"default","tag":"SDK","count":39},{"language":"default","tag":"Batch","count":36},{"language":"default","tag":"Features","count":26},{"language":"default","tag":"Get Started","count":25}]},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"email":"success@zenrows.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/zenrows/726e1019fcf2e285/style.css"}],"page":{"pagePath":"api-reference/crawl/start-a-crawl","slug":"/api-reference/crawl/start-a-crawl","pageMetadata":{"title":"Start a crawl","description":"Start a crawl from one URL and return at once with `202 Accepted`, the crawl in the body and its path in the `Location` header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /crawls","href":"/api-reference/crawl/start-a-crawl","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Start a crawl from one URL and return at once with \", _jsx(_components.code, {\n children: \"202 Accepted\"\n }), \", the crawl in the body and its path in the \", _jsx(_components.code, {\n children: \"Location\"\n }), \" header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at \", _jsx(_components.a, {\n href: \"https://docs.zenrows.com/crawl/endpoints#start-a-crawl\",\n children: \"https://docs.zenrows.com/crawl/endpoints#start-a-crawl\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"Start a crawl","description":"Start a crawl from one URL and return at once with `202 Accepted`, the crawl in the body and its path in the `Location` header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /crawls","href":"/api-reference/crawl/start-a-crawl","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/zenrows/8f51f7ed033f4299/zenrows-amplitude-bridge.js","/_mintlify/custom/zenrows/7efdec0cc55fb182/reodev_script.js","/_mintlify/custom/zenrows/decca87420af86bd/api-tags.js","/_mintlify/custom/zenrows/906a678fbb478b2d/banner-fabric.js","/_mintlify/custom/zenrows/c913d17bfecc4418/code-tabs.js","/_mintlify/custom/zenrows/f0179bc249aecf1f/nav-roll.js","/_mintlify/custom/zenrows/1a1dfa0cfedc39c6/o-fabric.js","/_mintlify/custom/zenrows/3cddc4ee2b6b0444/primitive-rive.js","/_mintlify/custom/zenrows/f2442e9fd43476a8/setup-copy.js"],"openApiReferenceData":{"operation":{"operationId":"startCrawl","summary":"Start a crawl","description":"Start a crawl from one URL and return at once with `202 Accepted`, the crawl in the body and its path in the `Location` header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.","tags":["Crawl"],"security":["d361a804-bd0f-48d9-8467-9a3827a84652","91b40179-fd19-4859-babd-d75220b43b15"],"parameters":["26319f18-c976-46ef-b7b0-70e1b672f97e"],"requestBody":"a8ad3374-b0e4-4073-8d12-0a6d55111006","responses":{"202":"abd1cbab-8f3d-43f9-90c2-f6d85fcaf647","400":"eb97e85e-8f37-4503-aada-557edf921e8c","401":"886a08e9-b732-4cee-9f40-d528465febc7","402":"5df67d52-0665-4c3b-bc22-0ab7ae604b19","409":"55ab0434-2d91-4606-b01a-219b93e185cf","422":"b768ba48-98a6-46c9-87c4-77ba8ee39924","429":"1f5e9f50-e8f1-4934-9e07-7d517944d2ee","500":"cc0dbbfc-65e3-49eb-b807-4f3603ad8cb5"},"method":"post","type":"path","servers":["a4c00d02-c047-4d56-b45a-a0b65ecb4fe5"],"path":"/crawls","baseUrlOptions":["https://api.zenrows.com/v1"],"title":"Start a crawl","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","node","go","php","ruby","java"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.url":"https://www.scrapingcourse.com/ecommerce/","body.max_pages":10,"body.include_patterns.items.0":"/product/"}]},"dependencies":{"parameters":{"26319f18-c976-46ef-b7b0-70e1b672f97e":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"isRequired":false,"description":"Makes a retry safe: a retry with the same key and body returns the same crawl and starts no second one. The same key with a different body is `422 idempotency_key_reused`.","uniqueKey":"","typeLabel":"string"},"description":"Makes a retry safe: a retry with the same key and body returns the same crawl and starts no second one. The same key with a different body is `422 idempotency_key_reused`.","example":"catalog-2026-10-09"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"additionalProperties":false,"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"The start URL: a public `http` or `https` URL. The crawl starts on this exact URL and stays on its domain, subdomains included.","isRequired":true,"uniqueKey":"url","typeLabel":"string\u003curi>"},"depth":{"type":"integer","minimum":1,"maximum":100000,"description":"How many link steps to follow from the start URL. At `1`, the links on the start page. Omit it to follow links until `max_items` or `max_pages` stops the crawl.","uniqueKey":"depth","typeLabel":"integer"},"max_items":{"type":"integer","minimum":1,"maximum":100000,"default":100,"description":"Stop after keeping this many URLs.","uniqueKey":"max_items","typeLabel":"integer"},"max_pages":{"type":"integer","minimum":1,"maximum":100000,"default":100,"description":"Stop after fetching this many pages. Caps what the crawl costs. If both limits are reached together, `stop_reason` is `max_pages`.","uniqueKey":"max_pages","typeLabel":"integer"},"include_patterns":{"type":"array","items":{"type":"string","uniqueKey":"include_patterns.items.[INDEX]","typeLabel":"string"},"description":"Keep, and open, only URLs that contain at least one of these texts, such as `/product/`. The start URL is never returned.","uniqueKey":"include_patterns","typeLabel":"string[]"},"exclude_patterns":{"type":"array","items":{"type":"string","uniqueKey":"exclude_patterns.items.[INDEX]","typeLabel":"string"},"description":"Drop URLs that contain any of these texts, even when they match an include pattern.","uniqueKey":"exclude_patterns","typeLabel":"string[]"},"output_format":{"type":"string","enum":["html"],"description":"`html` also returns the HTML of each kept page. Omit it to get URLs only.","uniqueKey":"output_format","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"url":"https://www.scrapingcourse.com/ecommerce/","max_pages":10,"include_patterns":["/product/"]},"examples":{"Example":{"title":"Example","value":{"url":"https://www.scrapingcourse.com/ecommerce/","max_pages":10,"include_patterns":["/product/"]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"abd1cbab-8f3d-43f9-90c2-f6d85fcaf647":{"description":"The crawl started.","headers":{"Location":{"description":"The crawl's path.","schema":{"type":"string","example":"/v1/crawls/c_01M3XP7RZD4JT88F7PNPGBFRAF"}}},"content":{"application/json":{"schema":{"type":"object","description":"A crawl, its coverage so far and one page of results.","properties":{"crawl_id":{"type":"string","uniqueKey":"crawl_id","typeLabel":"string"},"status":{"type":"string","enum":["running","completed","stopped","failed"],"description":"`completed`: nothing was left to open, or a limit was reached (see `stop_reason`). `stopped`: you stopped it. `failed`: see `error`.","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"stop_reason":{"type":"string","enum":["max_items","max_pages","user"],"description":"Why the crawl ended early. Absent when nothing was left to open, and when the crawl failed.","uniqueKey":"stop_reason","typeLabel":"enum\u003cstring>"},"error":{"type":"object","description":"Present only when `status` is `failed`. Older crawls can carry `domain_not_allowed` (the domain was not prepared for Extract).","properties":{"code":{"type":"string","enum":["seed_unreachable","no_items_found","insufficient_credits","internal_error","domain_not_allowed"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"error.detail","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"url":{"type":"string","format":"uri","maxLength":2048,"description":"The start URL: a public `http` or `https` URL. The crawl starts on this exact URL and stays on its domain, subdomains included.","uniqueKey":"url","typeLabel":"string\u003curi>"},"depth":{"type":"integer","minimum":1,"maximum":100000,"description":"How many link steps to follow from the start URL. At `1`, the links on the start page. Omit it to follow links until `max_items` or `max_pages` stops the crawl.","uniqueKey":"depth","typeLabel":"integer"},"max_items":{"type":"integer","minimum":1,"maximum":100000,"default":100,"description":"Stop after keeping this many URLs.","uniqueKey":"max_items","typeLabel":"integer"},"max_pages":{"type":"integer","minimum":1,"maximum":100000,"default":100,"description":"Stop after fetching this many pages. Caps what the crawl costs. If both limits are reached together, `stop_reason` is `max_pages`.","uniqueKey":"max_pages","typeLabel":"integer"},"include_patterns":{"type":"array","items":{"type":"string","uniqueKey":"include_patterns.items.[INDEX]","typeLabel":"string"},"description":"Keep, and open, only URLs that contain at least one of these texts, such as `/product/`. The start URL is never returned.","uniqueKey":"include_patterns","typeLabel":"string[]"},"exclude_patterns":{"type":"array","items":{"type":"string","uniqueKey":"exclude_patterns.items.[INDEX]","typeLabel":"string"},"description":"Drop URLs that contain any of these texts, even when they match an include pattern.","uniqueKey":"exclude_patterns","typeLabel":"string[]"},"output_format":{"type":"string","enum":["html"],"description":"`html` also returns the HTML of each kept page. Omit it to get URLs only.","uniqueKey":"output_format","typeLabel":"enum\u003cstring>"},"discovery":{"type":"array","items":{"type":"string","enum":["links","pagination"],"uniqueKey":"discovery.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"`[\"links\"]`: the crawl follows the links in each page's HTML. Older crawls can also list `pagination`.","uniqueKey":"discovery","typeLabel":"enum\u003cstring>[]"},"coverage":{"type":"object","properties":{"pages_fetched":{"type":"integer","description":"Pages fetched so far, successful or not, at most `max_pages`.","uniqueKey":"coverage.pages_fetched","typeLabel":"integer"},"pages_failed":{"type":"integer","description":"Pages that failed to load.","uniqueKey":"coverage.pages_failed","typeLabel":"integer"},"items_found":{"type":"integer","description":"URLs returned so far, after duplicates and patterns. At most `max_items`.","uniqueKey":"coverage.items_found","typeLabel":"integer"}},"uniqueKey":"coverage","typeLabel":"object"},"duplicates_removed":{"type":"integer","description":"Links met again and dropped. Results never hold a duplicate.","uniqueKey":"duplicates_removed","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"finished_at":{"type":"string","format":"date-time","description":"Absent while the crawl runs.","uniqueKey":"finished_at","typeLabel":"string\u003cdate-time>"},"results":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"A URL the crawl found, normalized: scheme, `www.` and a trailing slash do not make two URLs, and tracking parameters such as `utm_*` are removed.","uniqueKey":"results.items.[INDEX].url","typeLabel":"string\u003curi>"},"content_status":{"type":"string","enum":["pending","fetched","failed"],"description":"With `output_format` only.","uniqueKey":"results.items.[INDEX].content_status","typeLabel":"enum\u003cstring>"},"content_url":{"type":"string","description":"With `output_format` only, once fetched: the path to read the page.","uniqueKey":"results.items.[INDEX].content_url","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object[]"},"next_cursor":{"oneOf":[{"type":"string","description":"Send it as `cursor` on the next read. Never `null` while the crawl runs; `null` once it has ended and its last results were read.","uniqueKey":"next_cursor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send it as `cursor` on the next read. Never `null` while the crawl runs; `null` once it has ended and its last results were read.","uniqueKey":"next_cursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_cursor","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"crawl_id":"c_01M3XP7RZD4JT88F7PNPGBFRAF","status":"running","url":"https://www.scrapingcourse.com/ecommerce/","max_items":100,"max_pages":10,"include_patterns":["/product/"],"exclude_patterns":[],"discovery":["links"],"coverage":{"pages_fetched":0,"pages_failed":0,"items_found":0},"duplicates_removed":0,"created_at":"2026-10-09T09:00:12Z","results":[],"next_cursor":"cur_Y18wMU0zWFA3UlpENEpUODhGN1BOUEdCRlJBRjow"},"examples":{"Example":{"title":"Example","value":{"crawl_id":"c_01M3XP7RZD4JT88F7PNPGBFRAF","status":"running","url":"https://www.scrapingcourse.com/ecommerce/","max_items":100,"max_pages":10,"include_patterns":["/product/"],"exclude_patterns":[],"discovery":["links"],"coverage":{"pages_fetched":0,"pages_failed":0,"items_found":0},"duplicates_removed":0,"created_at":"2026-10-09T09:00:12Z","results":[],"next_cursor":"cur_Y18wMU0zWFA3UlpENEpUODhGN1BOUEdCRlJBRjow"}}},"exampleType":"examples"}},"exampleType":"examples"},"eb97e85e-8f37-4503-aada-557edf921e8c":{"description":"`invalid_request` (the body is not valid JSON, or the `Idempotency-Key` is over 255 characters), `unknown_parameter` (`detail` names it) or `invalid_parameter`. Documented at https://docs.zenrows.com/crawl/endpoints#errors.","content":{"application/problem+json":{"schema":{"type":"object","description":"Zenrows error envelope, sent as `application/problem+json` (RFC 9457 problem details). `code` is the stable identifier to branch on; `type` links to its entry in the catalogue at https://docs.zenrows.com/api-error-codes. Read back from live responses.","properties":{"code":{"type":"string","example":"AUTH002","uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Invalid apikey provided (AUTH002)","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","example":"Invalid API key.","uniqueKey":"detail","typeLabel":"string"},"type":{"type":"string","format":"uri","example":"https://docs.zenrows.com/api-error-codes#AUTH002","uniqueKey":"type","typeLabel":"string\u003curi>"},"instance":{"type":"string","description":"The request path or a request URN. Quote it when reporting a problem.","example":"/v1","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"unknown_parameter","title":"Unknown parameter","detail":"The request has a parameter this endpoint does not accept: max_depth.","status":400,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"},"examples":{"Example":{"title":"Example","value":{"code":"unknown_parameter","title":"Unknown parameter","detail":"The request has a parameter this endpoint does not accept: max_depth.","status":400,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"}}},"exampleType":"examples"}},"exampleType":"examples"},"886a08e9-b732-4cee-9f40-d528465febc7":{"description":"The API key is missing or invalid.","headers":{"X-Request-Id":{"description":"Identifier for this request. Quote it when reporting a problem.","schema":{"type":"string","example":"67fa4e35647515d8ad61bb3ee041e1bb"}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"Zenrows error envelope, sent as `application/problem+json` (RFC 9457 problem details). `code` is the stable identifier to branch on; `type` links to its entry in the catalogue at https://docs.zenrows.com/api-error-codes. Read back from live responses.","properties":{"code":{"type":"string","example":"AUTH002","uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Invalid apikey provided (AUTH002)","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","example":"Invalid API key.","uniqueKey":"detail","typeLabel":"string"},"type":{"type":"string","format":"uri","example":"https://docs.zenrows.com/api-error-codes#AUTH002","uniqueKey":"type","typeLabel":"string\u003curi>"},"instance":{"type":"string","description":"The request path or a request URN. Quote it when reporting a problem.","example":"/v1","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"AUTH002","detail":"Invalid API key.","instance":"/v1","status":401,"title":"Invalid apikey provided (AUTH002)","type":"https://docs.zenrows.com/api-error-codes#AUTH002"},"examples":{"Example":{"title":"Example","value":{"code":"AUTH002","detail":"Invalid API key.","instance":"/v1","status":401,"title":"Invalid apikey provided (AUTH002)","type":"https://docs.zenrows.com/api-error-codes#AUTH002"}}},"exampleType":"examples"}},"exampleType":"examples"},"5df67d52-0665-4c3b-bc22-0ab7ae604b19":{"description":"The account is out of credits, or the plan does not include this capability.","headers":{"X-Request-Id":{"description":"Identifier for this request. Quote it when reporting a problem.","schema":{"type":"string","example":"67fa4e35647515d8ad61bb3ee041e1bb"}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"Zenrows error envelope, sent as `application/problem+json` (RFC 9457 problem details). `code` is the stable identifier to branch on; `type` links to its entry in the catalogue at https://docs.zenrows.com/api-error-codes. Read back from live responses.","properties":{"code":{"type":"string","example":"AUTH002","uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Invalid apikey provided (AUTH002)","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","example":"Invalid API key.","uniqueKey":"detail","typeLabel":"string"},"type":{"type":"string","format":"uri","example":"https://docs.zenrows.com/api-error-codes#AUTH002","uniqueKey":"type","typeLabel":"string\u003curi>"},"instance":{"type":"string","description":"The request path or a request URN. Quote it when reporting a problem.","example":"/v1","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"AUTH004","detail":"This account has used all its credits for the period. Upgrade or add credits to continue.","instance":"/v1","status":402,"title":"Usage exceeded (AUTH004)","type":"https://docs.zenrows.com/api-error-codes#AUTH004"},"examples":{"Example":{"title":"Example","value":{"code":"AUTH004","detail":"This account has used all its credits for the period. Upgrade or add credits to continue.","instance":"/v1","status":402,"title":"Usage exceeded (AUTH004)","type":"https://docs.zenrows.com/api-error-codes#AUTH004"}}},"exampleType":"examples"}},"exampleType":"examples"},"55ab0434-2d91-4606-b01a-219b93e185cf":{"description":"`idempotency_request_in_flight`: a request with this `Idempotency-Key` is still in progress. Retry when it ends.","content":{"application/problem+json":{"schema":{"type":"object","description":"Zenrows error envelope, sent as `application/problem+json` (RFC 9457 problem details). `code` is the stable identifier to branch on; `type` links to its entry in the catalogue at https://docs.zenrows.com/api-error-codes. Read back from live responses.","properties":{"code":{"type":"string","example":"AUTH002","uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Invalid apikey provided (AUTH002)","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","example":"Invalid API key.","uniqueKey":"detail","typeLabel":"string"},"type":{"type":"string","format":"uri","example":"https://docs.zenrows.com/api-error-codes#AUTH002","uniqueKey":"type","typeLabel":"string\u003curi>"},"instance":{"type":"string","description":"The request path or a request URN. Quote it when reporting a problem.","example":"/v1","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"idempotency_request_in_flight","title":"Request in flight","detail":"A request with this Idempotency-Key is still in progress. Retry when it ends.","status":409,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"},"examples":{"Example":{"title":"Example","value":{"code":"idempotency_request_in_flight","title":"Request in flight","detail":"A request with this Idempotency-Key is still in progress. Retry when it ends.","status":409,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"}}},"exampleType":"examples"}},"exampleType":"examples"},"b768ba48-98a6-46c9-87c4-77ba8ee39924":{"description":"`invalid_start_url` (the host is an IP address or a private address, or the URL is over 2,048 characters), `invalid_parameter` or `idempotency_key_reused`.","content":{"application/problem+json":{"schema":{"type":"object","description":"Zenrows error envelope, sent as `application/problem+json` (RFC 9457 problem details). `code` is the stable identifier to branch on; `type` links to its entry in the catalogue at https://docs.zenrows.com/api-error-codes. Read back from live responses.","properties":{"code":{"type":"string","example":"AUTH002","uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Invalid apikey provided (AUTH002)","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","example":"Invalid API key.","uniqueKey":"detail","typeLabel":"string"},"type":{"type":"string","format":"uri","example":"https://docs.zenrows.com/api-error-codes#AUTH002","uniqueKey":"type","typeLabel":"string\u003curi>"},"instance":{"type":"string","description":"The request path or a request URN. Quote it when reporting a problem.","example":"/v1","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"invalid_start_url","title":"Invalid start URL","detail":"The start URL must be a public http or https URL.","status":422,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"},"examples":{"Example":{"title":"Example","value":{"code":"invalid_start_url","title":"Invalid start URL","detail":"The start URL must be a public http or https URL.","status":422,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"}}},"exampleType":"examples"}},"exampleType":"examples"},"1f5e9f50-e8f1-4934-9e07-7d517944d2ee":{"description":"`too_many_crawls`: the account already runs its active jobs (3 by default, shared with Batch). Wait for one to end; the response carries `Retry-After: 30`.","content":{"application/problem+json":{"schema":{"type":"object","description":"Zenrows error envelope, sent as `application/problem+json` (RFC 9457 problem details). `code` is the stable identifier to branch on; `type` links to its entry in the catalogue at https://docs.zenrows.com/api-error-codes. Read back from live responses.","properties":{"code":{"type":"string","example":"AUTH002","uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Invalid apikey provided (AUTH002)","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","example":"Invalid API key.","uniqueKey":"detail","typeLabel":"string"},"type":{"type":"string","format":"uri","example":"https://docs.zenrows.com/api-error-codes#AUTH002","uniqueKey":"type","typeLabel":"string\u003curi>"},"instance":{"type":"string","description":"The request path or a request URN. Quote it when reporting a problem.","example":"/v1","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"too_many_crawls","title":"Too many active crawls","detail":"Your account already runs 3 active jobs. Wait for one to end, then start the crawl again.","status":429,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"},"examples":{"Example":{"title":"Example","value":{"code":"too_many_crawls","title":"Too many active crawls","detail":"Your account already runs 3 active jobs. Wait for one to end, then start the crawl again.","status":429,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"}}},"exampleType":"examples"}},"exampleType":"examples"},"cc0dbbfc-65e3-49eb-b807-4f3603ad8cb5":{"description":"`internal_error`: something failed on our side. Retry later.","content":{"application/problem+json":{"schema":{"type":"object","description":"Zenrows error envelope, sent as `application/problem+json` (RFC 9457 problem details). `code` is the stable identifier to branch on; `type` links to its entry in the catalogue at https://docs.zenrows.com/api-error-codes. Read back from live responses.","properties":{"code":{"type":"string","example":"AUTH002","uniqueKey":"code","typeLabel":"string"},"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Invalid apikey provided (AUTH002)","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","example":"Invalid API key.","uniqueKey":"detail","typeLabel":"string"},"type":{"type":"string","format":"uri","example":"https://docs.zenrows.com/api-error-codes#AUTH002","uniqueKey":"type","typeLabel":"string\u003curi>"},"instance":{"type":"string","description":"The request path or a request URN. Quote it when reporting a problem.","example":"/v1","uniqueKey":"instance","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"internal_error","title":"Internal error","detail":"Something failed on our side. Retry later.","status":500,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"},"examples":{"Example":{"title":"Example","value":{"code":"internal_error","title":"Internal error","detail":"Something failed on our side. Retry later.","status":500,"instance":"urn:zenrows:request:9ac5b40be6127c8809b91babda784059"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"d361a804-bd0f-48d9-8467-9a3827a84652":{"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the `X-API-Key` header.","scopes":[],"schemeName":"apiKeyHeader"}},"91b40179-fd19-4859-babd-d75220b43b15":{"apiKeyQuery":{"type":"apiKey","in":"query","name":"apikey","description":"Fetch, Extract, Crawl and the account endpoint accept the key as the `apikey` query parameter. Keys are per account and self-serve: create one in the Zenrows dashboard (app.zenrows.com), or, for an agent with no human present, `POST https://app.zenrows.com/api/agent/signup`.","scopes":[],"schemeName":"apiKeyQuery"}}},"servers":{"a4c00d02-c047-4d56-b45a-a0b65ecb4fe5":{"url":"https://api.zenrows.com/v1","description":"Fetch and Extract (synchronous)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the `X-API-Key` header.","scopes":[],"schemeName":"apiKeyHeader"},"schema":{"title":"X-API-Key","type":"string","description":"Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the `X-API-Key` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyHeader","name":"X-API-Key"}],"title":"apiKeyHeader"},{"schemes":[{"scheme":{"type":"apiKey","in":"query","name":"apikey","description":"Fetch, Extract, Crawl and the account endpoint accept the key as the `apikey` query parameter. Keys are per account and self-serve: create one in the Zenrows dashboard (app.zenrows.com), or, for an agent with no human present, `POST https://app.zenrows.com/api/agent/signup`.","scopes":[],"schemeName":"apiKeyQuery"},"schema":{"title":"apikey","type":"string","description":"Fetch, Extract, Crawl and the account endpoint accept the key as the `apikey` query parameter. Keys are per account and self-serve: create one in the Zenrows dashboard (app.zenrows.com), or, for an agent with no human present, `POST https://app.zenrows.com/api/agent/signup`.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyQuery","name":"apikey"}],"title":"apiKeyQuery"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"zenrows","siteName":"Zenrows","title":"Start a crawl - Zenrows","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T06:17:12.527Z","originalFileLocation":"api-reference/crawl/start-a-crawl.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Start a crawl from one URL and return at once with 202 Accepted, the crawl in the body and its path in the Location header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Zenrows\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a crawl - Zenrows\">\u003cmeta data-mint-head property=\"og:description\" content=\"Start a crawl from one URL and return at once with 202 Accepted, the crawl in the body and its path in the Location header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Zenrows Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zenrows.mintlify.site/_mintlify/api/og/v2?title=Start+a+crawl\u0026amp;description=Start+a+crawl+from+one+URL+and+return+at+once+with+%60202+Accepted%60%2C+the+crawl+in+the+body+and+its+path+in+the+%60Location%60+header.+Each+page+it+opens+is+one+Fetch+\u0026amp;theme=24d5a8c5249281a2d07cdc1f\u0026amp;signature=0a6c5513cd63a0772aef8870511651a8cfddab73ca59de603821e646b712eafb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Start a crawl - Zenrows\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Start a crawl from one URL and return at once with 202 Accepted, the crawl in the body and its path in the Location header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zenrows.mintlify.site/_mintlify/api/og/v2?title=Start+a+crawl\u0026amp;description=Start+a+crawl+from+one+URL+and+return+at+once+with+%60202+Accepted%60%2C+the+crawl+in+the+body+and+its+path+in+the+%60Location%60+header.+Each+page+it+opens+is+one+Fetch+\u0026amp;theme=24d5a8c5249281a2d07cdc1f\u0026amp;signature=0a6c5513cd63a0772aef8870511651a8cfddab73ca59de603821e646b712eafb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Zenrows\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C4FE8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/crawl/start-a-crawl.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zenrows.com/#organization\",\"name\":\"Zenrows\",\"url\":\"https://docs.zenrows.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/logo/light.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=8f6dde8ed73ba8072d966337bdf253a4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zenrows.com#website\",\"name\":\"Zenrows\",\"url\":\"https://docs.zenrows.com\",\"publisher\":{\"@id\":\"https://docs.zenrows.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl#webpage\",\"url\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl\",\"name\":\"Start a crawl\",\"description\":\"Start a crawl from one URL and return at once with 202 Accepted, the crawl in the body and its path in the Location header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.\",\"dateModified\":\"2026-10-27T06:17:12.527Z\",\"isPartOf\":{\"@id\":\"https://docs.zenrows.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Zenrows\",\"item\":\"https://docs.zenrows.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Start a crawl\",\"item\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl#apireference\",\"headline\":\"Start a crawl\",\"name\":\"Start a crawl\",\"description\":\"Start a crawl from one URL and return at once with 202 Accepted, the crawl in the body and its path in the Location header. Each page it opens is one Fetch request with Adaptive Stealth Mode, billed 1 to 25 credits; failed pages are not billed. Documented at https://docs.zenrows.com/crawl/endpoints#start-a-crawl.\",\"url\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zenrows.com/api-reference/crawl/start-a-crawl#webpage\"},\"dateModified\":\"2026-10-27T06:17:12.527Z\",\"publisher\":{\"@id\":\"https://docs.zenrows.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zenrows.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Zenrows\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Zenrows","nav":{"global":null,"dropdowns":[{"dropdown":"Documentation","icon":"book","description":"Get started with Zenrows' web data infrastructure","tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/first-steps/welcome"}]},{"tab":"API","icon":"server","pages":[{"title":"API","href":"/authentication"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Zenrows API Reference","sidebarTitle":"API Reference","href":"/api-reference"}]},{"group":"Fetch","icon":"chisel","pages":[{"title":"Fetch a page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /","href":"/api-reference/fetch/fetch-a-page"},{"title":"Fetch a page with a POST","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /","href":"/api-reference/fetch/fetch-a-page-with-a-post"},{"title":"Fetch a page with a PUT","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /","href":"/api-reference/fetch/fetch-a-page-with-a-put"}]},{"group":"Extract","icon":"wand","pages":[{"title":"List the domains Extract serves","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/domains","href":"/api-reference/extract/list-the-domains-extract-serves"},{"title":"Ask for a domain to be prepared for Extract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /extract/prepared-domains","href":"/api-reference/extract/ask-for-a-domain-to-be-prepared-for-extract"},{"title":"List the domains your account submitted","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/prepared-domains","href":"/api-reference/extract/list-the-domains-your-account-submitted"},{"title":"Read the monthly preparation allowance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/prepared-domains/allowance","href":"/api-reference/extract/read-the-monthly-preparation-allowance"},{"title":"Track a domain's preparation","description":"How far a submission has got. Branch on `status` (`preparing`, `ready`, `failed`); `state` is the finer-grained step. Costs no credits. Documented at https://docs.zenrows.com/extract/endpoints.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/prepared-domains/{domain}","href":"/api-reference/extract/track-a-domains-preparation"}]},{"group":"Crawl","icon":"spider","tag":"New","pages":[{"title":"Start a crawl","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /crawls","href":"/api-reference/crawl/start-a-crawl"},{"title":"List your crawls","description":"Your crawls, newest first, without their results. Documented at https://docs.zenrows.com/crawl/endpoints#list-your-crawls.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls","href":"/api-reference/crawl/list-your-crawls"},{"title":"Read a crawl and its results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls/{crawl_id}","href":"/api-reference/crawl/read-a-crawl-and-its-results"},{"title":"Download all results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls/{crawl_id}/download","href":"/api-reference/crawl/download-all-results"},{"title":"Read one page's HTML","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls/{crawl_id}/contents/{content_id}","href":"/api-reference/crawl/read-one-pages-html"},{"title":"Stop a crawl","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /crawls/{crawl_id}/stop","href":"/api-reference/crawl/stop-a-crawl"}]},{"group":"Batch","icon":"layers-subtract","pages":[{"title":"Create a batch job (many URLs in one request)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs","href":"/api-reference/batch/create-a-batch-job-many-urls-in-one-request"},{"title":"List batch jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs","href":"/api-reference/batch/list-batch-jobs"},{"title":"Read a job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}","href":"/api-reference/batch/read-a-job"},{"title":"Add URLs to an open job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/tasks","href":"/api-reference/batch/add-urls-to-an-open-job"},{"title":"Close an open job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/close","href":"/api-reference/batch/close-an-open-job"},{"title":"Stop the current run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/stop","href":"/api-reference/batch/stop-the-current-run"},{"title":"Pause the current run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/pause","href":"/api-reference/batch/pause-the-current-run"},{"title":"Resume a paused run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/resume","href":"/api-reference/batch/resume-a-paused-run"},{"title":"Cancel the current run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/cancel","href":"/api-reference/batch/cancel-the-current-run"},{"title":"Run a job again","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/rerun","href":"/api-reference/batch/run-a-job-again"},{"title":"Read a job's results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/results","href":"/api-reference/batch/read-a-jobs-results"},{"title":"Download one task's content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/tasks/{task_id}/content","href":"/api-reference/batch/download-one-tasks-content"},{"title":"List a job's runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs","href":"/api-reference/batch/list-a-jobs-runs"},{"title":"Delete a run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /jobs/{job_id}/runs/{run_id}","href":"/api-reference/batch/delete-a-run"},{"title":"Export a run as a ZIP","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/runs/{run_id}/exports","href":"/api-reference/batch/export-a-run-as-a-zip"},{"title":"Check an export","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs/{run_id}/exports/{export_id}","href":"/api-reference/batch/check-an-export"},{"title":"Set a job's schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /jobs/{job_id}/schedule","href":"/api-reference/batch/set-a-jobs-schedule"},{"title":"Pause or resume a schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/schedule/state","href":"/api-reference/batch/pause-or-resume-a-schedule"},{"title":"Read a job's webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/webhook","href":"/api-reference/batch/read-a-jobs-webhook"},{"title":"Set a job's webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /jobs/{job_id}/webhook","href":"/api-reference/batch/set-a-jobs-webhook"},{"title":"Remove a job's webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /jobs/{job_id}/webhook","href":"/api-reference/batch/remove-a-jobs-webhook"},{"title":"Upload a CSV of URLs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /job_inputs","href":"/api-reference/batch/upload-a-csv-of-urls"},{"title":"Send a test webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webhook/test","href":"/api-reference/batch/send-a-test-webhook"},{"title":"List webhook signing keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /hmac/keys","href":"/api-reference/batch/list-webhook-signing-keys"},{"title":"Start a key rotation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /hmac/keys/rotate","href":"/api-reference/batch/start-a-key-rotation"},{"title":"Cancel a key rotation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /hmac/keys/rotate","href":"/api-reference/batch/cancel-a-key-rotation"},{"title":"Finish a key rotation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /hmac/keys/rotate/finalize","href":"/api-reference/batch/finish-a-key-rotation"}]},{"group":"Account","icon":"user-circle","pages":[{"title":"Read the plan behind the key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /subscriptions/self/details","href":"/api-reference/account/read-the-plan-behind-the-key"}]},{"group":"Onboarding","icon":"key","pages":[{"title":"Get an API key for your agent, no signup required","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/agent/signup","href":"/api-reference/onboarding/get-an-api-key-for-your-agent-no-signup-required"},{"title":"Check whether a person has claimed this account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/agent/account","href":"/api-reference/onboarding/check-whether-a-person-has-claimed-this-account"}]}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]},{"tab":"SDK","icon":"code","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"MCP","icon":"cpu","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Integrations","icon":"puzzle","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Academy","icon":"school","pages":[{"title":"Academy","href":"/academy/introduction"}]}]},{"dropdown":"Blog","icon":"article","description":"Insights and stories from our team about product developments and industry trends.","href":"https://www.zenrows.com/blog"},{"dropdown":"Knowledge e-Books","icon":"bulb","description":"Learn how to extract structured web data at scale.","href":"https://www.zenrows.com/knowledgehub"},{"dropdown":"Zenrows Status","icon":"cloud","description":"Real-time system status and service availability information for all our services.","href":"https://status.zenrows.com/"},{"dropdown":"Legal Pages","icon":"scale","description":"Terms of service, privacy policy, and other legal information governing the use of our services.","href":"https://www.zenrows.com/legal"},{"dropdown":"Changelog","icon":"clock-hour-3","description":"Track all product updates and announcements with our detailed release history.","href":"https://www.zenrows.com/changelog"}]},"basePath":"","title":"Start a crawl - Zenrows","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-BcDCEkh6.js","dist-CwjSCXIK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-eKJ4rcii.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","AssistantPageLink-9EK5IAXV.js"]}