{
"success": false,
"error": "Invalid API key.",
"code": "invalid_api_key"
}
{
"success": false,
"error": "This crawl can use up to 10000 credits (10000 pages at 1 credit each) and your balance is 773. Lower the page limit or add credits.",
"code": "insufficient_credits"
}
{
"success": false,
"error": "This file is 5.0 MB. Uploads are limited to 4 MB, parse bigger documents from a URL instead.",
"code": "file_too_large",
"field": "file"
}
{
"success": false,
"error": "Invalid API key.",
"code": "invalid_api_key"
}
{
"success": false,
"error": "This crawl can use up to 10000 credits (10000 pages at 1 credit each) and your balance is 773. Lower the page limit or add credits.",
"code": "insufficient_credits"
}
{
"success": false,
"error": "This file is 5.0 MB. Uploads are limited to 4 MB, parse bigger documents from a URL instead.",
"code": "file_too_large",
"field": "file"
}
Turn a document into Markdown: send its URL as JSON, or upload it as multipart/form-data in a field named file, with options as JSON in a field named options. For a guide with examples, see Parse.
Authorizations
Authorization
string
header
required
Your API key from the dashboard. It starts with sr-.
Body
multipart/form-dataapplication/json
file
file
required
Up to 4 MB: .pdf, .docx, .doc, .docm, .odt, .rtf, .xlsx, .xls, .xlsm, .xlsb, .ods, .csv, .pptx, .ppt, .pptm, .odp, .epub, .html, .htm or .xhtml.
options
string
Optional: the options as a JSON string, like {"formats":["markdown","summary"]}.
Response
The document as Markdown.
success
boolean
Example:
true
data
object
One page. Only the formats you asked for are present.
Show child attributes
creditsUsed
integer
What this request cost.
warning
string
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"ScreenshotRender Docs","description":"ScreenshotRender is the web API for your agents and apps. Screenshot any website, search the web, and turn any page or document into clean Markdown or structured data. Connect through the MCP server, the SDKs or the API, all with one key.","colors":{"primary":"#16120E","light":"#FFFFFF","dark":"#16120E"},"logo":{"light":"/logo/light.svg","dark":"/logo/dark.svg","href":"https://www.screenshotrender.com"},"favicon":"/favicon.ico","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl"],"autogenerate":false}},"navbar":{"links":[{"href":"https://www.screenshotrender.com/dashboard","label":"Dashboard"},{"href":"mailto:support@screenshotrender.com","label":"Support"},{"href":"https://www.screenshotrender.com/login","label":"Sign Up"}]},"footer":{"socials":{"website":"https://www.screenshotrender.com"},"links":[{"header":"For AI agents","items":[{"label":"API for agents (llms.txt)","href":"https://www.screenshotrender.com/llms.txt"},{"label":"MCP server","href":"/mcp-server"}]},{"header":"Product","items":[{"label":"Playground","href":"https://www.screenshotrender.com/playground"},{"label":"Pricing","href":"https://www.screenshotrender.com/pricing"},{"label":"Dashboard","href":"https://www.screenshotrender.com/dashboard"}]}]},"seo":{"metatags":{"canonical":"https://docs.screenshotrender.com"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Try the search, or start from the [introduction](/introduction)."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"integrations":{"telemetry":{"enabled":false}},"navigation":{"global":{"anchors":[{"anchor":"Playground","icon":"play","href":"https://www.screenshotrender.com/playground"},{"anchor":"Blog","icon":"newspaper","href":"https://www.screenshotrender.com/blog"},{"anchor":"Pricing","icon":"tag","href":"https://www.screenshotrender.com/pricing"},{"anchor":"Free tools","icon":"toolbox","href":"https://www.screenshotrender.com/tools"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4428"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[{"filePath":"style.css","content":"/* latin-ext */\n@font-face {\n font-family: 'Funnel Sans';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/funnelsans/v3/OpNIno8Dg9bX6Bsp3Wq69Tp8fhj6yg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Funnel Sans';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/funnelsans/v3/OpNIno8Dg9bX6Bsp3Wq69Tpyfhg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Funnel Sans';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/funnelsans/v3/OpNIno8Dg9bX6Bsp3Wq69Tp8fhj6yg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Funnel Sans';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/funnelsans/v3/OpNIno8Dg9bX6Bsp3Wq69Tpyfhg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Funnel Sans';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/funnelsans/v3/OpNIno8Dg9bX6Bsp3Wq69Tp8fhj6yg.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Funnel Sans';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/funnelsans/v3/OpNIno8Dg9bX6Bsp3Wq69Tpyfhg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--sr-brand: #ff6a13;--sr-brand-hover: #e85a0a;--sr-ink: #16120e}li.navbar-link a[href*=\"screenshotrender.com/login\"]{background-color:var(--sr-brand);color:#fff}li.navbar-link a[href*=\"screenshotrender.com/login\"]:hover{background-color:var(--sr-brand-hover)}.dark li.navbar-link a[href*=\"screenshotrender.com/login\"]{background-color:var(--sr-brand);color:#fff}li.navbar-link:has(a[href*=\"screenshotrender.com/login\"]){order:99}#sr-cta-widget{margin-top:24px}.sr-cta-box{background:linear-gradient(180deg, rgba(255, 106, 19, 0.05) 0%, rgba(255, 106, 19, 0.02) 100%);border:1px solid rgba(255, 106, 19, 0.18);border-radius:12px;padding:20px}.sr-cta-logo{height:20px;width:auto;object-fit:contain;margin-bottom:12px}.sr-cta-logo-dark{display:none}.dark .sr-cta-logo-light{display:none}.dark .sr-cta-logo-dark{display:block}.sr-cta-title{font-size:18px;font-weight:600;color:#111;margin:0 0 8px 0;line-height:1.3}.sr-cta-description{font-size:13px;line-height:1.5;color:#666;margin:0 0 16px 0}.sr-cta-description strong{color:#333}.sr-cta-buttons{display:flex;flex-direction:column;gap:8px}.sr-cta-btn-primary,.sr-cta-btn-secondary{display:block;text-align:center;font-size:14px;font-weight:500;line-height:1.5;padding:10px 16px;border-radius:16px;text-decoration:none!important;box-shadow:none!important;transition:background-color 0.2s ease, border-color 0.2s ease}.sr-cta-btn-primary{background-color:var(--sr-brand);color:#fff!important;border:none!important}.sr-cta-btn-primary:hover{background-color:var(--sr-brand-hover)}.sr-cta-btn-secondary{background-color:#fff;color:#333!important;border:1px solid #e5e7eb}.sr-cta-btn-secondary:hover{background-color:#f9fafb;border-color:#d1d5db}.dark .sr-cta-box{background:linear-gradient(180deg, rgba(255, 106, 19, 0.09) 0%, rgba(255, 106, 19, 0.04) 100%);border-color:rgba(255, 106, 19, 0.22)}.dark .sr-cta-title{color:#fff}.dark .sr-cta-description{color:#aaa}.dark .sr-cta-description strong{color:#ddd}.dark .sr-cta-btn-secondary{background-color:rgba(255, 255, 255, 0.05);border-color:rgba(255, 255, 255, 0.1);color:#ddd!important}.dark .sr-cta-btn-secondary:hover{background-color:rgba(255, 255, 255, 0.1);border-color:rgba(255, 255, 255, 0.2)}@media (max-width: 1024px){#sr-cta-widget{display:none}}#footer a.max-w-36{max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}#footer div:has(>a.max-w-36){flex-wrap:wrap}.sr-mcp{--sr-text: #262626;--sr-text-muted: rgba(38, 38, 38, 0.56);--sr-surface: #fff;--sr-subtle: rgba(0, 0, 0, 0.02);--sr-brand-soft: rgba(255, 106, 19, 0.05);--sr-border: #ededed;position:relative;margin:20px 0 32px;border:1px solid var(--sr-border);background:var(--sr-surface);color:var(--sr-text)}.dark .sr-mcp{--sr-text: #f5f5f5;--sr-text-muted: rgba(255, 255, 255, 0.56);--sr-surface: #171717;--sr-subtle: rgba(255, 255, 255, 0.02);--sr-brand-soft: rgba(255, 106, 19, 0.09);--sr-border: #2a2a2a}.sr-mcp-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px}.sr-mcp-header h3{margin:0;color:var(--sr-text);font-size:20px;line-height:28px;font-weight:600}.sr-mcp-header p{margin:6px 0 0;color:var(--sr-text-muted);font-size:14px;line-height:20px}.sr-mcp-all{display:inline-flex;flex:none;align-items:center;gap:6px;margin-top:3px;color:var(--sr-text-muted)!important;font-size:13px;font-weight:500;text-decoration:none!important;border:none!important;transition:color 160ms ease}.sr-mcp-all:hover{color:var(--sr-brand)!important}.sr-mcp-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0, 1fr);overflow-x:auto;border-top:1px solid var(--sr-border);border-bottom:1px solid var(--sr-border)}.sr-mcp-tab{display:flex;min-width:0;flex-direction:column;align-items:center;gap:8px;padding:14px 10px;border:0;border-right:1px solid var(--sr-border);background:transparent;color:var(--sr-text);cursor:pointer;text-align:center;transition:background-color 160ms ease}.sr-mcp-tab:last-child{border-right:0}.sr-mcp-tab:hover{background:var(--sr-subtle)}.sr-mcp-tab.is-active{background:var(--sr-brand-soft);box-shadow:inset 0 2px 0 var(--sr-brand)}.sr-mcp-tab:focus-visible{outline:2px solid var(--sr-brand);outline-offset:-2px}.sr-mcp-tab-icon{display:block;width:26px;height:26px;color:var(--sr-text)}.sr-mcp-tab strong{max-width:100%;overflow:hidden;color:var(--sr-text);font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.sr-mcp-tab span{max-width:100%;overflow:hidden;color:var(--sr-text-muted);font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.sr-mcp-panel{display:flex;flex-direction:column;gap:14px;padding:20px 24px 24px}.sr-mcp-panel p{margin:0;color:var(--sr-text-muted);font-size:14px;line-height:21px}.sr-mcp-code{position:relative;display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--sr-border);border-radius:8px;background:var(--sr-subtle)}.sr-mcp-code pre{flex:1;min-width:0;margin:0;padding:0;overflow-x:auto;background:transparent;font-size:13px;line-height:20px;white-space:pre}.sr-mcp-copy{flex:none;padding:4px 10px;border:1px solid var(--sr-border);border-radius:6px;background:var(--sr-surface);color:var(--sr-text-muted);font-size:12px;font-weight:500;cursor:pointer}.sr-mcp-copy:hover{color:var(--sr-text)}.sr-agents{--sr-a-ink: #16120e;--sr-a-ink-80: rgba(22, 18, 14, 0.8);--sr-a-ink-soft: #4a443c;--sr-a-muted: #6b655c;--sr-a-faint: #8a8378;--sr-a-surface: #fbfaf7;--sr-a-line: #e6e2db;--sr-a-line-soft: #efece7;--sr-a-edge: #c4bcb3;--sr-a-card-border: rgba(196, 188, 179, 0.6);--sr-a-bg: #fff;--sr-a-hover: rgba(22, 18, 14, 0.04);--sr-a-press: rgba(0, 0, 0, 0.07);--sr-a-shadow: 0 2px 6px rgba(22, 18, 14, 0.06), 0 18px 44px rgba(22, 18, 14, 0.16);--sr-a-dark-badge: #16120e;display:flex;margin:24px 0 8px;font-family:\"Funnel Sans\", ui-sans-serif, system-ui, sans-serif;-webkit-font-smoothing:antialiased}.dark .sr-agents{--sr-a-ink: #f5f3ef;--sr-a-ink-80: rgba(245, 243, 239, 0.85);--sr-a-ink-soft: #d6d1ca;--sr-a-muted: #a39d94;--sr-a-faint: #8a8378;--sr-a-surface: #1f1c19;--sr-a-line: #34302b;--sr-a-line-soft: #2a2723;--sr-a-edge: #4a443c;--sr-a-card-border: #34302b;--sr-a-bg: #171512;--sr-a-hover: rgba(255, 255, 255, 0.05);--sr-a-press: rgba(255, 255, 255, 0.08);--sr-a-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 18px 44px rgba(0, 0, 0, 0.5);--sr-a-dark-badge: #2e2a25}.sr-agents-anchor{position:relative}.sr-agents button{font-family:inherit;margin:0}.sr-agents svg{flex:none}.sr-agents-trigger{display:inline-flex;height:40px;align-items:center;justify-content:center;gap:10px;padding:0 1.4em 0 8px;border:1px solid var(--sr-a-edge);border-radius:6px;background-color:var(--sr-a-bg);box-shadow:0 1.5px 0 0 var(--sr-a-edge);color:var(--sr-a-ink-80);font-size:14px;font-weight:500;line-height:1;letter-spacing:-0.005em;white-space:nowrap;cursor:pointer;user-select:none;transition:color 150ms, background-color 150ms, border-color 150ms, box-shadow 150ms, translate 150ms}.sr-agents-trigger:hover{translate:0 -1px;color:var(--sr-a-ink);background-image:linear-gradient(var(--sr-a-hover), var(--sr-a-hover));box-shadow:0 2.5px 0 0 var(--sr-a-edge)}.sr-agents-trigger:active{translate:0 0.5px;background-image:linear-gradient(var(--sr-a-press), var(--sr-a-press));box-shadow:0 1px 0 0 var(--sr-a-edge)}.sr-agents-trigger:focus-visible,.sr-agents-tab:focus-visible,.sr-agents-row:focus-visible,.sr-agents-copy:focus-visible{outline:3px solid rgba(255, 106, 19, 0.35);outline-offset:1px}.sr-agents-chevron{width:14px;height:14px;transition:transform 150ms}.sr-agents-chevron.is-open{transform:rotate(180deg)}.sr-agents-stack{display:flex}.sr-agents-stack .sr-agents-badge+.sr-agents-badge{margin-left:-6px}.sr-agents-badge{display:inline-flex;width:28px;height:28px;flex:none;align-items:center;justify-content:center;border-radius:9999px;color:#fff}.sr-agents-badge svg{width:14px;height:14px}.sr-agents-badge.is-small{width:24px;height:24px;box-shadow:0 0 0 2px var(--sr-a-bg)}.sr-agents-badge.is-claude{background-color:#d97757}.sr-agents-badge.is-dark{background-color:var(--sr-a-dark-badge)}.sr-agents-pop{position:absolute;top:calc(100% + 8px);left:50%;z-index:60;width:min(330px, calc(100vw - 32px));translate:-50% 0;color:var(--sr-a-ink);text-align:left}@media (max-width: 640px){.sr-agents-pop{left:0;translate:none}}.sr-agents-card{padding:4px;border:1px solid var(--sr-a-card-border);border-radius:12px;background-color:var(--sr-a-bg);box-shadow:var(--sr-a-shadow);animation:sr-agents-pop-in 140ms ease-out}@keyframes sr-agents-pop-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){.sr-agents-card{animation:none}.sr-agents-trigger:hover,.sr-agents-trigger:active{translate:none}}.sr-agents-tabs{display:flex;gap:2px;padding:3px;border-radius:6px;background-color:var(--sr-a-surface);box-shadow:0 0 0 1px var(--sr-a-line-soft)}.sr-agents-tab{display:flex;height:32px;flex:1;align-items:center;justify-content:center;gap:6px;border:0;border-radius:5px;background:transparent;color:var(--sr-a-muted);font-size:13px;font-weight:500;cursor:pointer;transition:color 150ms, background-color 150ms, box-shadow 150ms}.sr-agents-tab:hover{color:var(--sr-a-ink)}.sr-agents-tab.is-active{background-color:var(--sr-a-bg);color:var(--sr-a-ink);box-shadow:0 0 0 1px var(--sr-a-line), 0 1px 2px rgba(22, 18, 14, 0.05)}.sr-agents-tab svg{width:14px;height:14px}.sr-agents-desc{margin:0;padding:10px 8px 4px;color:var(--sr-a-muted);font-size:12px;line-height:1.375}.sr-agents-list{display:flex;flex-direction:column}.sr-agents-row{display:flex;width:100%;height:44px;align-items:center;gap:10px;padding:0 10px 0 8px;border:0!important;border-radius:6px;background:transparent;color:var(--sr-a-ink)!important;font:inherit;text-align:left;text-decoration:none!important;cursor:pointer}.sr-agents-row:hover{background-color:var(--sr-a-hover)}.sr-agents-text{display:flex;min-width:0;flex:1;flex-direction:column}.sr-agents-name{overflow:hidden;color:var(--sr-a-ink);font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.sr-agents-detail{overflow:hidden;color:var(--sr-a-muted);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.sr-agents-open{display:inline-flex;flex:none;align-items:center;gap:4px;color:var(--sr-a-ink-soft);font-size:13px;font-weight:500;transition:color 150ms}.sr-agents-row:hover .sr-agents-open{color:var(--sr-a-ink)}.sr-agents-open svg{width:12px;height:12px;color:var(--sr-a-faint)}.sr-agents-copy{display:flex;width:100%;align-items:center;justify-content:center;gap:0.45em;margin-top:4px!important;padding:0.8em 1.4em;border:1px solid transparent;border-radius:6px;background-color:var(--sr-a-surface);color:var(--sr-a-ink-soft);font-size:14px;font-weight:500;line-height:1;letter-spacing:-0.005em;white-space:nowrap;cursor:pointer;transition:color 150ms, background-color 150ms}.sr-agents-copy:hover{color:var(--sr-a-ink);background-image:linear-gradient(var(--sr-a-hover), var(--sr-a-hover))}.sr-agents-copy:active{background-image:linear-gradient(var(--sr-a-press), var(--sr-a-press))}.sr-agents-copy svg{width:1em;height:1em}.dark img.sr-mcp-tab-icon[src*=\"agent-clients/cursor.svg\"],.dark img[src*=\"agent-clients/cursor.svg\"]{filter:invert(1) brightness(1.6)}@media (max-width: 640px){.sr-mcp-header{flex-direction:column;gap:8px}}"}]}
{"page":{"pagePath":"api-reference/endpoint/parse","slug":"/api-reference/endpoint/parse","pageMetadata":{"title":"Parse","openapi":"/api-reference/openapi.json POST /parse","description":"Turn a document into Markdown: upload a file (multipart), or send the `url` of a public document (JSON). PDFs are billed 1 credit per page read.","href":"/api-reference/endpoint/parse"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Turn a document into Markdown: upload a file (multipart), or send the \", _jsx(_components.code, {\n children: \"url\"\n }), \" of a public document (JSON). PDFs are billed 1 credit per page read.\"]\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[`Turn a document into Markdown: send its URL as JSON, or upload it as `,_jsx(_components.code,{children:`multipart/form-data`}),` in a field named `,_jsx(_components.code,{children:`file`}),`, with options as JSON in a field named `,_jsx(_components.code,{children:`options`}),`. For a guide with examples, see `,_jsx(_components.a,{href:`/features/parse`,children:`Parse`}),`.`]})}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":{"config":{},"pageMetadata":{"title":"Parse","openapi":"/api-reference/openapi.json POST /parse","description":"Turn a document into Markdown: upload a file (multipart), or send the `url` of a public document (JSON). PDFs are billed 1 credit per page read.","href":"/api-reference/endpoint/parse"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/localhost/60e81057b49fca62/ready-to-build-cta.js"],"openApiReferenceData":{"operation":{"summary":"Parse","description":"Turn a document into Markdown: upload a file (multipart), or send the `url` of a public document (JSON). PDFs are billed 1 credit per page read.","operationId":"parse","tags":["Parse"],"requestBody":"b7486299-e72a-4656-b7ce-e1d7614afbd5","responses":{"200":"bcce3cb1-acfe-4900-b017-fef5be724a14","400":"7a637dfb-3167-4970-b0c7-234f2b319494","401":"51eba5cf-a2f8-4deb-a25e-323aae0a9815","402":"343057b9-d63e-4f30-b954-56757531547d","413":"83ecd471-85d9-45bd-8ec0-a9f3673973b7","415":"83b6a8d8-4e33-4519-a996-c802f30988b9"},"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl -s -X POST \"https://www.screenshotrender.com/api/v1/parse\" \\\n -H \"Authorization: Bearer $SCREENSHOTRENDER_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://arxiv.org/pdf/1706.03762\",\n \"parsers\": [{ \"type\": \"pdf\", \"maxPages\": 2 }]\n }'"},{"lang":"javascript","label":"Node","source":"import ScreenshotRender from \"screenshotrender\";\n\nconst screenshotrender = new ScreenshotRender({ apiKey: \"sr-YOUR-API-KEY\" });\n\nconst paper = await screenshotrender.parse(\"https://arxiv.org/pdf/1706.03762\", {\n parsers: [{ type: \"pdf\", maxPages: 2 }],\n});\nconsole.log(paper.markdown);"},{"lang":"python","label":"Python","source":"from screenshotrender import ScreenshotRender\n\nscreenshotrender = ScreenshotRender(api_key=\"sr-YOUR-API-KEY\")\n\npaper = screenshotrender.parse(\n \"https://arxiv.org/pdf/1706.03762\",\n parsers=[{\"type\": \"pdf\", \"max_pages\": 2}],\n)\nprint(paper.markdown)"},{"lang":"bash","label":"cURL (upload)","source":"curl -s -X POST \"https://www.screenshotrender.com/api/v1/parse\" \\\n -H \"Authorization: Bearer $SCREENSHOTRENDER_API_KEY\" \\\n -F \"file=@report.pdf\""}],"method":"post","type":"path","servers":["fbaeb5f5-4a63-441f-9e7d-d3866b566b24"],"security":["841baa8c-1eeb-4697-b4c8-cf338fc4019f"],"path":"/parse","baseUrlOptions":["https://www.screenshotrender.com/api/v1"],"title":"Parse","codeSamples":[{"label":"cURL","lang":"bash","source":"curl -s -X POST \"https://www.screenshotrender.com/api/v1/parse\" \\\n -H \"Authorization: Bearer $SCREENSHOTRENDER_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://arxiv.org/pdf/1706.03762\",\n \"parsers\": [{ \"type\": \"pdf\", \"maxPages\": 2 }]\n }'"},{"label":"Node","lang":"javascript","source":"import ScreenshotRender from \"screenshotrender\";\n\nconst screenshotrender = new ScreenshotRender({ apiKey: \"sr-YOUR-API-KEY\" });\n\nconst paper = await screenshotrender.parse(\"https://arxiv.org/pdf/1706.03762\", {\n parsers: [{ type: \"pdf\", maxPages: 2 }],\n});\nconsole.log(paper.markdown);"},{"label":"Python","lang":"python","source":"from screenshotrender import ScreenshotRender\n\nscreenshotrender = ScreenshotRender(api_key=\"sr-YOUR-API-KEY\")\n\npaper = screenshotrender.parse(\n \"https://arxiv.org/pdf/1706.03762\",\n parsers=[{\"type\": \"pdf\", \"max_pages\": 2}],\n)\nprint(paper.markdown)"},{"label":"cURL (upload)","lang":"bash","source":"curl -s -X POST \"https://www.screenshotrender.com/api/v1/parse\" \\\n -H \"Authorization: Bearer $SCREENSHOTRENDER_API_KEY\" \\\n -F \"file=@report.pdf\""}],"requestExampleLanguages":["bash"],"requiredOnlyExamples":true,"disableCodeSampleGeneration":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"Up to 4 MB: .pdf, .docx, .doc, .docm, .odt, .rtf, .xlsx, .xls, .xlsm, .xlsb, .ods, .csv, .pptx, .ppt, .pptm, .odp, .epub, .html, .htm or .xhtml.","isRequired":true,"uniqueKey":"file","typeLabel":"file"},"options":{"type":"string","description":"Optional: the options as a JSON string, like `{\"formats\":[\"markdown\",\"summary\"]}`.","uniqueKey":"options","typeLabel":"string"}},"required":["file"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"file":"\u003cstring>","options":"\u003cstring>"}}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"A public document.","example":"https://arxiv.org/pdf/1706.03762","isRequired":true,"uniqueKey":"url","typeLabel":"string"},"parsers":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"pdf","isRequired":true,"uniqueKey":"parsers.items.[INDEX].type","typeLabel":"string"},"maxPages":{"type":"integer","description":"Stop after this many pages (1 credit each).","uniqueKey":"parsers.items.[INDEX].maxPages","typeLabel":"integer"}},"required":["type"],"uniqueKey":"parsers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"parsers","typeLabel":"object[]"},"formats":{"type":"array","description":"Defaults to Markdown.","items":{"oneOf":[{"type":"string","title":"Name","description":"An output format: a name, or an object for the formats that take settings.","enum":["markdown","summary","html","rawHtml","links","images","screenshot","branding"],"uniqueKey":"formats.items.[INDEX].oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Screenshot","description":"An output format: a name, or an object for the formats that take settings.","required":["type"],"properties":{"type":{"type":"string","const":"screenshot","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.1.type","typeLabel":"string"},"fullPage":{"type":"boolean","description":"Capture the whole page, not just the browser window.","default":false,"uniqueKey":"formats.items.[INDEX].oneOf.1.fullPage","typeLabel":"boolean"},"viewport":{"type":"object","description":"The browser window's size in pixels.","properties":{"width":{"type":"integer","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.1.viewport.width","typeLabel":"integer"},"height":{"type":"integer","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.1.viewport.height","typeLabel":"integer"}},"required":["width","height"],"uniqueKey":"formats.items.[INDEX].oneOf.1.viewport","typeLabel":"object"}},"uniqueKey":"formats.items.[INDEX].oneOf.1","typeLabel":"Screenshot · object"},{"type":"object","title":"JSON","description":"An output format: a name, or an object for the formats that take settings.","required":["type"],"properties":{"type":{"type":"string","const":"json","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.2.type","typeLabel":"string"},"prompt":{"type":"string","description":"What to extract, in plain words.","uniqueKey":"formats.items.[INDEX].oneOf.2.prompt","typeLabel":"string"},"schema":{"type":"object","description":"A JSON Schema the result must follow.","uniqueKey":"formats.items.[INDEX].oneOf.2.schema","typeLabel":"object"}},"uniqueKey":"formats.items.[INDEX].oneOf.2","typeLabel":"JSON · object"},{"type":"object","title":"Question","description":"An output format: a name, or an object for the formats that take settings.","required":["type","question"],"properties":{"type":{"type":"string","const":"question","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.3.type","typeLabel":"string"},"question":{"type":"string","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.3.question","typeLabel":"string"}},"uniqueKey":"formats.items.[INDEX].oneOf.3","typeLabel":"Question · object"},{"type":"object","title":"Highlights","description":"An output format: a name, or an object for the formats that take settings.","required":["type","query"],"properties":{"type":{"type":"string","const":"highlights","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.4.type","typeLabel":"string"},"query":{"type":"string","isRequired":true,"uniqueKey":"formats.items.[INDEX].oneOf.4.query","typeLabel":"string"}},"uniqueKey":"formats.items.[INDEX].oneOf.4","typeLabel":"Highlights · object"}],"uniqueKey":"formats.items.[INDEX]","typeLabel":"enum\u003cstring> | Screenshot · object | JSON · object | Question · object | Highlights · object"},"uniqueKey":"formats","typeLabel":"(enum\u003cstring> | Screenshot · object | JSON · object | Question · object | Highlights · object)[]"}},"required":["url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"url":"https://arxiv.org/pdf/1706.03762","parsers":[{"type":"pdf","maxPages":123}],"formats":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"bcce3cb1-acfe-4900-b017-fef5be724a14":{"description":"The document as Markdown.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","description":"One page. Only the formats you asked for are present.","properties":{"markdown":{"type":"string","uniqueKey":"data.markdown","typeLabel":"string"},"summary":{"type":"string","uniqueKey":"data.summary","typeLabel":"string"},"html":{"type":"string","uniqueKey":"data.html","typeLabel":"string"},"rawHtml":{"type":"string","uniqueKey":"data.rawHtml","typeLabel":"string"},"links":{"type":"array","items":{"type":"string","uniqueKey":"data.links.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.links","typeLabel":"string[]"},"images":{"type":"array","items":{"type":"string","uniqueKey":"data.images.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.images","typeLabel":"string[]"},"screenshot":{"type":"string","description":"The image's URL. Images are kept for 30 days.","uniqueKey":"data.screenshot","typeLabel":"string"},"json":{"description":"The structured data from the `json` format.","uniqueKey":"data.json","typeLabel":"any"},"answer":{"type":"string","description":"The answer from the `question` format.","uniqueKey":"data.answer","typeLabel":"string"},"highlights":{"description":"The passages from the `highlights` format.","uniqueKey":"data.highlights","typeLabel":"any"},"branding":{"type":"object","description":"Logo, colors, fonts and the page's design system.","uniqueKey":"data.branding","typeLabel":"object"},"actions":{"type":"object","description":"What `actions` produced, such as `screenshots`.","properties":{"screenshots":{"type":"array","items":{"type":"string","uniqueKey":"data.actions.screenshots.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.actions.screenshots","typeLabel":"string[]"}},"uniqueKey":"data.actions","typeLabel":"object"},"metadata":{"type":"object","description":"What the page says about itself (title, description, Open Graph tags) and how it was loaded.","properties":{"title":{"type":"string","uniqueKey":"data.metadata.title","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.metadata.description","typeLabel":"string"},"language":{"type":"string","uniqueKey":"data.metadata.language","typeLabel":"string"},"sourceURL":{"type":"string","description":"The URL you asked for.","uniqueKey":"data.metadata.sourceURL","typeLabel":"string"},"url":{"type":"string","description":"The URL the page ended up at.","uniqueKey":"data.metadata.url","typeLabel":"string"},"statusCode":{"type":"integer","uniqueKey":"data.metadata.statusCode","typeLabel":"integer"},"contentType":{"type":"string","uniqueKey":"data.metadata.contentType","typeLabel":"string"},"numPages":{"type":"integer","description":"For documents: the pages read.","uniqueKey":"data.metadata.numPages","typeLabel":"integer"},"totalPages":{"type":"integer","description":"For documents: the pages in the file.","uniqueKey":"data.metadata.totalPages","typeLabel":"integer"},"cacheState":{"type":"string","enum":["hit","miss"],"uniqueKey":"data.metadata.cacheState","typeLabel":"enum\u003cstring>"},"cachedAt":{"type":"string","uniqueKey":"data.metadata.cachedAt","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"data.metadata","typeLabel":"object"}},"additionalProperties":true,"uniqueKey":"data","typeLabel":"object"},"creditsUsed":{"type":"integer","description":"What this request cost.","uniqueKey":"creditsUsed","typeLabel":"integer"},"warning":{"type":"string","uniqueKey":"warning","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"markdown":"\u003cstring>","summary":"\u003cstring>","html":"\u003cstring>","rawHtml":"\u003cstring>","links":["\u003cstring>"],"images":["\u003cstring>"],"screenshot":"\u003cstring>","json":"\u003cunknown>","answer":"\u003cstring>","highlights":"\u003cunknown>","branding":{},"actions":{"screenshots":["\u003cstring>"]},"metadata":{"title":"\u003cstring>","description":"\u003cstring>","language":"\u003cstring>","sourceURL":"\u003cstring>","url":"\u003cstring>","statusCode":123,"contentType":"\u003cstring>","numPages":123,"totalPages":123,"cacheState":"hit","cachedAt":"\u003cstring>"}},"creditsUsed":123,"warning":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7a637dfb-3167-4970-b0c7-234f2b319494":{"description":"Something in the request isn't valid. `field` names it, when known.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"What went wrong, in words.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable code to branch on, such as `invalid_request`.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"field":{"type":"string","description":"The request field the error is about, when there is one.","uniqueKey":"field","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"url is required.","code":"invalid_request","field":"url"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"url is required.","code":"invalid_request","field":"url"}}},"exampleType":"examples"}},"exampleType":"examples"},"51eba5cf-a2f8-4deb-a25e-323aae0a9815":{"description":"The API key doesn't match an account.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"What went wrong, in words.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable code to branch on, such as `invalid_request`.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"field":{"type":"string","description":"The request field the error is about, when there is one.","uniqueKey":"field","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Invalid API key.","code":"invalid_api_key"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid API key.","code":"invalid_api_key"}}},"exampleType":"examples"}},"exampleType":"examples"},"343057b9-d63e-4f30-b954-56757531547d":{"description":"The balance can't cover the request.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"What went wrong, in words.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable code to branch on, such as `invalid_request`.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"field":{"type":"string","description":"The request field the error is about, when there is one.","uniqueKey":"field","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"This crawl can use up to 10000 credits (10000 pages at 1 credit each) and your balance is 773. Lower the page limit or add credits.","code":"insufficient_credits"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"This crawl can use up to 10000 credits (10000 pages at 1 credit each) and your balance is 773. Lower the page limit or add credits.","code":"insufficient_credits"}}},"exampleType":"examples"}},"exampleType":"examples"},"83ecd471-85d9-45bd-8ec0-a9f3673973b7":{"description":"The upload is over 4 MB. Parse bigger documents from a URL.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"What went wrong, in words.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable code to branch on, such as `invalid_request`.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"field":{"type":"string","description":"The request field the error is about, when there is one.","uniqueKey":"field","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"This file is 5.0 MB. Uploads are limited to 4 MB, parse bigger documents from a URL instead.","code":"file_too_large","field":"file"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"This file is 5.0 MB. Uploads are limited to 4 MB, parse bigger documents from a URL instead.","code":"file_too_large","field":"file"}}},"exampleType":"examples"}},"exampleType":"examples"},"83b6a8d8-4e33-4519-a996-c802f30988b9":{"description":"The file type isn't supported.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"What went wrong, in words.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable code to branch on, such as `invalid_request`.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"field":{"type":"string","description":"The request field the error is about, when there is one.","uniqueKey":"field","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","code":"\u003cstring>","field":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"841baa8c-1eeb-4697-b4c8-cf338fc4019f":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your API key from the dashboard. It starts with `sr-`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"fbaeb5f5-4a63-441f-9e7d-d3866b566b24":{"url":"https://www.screenshotrender.com/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your API key from the dashboard. It starts with `sr-`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key from the dashboard. It starts with `sr-`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"localhost","siteName":"ScreenshotRender Docs","title":"Parse - ScreenshotRender Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/endpoint/parse.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=\"system\"}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=\"Turn a document into Markdown: upload a file (multipart), or send the url of a public document (JSON). PDFs are billed 1 credit per page read.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ScreenshotRender Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Parse - ScreenshotRender Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Turn a document into Markdown: upload a file (multipart), or send the url of a public document (JSON). PDFs are billed 1 credit per page read.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ScreenshotRender Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.screenshotrender.com/api-reference/endpoint/parse\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Parse - ScreenshotRender Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Turn a document into Markdown: upload a file (multipart), or send the url of a public document (JSON). PDFs are billed 1 credit per page read.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ScreenshotRender Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16120E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.screenshotrender.com/api-reference/endpoint/parse\">\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/parse.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ScreenshotRender Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ScreenshotRender Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/parse.md","siteName":"ScreenshotRender Docs","nav":{"global":{"anchors":[{"anchor":"Playground","icon":"play","href":"https://www.screenshotrender.com/playground"},{"anchor":"Blog","icon":"newspaper","href":"https://www.screenshotrender.com/blog"},{"anchor":"Pricing","icon":"tag","href":"https://www.screenshotrender.com/pricing"},{"anchor":"Free tools","icon":"toolbox","href":"https://www.screenshotrender.com/tools"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API Reference","groups":[{"group":"Using the API","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Scrape Endpoints","pages":[{"title":"Scrape","openapi":"/api-reference/openapi.json POST /scrape","href":"/api-reference/endpoint/scrape"}]},{"group":"Search Endpoints","pages":[{"title":"Search","openapi":"/api-reference/openapi.json POST /search","href":"/api-reference/endpoint/search"}]},{"group":"Map Endpoints","pages":[{"title":"Map","description":"List the URLs on a website, optionally ordered by relevance to a search.","openapi":"/api-reference/openapi.json POST /map","href":"/api-reference/endpoint/map"}]},{"group":"Parse Endpoints","pages":[{"title":"Parse","openapi":"/api-reference/openapi.json POST /parse","href":"/api-reference/endpoint/parse"}]},{"group":"Crawl Endpoints","pages":[{"title":"Crawl","description":"Start a crawl: follow links from a URL and read every page. The crawl runs in the background; check it with `GET /crawl/{id}`. Credits for `limit` pages are reserved when it starts, and what wasn't used is given back when it ends.","openapi":"/api-reference/openapi.json POST /crawl","href":"/api-reference/endpoint/crawl-post"},{"title":"Get Crawl Status","openapi":"/api-reference/openapi.json GET /crawl/{id}","href":"/api-reference/endpoint/crawl-get"},{"title":"Cancel Crawl","openapi":"/api-reference/openapi.json DELETE /crawl/{id}","href":"/api-reference/endpoint/crawl-delete"}]}]},{"tab":"Build with AI","pages":[{"title":"Build with AI","href":"/ai-onboarding"}]}]},"basePath":"","title":"Parse - ScreenshotRender Docs","buildId":"83e45fd41c37","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B_GBwaZK.js","snippetPresets-BXf_MepF.js","utils-CPYWfcm2.js","style-to-object-BY3JEAdk.js","utils-znDTy-dJ.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-o9Wpmqw3.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Y3UkQL1q.js","_Uint8Array-OGR39izJ.js","isObject-FP1Yky1u.js","ApiExamples-CSgpeRtw.js","usePlaygroundInputsStore-Dy043HRx.js","shallow-Su7i7q-L.js","isEqual-CV7P3rsO.js","CodeSnippets-DZmocOep.js","CodeSnippet-CYCRYbBM.js","use-playground-group-access-BgQ5vJ71.js","Page-DvJ69gdY.js","api-description-markdown-Cru6tSmN.js","DynamicMarkdown-KpcDYYp1.js","SectionHeading-DuBwguxY.js","MethodPill-CoWlgq1N.js","getPastedJson-B8K9-Kfb.js","Check2Icon-CXOx5F2n.js","axios-CsQoIw0U.js","Markdown-2bFU5zEf.js","AssistantPageLink-ZMXyG8Ju.js","dist-TYmKq78C.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}