---
title: "Start Markdownify"
method: POST
path: "/v1/markdownify"
tags: ["Markdownify"]
---

# Start Markdownify

`POST /v1/markdownify`

## Request

- Base URL: `https://api.scrapegraphai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scrapegraphai.com/v1/markdownify`
- Auth: none declared

## Request body

- MarkdownifyRequest
  - `website_url` string, required: The URL of the website to scrape
  - `render_heavy_js` boolean
  - `mock` boolean
  - `stealth` boolean
  - `branding` boolean
  - `stream` boolean: Whether to return streaming response
  - `country_code` string, nullable: The country code to use for the scrape
  - `wait_ms` integer: The number of milliseconds to wait before scraping the website
  - `headers` object, nullable: Optional headers to send with the request, including cookies and user agent
  - `steps` string[], nullable
  - `webhook_url` string, nullable: Webhook URL to send the job result to

## Response `200`

Successful Response

- CompletedMarkdownifyResponse
  - `request_id` string, required
  - `status` 'queued' | 'processing' | 'completed' | 'failed', required
  - `website_url` string, required
  - `result` string, nullable
  - `error` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api.md) - [All operations](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/revisions/a0e42195429f?raw)
