Documentation Index
Fetch the complete documentation index at: https://docs.scrapegraphai.com/llms.txt
Use this file to discover all available pages before exploring further.
markdownify endpoint.
Request body
The URL of the page to fetch. Public URLs only — private and internal addresses are rejected.
One or more output formats. Each element is an object with a
type and optional per-format options.type | Options | Description |
|---|---|---|
markdown | mode: "normal" | "reader" | "prune" | Clean markdown conversion. |
html | mode: "normal" | "reader" | "prune" | Raw or processed HTML. |
links | — | All outgoing links. |
images | — | All image URLs. |
summary | — | AI-generated short summary. |
json | prompt, schema | Structured JSON extraction. |
branding | — | Brand colors, typography, and logos. |
screenshot | fullPage, width, height, quality | Screenshot image URL. |
Override auto-detected content type. Common values:
"text/html", "application/pdf".Fetch-time options. All fields are optional.
| Field | Type | Description |
|---|---|---|
mode | string | "auto" (default), "fast", or "js". |
stealth | bool | Residential proxy + anti-bot headers. |
headers | object | Custom HTTP headers. |
cookies | object | Cookies to send with the request. |
scrolls | int | Number of scrolls for infinite-scroll pages (0–100). |
wait | int | Milliseconds to wait after load (0–30000). |
timeout | int | Request timeout in milliseconds (1000–60000). |
country | string | ISO 3166-1 alpha-2 country code for geo-targeted proxy. |
Example request
Example response
| Field | Description |
|---|---|
id | UUID for this scrape call. |
results | Object keyed by format type; each value has a data field shaped per format. |
metadata.contentType | The detected (or overridden) content type. |
Multi-format request
Request any combination of formats in one call:Structured extraction during scrape
Use thejson format to run an LLM extraction on the same fetched page:
results.json.data.