The Headful Browser API provides high-fidelity crawling using a real headed browser running on dedicated GPU hardware with SOAX residential proxies. It uses advanced human-like behavior simulation to bypass bot-detection systems including Cloudflare, Akamai, DataDome, and PerimeterX.
Cost: 50 credits per URL. Always try the Crawler API first — use the Headful Browser API only when standard crawling is blocked. Failed requests cost 0 credits.
When to Use Headful Browser
Sites with Bot Protection
Use when a site is protected by Cloudflare, Akamai, DataDome, PerimeterX, or similar bot-detection systems that return CAPTCHA or empty responses to standard crawlers.
JavaScript-Heavy SPAs
For single-page applications that require full browser rendering including deferred JavaScript execution, not just basic JS rendering.
E-Commerce & Social Media
Sites with aggressive fingerprinting (e.g., Amazon, LinkedIn, Instagram) that require a realistic browser fingerprint to return content.
Screenshot Capture
Any time you need a visual screenshot of a page for verification or monitoring purposes.
Endpoint
GET https://api.crawleo.dev/headful-browser
Cost: 50 credits per URL
Parameters
Required Headers
string
required
Your Crawleo API key for authentication. Alternatively, use Authorization: Bearer YOUR_API_KEY.Example: x-api-key: YOUR_API_KEY
Required Parameters
string
required
One or more URLs to crawl. Accepts a single URL or a comma-separated list.Examples:
urls=https://example.com
urls=https://example.com,https://example.org
Optional Parameters
string
default:"us"
ISO 3166-1 alpha-2 country code for residential proxy geolocation. Routes requests through a proxy server in the specified country.Supported values: us, gb, de, fr, jp, in, br, ca, au, and more.
string
default:"markdown"
Output format for the crawled page content.
Value
Description
Best For
markdown
Structured markdown (default)
LLMs, RAG pipelines
enhanced_html
Clean HTML without ads/scripts
Processing pipelines
raw_html
Complete original HTML source
Full content preservation
page_text
Plain extracted text
Simple text extraction
boolean
default:"false"
Set to true to capture a full-page screenshot of the rendered page. Screenshot is returned as a URL.
Example Requests
Basic Usage
curl -X GET "https://api.crawleo.dev/headful-browser?urls=https://example.com&output_format=markdown" \ -H "x-api-key: YOUR_API_KEY"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Crawleo","colors":{"primary":"#742dee","light":"#D946EF","dark":"#9665e4"},"logo":{"light":"https://mintcdn.com/crawleo-4bb5ece3/hRI49qJ_s50ijAfJ/images/light%20mode%20logo.svg?fit=max\u0026auto=format\u0026n=hRI49qJ_s50ijAfJ\u0026q=85\u0026s=ffc8396b3e0ddefdb111a00cada7e0a3","dark":"https://mintcdn.com/crawleo-4bb5ece3/hRI49qJ_s50ijAfJ/images/dark%20mode%20logo.svg?fit=max\u0026auto=format\u0026n=hRI49qJ_s50ijAfJ\u0026q=85\u0026s=995e362338ff50e75b8ea82d873ffc4a","href":"https://www.crawleo.dev/"},"favicon":"https://mintcdn.com/crawleo-4bb5ece3/hRI49qJ_s50ijAfJ/images/favicon.svg?fit=max\u0026auto=format\u0026n=hRI49qJ_s50ijAfJ\u0026q=85\u0026s=46a3e4fb0653d07368380a9cea1e37d7","api":{"openapi":"openapi.json","playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["bash","python","javascript"],"prefill":true,"autogenerate":true},"url":"full"},"appearance":{"default":"dark"},"background":{"image":"https://mintcdn.com/crawleo-4bb5ece3/efjQ7oD-hYL1a6vo/images/final_banner.png?fit=max\u0026auto=format\u0026n=efjQ7oD-hYL1a6vo\u0026q=85\u0026s=7d34e0fb8751085bd364bf5c870a518f"},"navbar":{"links":[{"href":"mailto:support@crawleo.dev","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"https://www.crawleo.dev/login"}},"footer":{"socials":{"x":"https://x.com/crawleo_dev","github":"https://github.com/crawleo","linkedin":"https://www.linkedin.com/company/crawleo","website":"https://www.crawleo.dev/"}},"seo":{"metatags":{"robots":"index, follow","googlebot":"index, follow","description":"Crawleo API Documentation - AI-powered web scraping and search API. Extract data from any website with ease.","keywords":"web scraping, API, web crawling, data extraction, search API, MCP, AI agents, API pricing, credits, web crawling API","author":"Crawleo","og:title":"Crawleo Documentation","og:description":"AI-powered web scraping and search API documentation. Learn how to integrate Crawleo into your applications.","og:url":"https://docs.crawleo.dev","og:image":"https://docs.crawleo.dev/images/crawleo_logo-512x512.jpeg","og:site_name":"Crawleo Documentation","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@crawleo_dev","twitter:title":"Crawleo Documentation","twitter:description":"AI-powered web scraping and search API. Extract data from any website with ease.","twitter:image":"https://docs.crawleo.dev/images/crawleo_logo-512x512.jpeg"},"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-C6D6TPHNKL"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Homepage","icon":"house","href":"https://www.crawleo.dev/"},{"anchor":"Dashboard","icon":"gauge","href":"https://www.crawleo.dev/dashboard"},{"anchor":"Pricing","icon":"credit-card","href":"https://www.crawleo.dev/pricing"},{"anchor":"Blog","icon":"pen-to-square","href":"https://www.crawleo.dev/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"crawleo-4bb5ece3","hasAudioNarration":false,"actualSubdomain":"crawleo-4bb5ece3","customDomains":["docs.crawleo.dev"],"gitSource":{"type":"github","owner":"crawleo","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{},"buildId":"6ae94494bd2c59d0bb21e398:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"MCP Integration","count":5},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Search APIs","count":3},{"language":"default","tag":"Crawling APIs","count":2},{"language":"default","tag":"Core Concepts","count":2},{"language":"default","tag":"API Overview","count":1},{"language":"default","tag":"Integrations","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/headful-browser","slug":"/api-reference/endpoint/headful-browser","pageMetadata":{"title":"Headful Browser API","seoTitle":"Crawleo Headful Browser API - Anti-Bot Evasion \u0026 High-Fidelity Web Rendering","description":"Premium headed browser crawling with advanced anti-bot evasion, SOAX residential proxies, screenshot capture, and multiple output formats. Ideal for scraping Cloudflare, Akamai, and DataDome-protected sites.","api":"GET https://api.crawleo.dev/headful-browser","href":"/api-reference/endpoint/headful-browser"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Premium headed browser crawling with advanced anti-bot evasion, SOAX residential proxies, screenshot capture, and multiple output formats. Ideal for scraping Cloudflare, Akamai, and DataDome-protected sites.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,CodeGroup,Expandable,Heading,Info,Note,ParamField,ResponseField,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`The Headful Browser API provides high-fidelity crawling using a `,_jsx(_components.strong,{children:`real headed browser`}),` running on dedicated GPU hardware with `,_jsx(_components.strong,{children:`SOAX residential proxies`}),`. It uses advanced human-like behavior simulation to bypass bot-detection systems including Cloudflare, Akamai, DataDome, and PerimeterX.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cost:`}),` 50 credits per URL. Always try the `,_jsx(_components.a,{href:`/api-reference/endpoint/crawler`,children:`Crawler API`}),` first — use the Headful Browser API only when standard crawling is blocked. Failed requests cost 0 credits.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-use-headful-browser`,children:`When to Use Headful Browser`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Sites with Bot Protection`,icon:`shield`,id:`sites-with-bot-protection`,children:_jsx(_components.p,{children:`Use when a site is protected by Cloudflare, Akamai, DataDome, PerimeterX, or similar bot-detection systems that return CAPTCHA or empty responses to standard crawlers.`})}),_jsx(Accordion,{title:`JavaScript-Heavy SPAs`,icon:`code`,id:`javascript-heavy-spas`,children:_jsx(_components.p,{children:`For single-page applications that require full browser rendering including deferred JavaScript execution, not just basic JS rendering.`})}),_jsx(Accordion,{title:`E-Commerce \u0026 Social Media`,icon:`cart-shopping`,id:`e-commerce-and-social-media`,children:_jsx(_components.p,{children:`Sites with aggressive fingerprinting (e.g., Amazon, LinkedIn, Instagram) that require a realistic browser fingerprint to return content.`})}),_jsx(Accordion,{title:`Screenshot Capture`,icon:`camera`,id:`screenshot-capture`,children:_jsx(_components.p,{children:`Any time you need a visual screenshot of a page for verification or monitoring purposes.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET https://api.crawleo.dev/headful-browser`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cost:`}),` 50 credits per URL`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`required-headers`,children:`Required Headers`}),`\n`,_jsxs(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:[_jsxs(_components.p,{children:[`Your Crawleo API key for authentication. Alternatively, use `,_jsx(_components.code,{children:`Authorization: Bearer YOUR_API_KEY`}),`.`]}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`x-api-key: YOUR_API_KEY`})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`required-parameters`,children:`Required Parameters`}),`\n`,_jsxs(ParamField,{query:`urls`,type:`string`,required:true,id:`param-urls`,children:[_jsx(_components.p,{children:`One or more URLs to crawl. Accepts a single URL or a comma-separated list.`}),_jsx(_components.p,{children:`Examples:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`urls=https://example.com`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`urls=https://example.com,https://example.org`})}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`optional-parameters`,children:`Optional Parameters`}),`\n`,_jsxs(ParamField,{query:`country`,type:`string`,default:`us`,id:`param-country`,children:[_jsx(_components.p,{children:`ISO 3166-1 alpha-2 country code for residential proxy geolocation. Routes requests through a proxy server in the specified country.`}),_jsxs(_components.p,{children:[`Supported values: `,_jsx(_components.code,{children:`us`}),`, `,_jsx(_components.code,{children:`gb`}),`, `,_jsx(_components.code,{children:`de`}),`, `,_jsx(_components.code,{children:`fr`}),`, `,_jsx(_components.code,{children:`jp`}),`, `,_jsx(_components.code,{children:`in`}),`, `,_jsx(_components.code,{children:`br`}),`, `,_jsx(_components.code,{children:`ca`}),`, `,_jsx(_components.code,{children:`au`}),`, and more.`]})]}),`\n`,_jsxs(ParamField,{query:`output_format`,type:`string`,default:`markdown`,id:`param-output-format`,children:[_jsx(_components.p,{children:`Output format for the crawled page content.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Best For`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`markdown`})}),_jsx(_components.td,{children:`Structured markdown (default)`}),_jsx(_components.td,{children:`LLMs, RAG pipelines`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`enhanced_html`})}),_jsx(_components.td,{children:`Clean HTML without ads/scripts`}),_jsx(_components.td,{children:`Processing pipelines`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`raw_html`})}),_jsx(_components.td,{children:`Complete original HTML source`}),_jsx(_components.td,{children:`Full content preservation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`page_text`})}),_jsx(_components.td,{children:`Plain extracted text`}),_jsx(_components.td,{children:`Simple text extraction`})]})]})]})]}),`\n`,_jsx(ParamField,{query:`screenshot`,type:`boolean`,default:`false`,id:`param-screenshot`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`true`}),` to capture a full-page screenshot of the rendered page. Screenshot is returned as a URL.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example Requests`}),`\n`,_jsx(Heading,{level:`3`,id:`basic-usage`,children:`Basic Usage`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.crawleo.dev/headful-browser?urls=https://example.com\u0026output_format=markdown\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`14`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.crawleo.dev/headful-browser\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"markdown\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(data)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`10`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.crawleo.dev/headful-browser?urls=https://example.com\u0026output_format=markdown\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`with-screenshot-\u0026-geo-routing`,children:`With Screenshot \u0026 Geo-Routing`}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.crawleo.dev/headful-browser?urls=https://example.com\u0026output_format=markdown\u0026screenshot=true\u0026country=gb\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`A successful response returns an array of results for each URL:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"markdown\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"# Example Domain`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`This domain is for use in illustrative examples...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"raw_html\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003c!DOCTYPE html>...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enhanced_html\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003chtml>...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example Domain`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`This domain is for use...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"screenshot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://storage.crawleo.dev/screenshots/abc123.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_used\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_remaining\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`49950`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"success\"`}),` on a successful response.`]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`Array of result objects, one per URL.`}),_jsxs(Expandable,{title:`Result object properties`,children:[_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:`The crawled URL.`}),_jsxs(ResponseField,{name:`markdown`,type:`string`,id:`param-markdown`,children:[`Markdown content (if `,_jsx(_components.code,{children:`output_format=markdown`}),`).`]}),_jsxs(ResponseField,{name:`raw_html`,type:`string`,id:`param-raw-html`,children:[`Raw HTML source (if `,_jsx(_components.code,{children:`output_format=raw_html`}),`).`]}),_jsxs(ResponseField,{name:`enhanced_html`,type:`string`,id:`param-enhanced-html`,children:[`Cleaned HTML (if `,_jsx(_components.code,{children:`output_format=enhanced_html`}),`).`]}),_jsxs(ResponseField,{name:`page_text`,type:`string`,id:`param-page-text`,children:[`Plain text content (if `,_jsx(_components.code,{children:`output_format=page_text`}),`).`]}),_jsxs(ResponseField,{name:`screenshot`,type:`string`,id:`param-screenshot-1`,children:[`URL to the captured screenshot image (if `,_jsx(_components.code,{children:`screenshot=true`}),`).`]}),_jsx(ResponseField,{name:`blocked`,type:`boolean`,id:`param-blocked`,children:`Whether the crawl was ultimately blocked. Failed/blocked requests cost 0 credits.`})]})]}),`\n`,_jsx(ResponseField,{name:`credits_used`,type:`integer`,id:`param-credits-used`,children:_jsx(_components.p,{children:`Number of credits consumed by this request (50 per successful URL).`})}),`\n`,_jsx(ResponseField,{name:`credits_remaining`,type:`integer`,id:`param-credits-remaining`,children:_jsx(_components.p,{children:`Credits remaining in your monthly allowance after this request.`})}),`\n`,_jsx(Heading,{level:`2`,id:`mcp-usage`,children:`MCP Usage`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`headful_browser`}),` tool is available when using Crawleo via MCP. AI assistants automatically use it when standard crawling fails:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`headful_browser(url=\"https://protected-site.com\", output_format=\"markdown\", country=\"us\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The MCP tool accepts a `,_jsx(_components.strong,{children:`single URL`}),` (not a comma-separated list). For multiple pages, call the tool once per URL.`]}),`\n`,_jsx(Card,{title:`MCP Integration`,icon:`plug`,href:`/mcp/overview`,children:_jsx(_components.p,{children:`Connect AI assistants like Claude, Cursor, and GitHub Copilot to Crawleo via MCP.`})}),`\n`,_jsx(Heading,{level:`2`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`Success — content returned`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Invalid parameters (missing `,_jsx(_components.code,{children:`urls`}),`, invalid format)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Invalid or missing API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Credits exhausted or concurrent request limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Headful browser service unavailable`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`If the headful browser service is temporarily unavailable, you will receive a `,_jsx(_components.code,{children:`500`}),` response. No credits are charged for failed requests.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Headful Browser API","seoTitle":"Crawleo Headful Browser API - Anti-Bot Evasion \u0026 High-Fidelity Web Rendering","description":"Premium headed browser crawling with advanced anti-bot evasion, SOAX residential proxies, screenshot capture, and multiple output formats. Ideal for scraping Cloudflare, Akamai, and DataDome-protected sites.","api":"GET https://api.crawleo.dev/headful-browser","href":"/api-reference/endpoint/headful-browser"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"When to Use Headful Browser","slug":"when-to-use-headful-browser","depth":2,"children":[]},{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Parameters","slug":"parameters","depth":2,"children":[{"title":"Required Headers","slug":"required-headers","depth":3,"children":[]},{"title":"Required Parameters","slug":"required-parameters","depth":3,"children":[]},{"title":"Optional Parameters","slug":"optional-parameters","depth":3,"children":[]}]},{"title":"Example Requests","slug":"example-requests","depth":2,"children":[{"title":"Basic Usage","slug":"basic-usage","depth":3,"children":[]},{"title":"With Screenshot \u0026 Geo-Routing","slug":"with-screenshot-\u0026-geo-routing","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"MCP Usage","slug":"mcp-usage","depth":2,"children":[]},{"title":"Error Handling","slug":"error-handling","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Headful Browser API","path":"/headful-browser","servers":[{"url":"https://api.crawleo.dev"}],"method":"get","request":{"security":[],"parameters":{"query":{"urls":{"schema":[{"type":"string","description":"One or more URLs to crawl. Accepts a single URL or a comma-separated list. Examples: `urls=https://example.com` `urls=https://example.com,https://example.org`","required":true}]},"country":{"schema":[{"type":"string","description":"ISO 3166-1 alpha-2 country code for residential proxy geolocation. Routes requests through a proxy server in the specified country. Supported values: `us` , `gb` , `de` , `fr` , `jp` , `in` , `br` , `ca` , `au` , and more."}]},"output_format":{"schema":[{"type":"string","description":"Output format for the crawled page content. Value Description Best For `markdown` Structured markdown (default) LLMs, RAG pipelines `enhanced_html` Clean HTML without ads/scripts Processing pipelines `raw_html` Complete original HTML source Full content preservation `page_text` Plain extracted text Simple text extraction"}]},"screenshot":{"schema":[{"type":"boolean","description":"Set to `true` to capture a full-page screenshot of the rendered page. Screenshot is returned as a URL."}]}},"header":{"x-api-key":{"schema":[{"type":"string","description":"Your Crawleo API key for authentication. Alternatively, use `Authorization: Bearer YOUR_API_KEY` . Example: `x-api-key: YOUR_API_KEY`","required":true}]}},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"status":[{"type":"string","description":"`\"success\"` on a successful response."}],"data":[{"type":"array","items":[{"type":"object","properties":{"url":[{"type":"string","description":"The crawled URL."}],"markdown":[{"type":"string","description":"Markdown content (if `output_format=markdown` )."}],"raw_html":[{"type":"string","description":"Raw HTML source (if `output_format=raw_html` )."}],"enhanced_html":[{"type":"string","description":"Cleaned HTML (if `output_format=enhanced_html` )."}],"page_text":[{"type":"string","description":"Plain text content (if `output_format=page_text` )."}],"screenshot":[{"type":"string","description":"URL to the captured screenshot image (if `screenshot=true` )."}],"blocked":[{"type":"boolean","description":"Whether the crawl was ultimately blocked. Failed/blocked requests cost 0 credits."}]}}],"description":"Array of result objects, one per URL."}],"credits_used":[{"type":"integer","description":"Number of credits consumed by this request (50 per successful URL)."}],"credits_remaining":[{"type":"integer","description":"Credits remaining in your monthly allowance after this request."}]}}],"examples":{"example":{"value":{"status":"\u003cstring>","data":[{"url":"\u003cstring>","markdown":"\u003cstring>","raw_html":"\u003cstring>","enhanced_html":"\u003cstring>","page_text":"\u003cstring>","screenshot":"\u003cstring>","blocked":true}],"credits_used":123,"credits_remaining":123}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"crawleo-4bb5ece3","siteName":"Crawleo","title":"Crawleo Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-16T23:48:56.768Z","originalFileLocation":"api-reference/endpoint/headful-browser.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"Premium headed browser crawling with advanced anti-bot evasion, SOAX residential proxies, screenshot capture, and multiple output formats. Ideal for scraping Cloudflare, Akamai, and DataDome-protected sites.\">\u003cmeta data-mint-head name=\"keywords\" content=\"web scraping, API, web crawling, data extraction, search API, MCP, AI agents, API pricing, credits, web crawling API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Crawleo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Crawleo Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"AI-powered web scraping and search API documentation. Learn how to integrate Crawleo into your applications.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Crawleo Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.crawleo.dev/images/crawleo_logo-512x512.jpeg\">\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=\"Crawleo Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"AI-powered web scraping and search API. Extract data from any website with ease.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.crawleo.dev/images/crawleo_logo-512x512.jpeg\">\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/crawleo-4bb5ece3/QuDWDDyu3T3lB3YK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Crawleo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#742dee\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"author\" content=\"Crawleo\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/headful-browser.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.crawleo.dev/#organization\",\"name\":\"Crawleo\",\"url\":\"https://docs.crawleo.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/crawleo-4bb5ece3/hRI49qJ_s50ijAfJ/images/light%20mode%20logo.svg?fit=max\u0026auto=format\u0026n=hRI49qJ_s50ijAfJ\u0026q=85\u0026s=ffc8396b3e0ddefdb111a00cada7e0a3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.crawleo.dev#website\",\"name\":\"Crawleo\",\"url\":\"https://docs.crawleo.dev\",\"publisher\":{\"@id\":\"https://docs.crawleo.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser#webpage\",\"url\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser\",\"name\":\"Headful Browser API\",\"description\":\"Premium headed browser crawling with advanced anti-bot evasion, SOAX residential proxies, screenshot capture, and multiple output formats. Ideal for scraping Cloudflare, Akamai, and DataDome-protected sites.\",\"dateModified\":\"2026-04-16T23:48:56.768Z\",\"isPartOf\":{\"@id\":\"https://docs.crawleo.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Crawling APIs\",\"item\":\"https://docs.crawleo.dev/api-reference/endpoint/crawler\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Headful Browser API\",\"item\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser#apireference\",\"headline\":\"Headful Browser API\",\"name\":\"Headful Browser API\",\"description\":\"Premium headed browser crawling with advanced anti-bot evasion, SOAX residential proxies, screenshot capture, and multiple output formats. Ideal for scraping Cloudflare, Akamai, and DataDome-protected sites.\",\"url\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser\",\"mainEntityOfPage\":{\"@id\":\"https://docs.crawleo.dev/api-reference/endpoint/headful-browser#webpage\"},\"image\":\"https://docs.crawleo.dev/images/crawleo_logo-512x512.jpeg\",\"dateModified\":\"2026-04-16T23:48:56.768Z\",\"publisher\":{\"@id\":\"https://docs.crawleo.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.crawleo.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Crawleo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Crawleo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/headful-browser.md","siteName":"Crawleo","nav":{"global":{"anchors":[{"anchor":"Homepage","icon":"house","href":"https://www.crawleo.dev/"},{"anchor":"Dashboard","icon":"gauge","href":"https://www.crawleo.dev/dashboard"},{"anchor":"Pricing","icon":"credit-card","href":"https://www.crawleo.dev/pricing"},{"anchor":"Blog","icon":"pen-to-square","href":"https://www.crawleo.dev/blog"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction to Crawleo","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","icon":"key","href":"/authentication"},{"title":"Credits \u0026 Pricing","icon":"coins","href":"/credits-pricing"}]},{"group":"API Overview","pages":[{"title":"API Introduction","href":"/api-reference/introduction"}]},{"group":"Search APIs","pages":[{"title":"Bing Search API","api":"GET https://api.crawleo.dev/search","href":"/api-reference/endpoint/search"},{"title":"Google Search API","api":"GET https://api.crawleo.dev/google-search","href":"/api-reference/endpoint/google-search"},{"title":"Google Maps API","api":"GET https://api.crawleo.dev/google-maps","href":"/api-reference/endpoint/google-maps"}]},{"group":"Crawling APIs","pages":[{"title":"Crawler API","description":"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.","api":"GET https://api.crawleo.dev/crawl","href":"/api-reference/endpoint/crawler"},{"title":"Headful Browser API","api":"GET https://api.crawleo.dev/headful-browser","href":"/api-reference/endpoint/headful-browser"}]},{"group":"Core Concepts","pages":[{"title":"Output Formats","description":"Learn about Crawleo's output format options: raw HTML, enhanced HTML, plain text, and Markdown. Choose the best format for your use case with RAG pipelines, LLMs, and AI applications.","icon":"file-code","href":"/concepts/output-formats"},{"title":"Privacy \u0026 Data Handling","icon":"shield-check","href":"/concepts/privacy"}]},{"group":"MCP Integration","pages":[{"title":"MCP Overview","icon":"plug","href":"/mcp/overview"},{"title":"Claude Desktop","icon":"message","href":"/mcp/claude-desktop"},{"title":"Cursor IDE","icon":"arrow-pointer","href":"/mcp/cursor"},{"title":"Windsurf IDE","icon":"water","href":"/mcp/windsurf"},{"title":"GitHub Copilot","icon":"github","href":"/mcp/github-copilot"}]},{"group":"Integrations","pages":[{"title":"LangChain Integration","icon":"link","href":"/integrations/langchain"}]}]}]},"basePath":"","title":"Crawleo Documentation","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js"]}