Convert web content to clean, structured markdown
Parameter | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | The ScrapeGraph API Key. |
websiteUrl | string | Yes | The URL of the webpage to convert to markdown. |
Example Response
request_id
: Unique identifier for tracking your requeststatus
: Current status of the conversionresult
: Object containing the markdown content and metadataerror
: Error message (if any occurred during conversion)Parameter | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | The ScrapeGraph API Key. |
requestId | string | Yes | The request ID associated with the output of a previous searchScraper request. |
AsyncClient
. Hereβs a basic example: