Scrape
Fetch clean Markdown, HTML, text, metadata, links and screenshots.
Try on PlaygroundAuthentication
Send your Crawlkit API key directly in the Authorization header.
Authorization: ck_your_api_keyRequest Parameters
Send these JSON body fields in your request payload.
| Name | Type | Description |
|---|---|---|
url | string | Public target URL. |
formats | string[] | Request field. |
Example Request
Use direct HTTP requests against the public API base URL.
Example request
const response = await fetch('https://api.crawlkit.sh/scrape', {
method: 'POST',
headers: {
Authorization: 'ck_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"url": "https://example.com",
"formats": [
"markdown",
"metadata"
]
})
});
console.log(await response.json());Response
1 credit per successful page. Screenshots included. Use Extract for AI processing. Unused reservations are refunded.
Success response (200 OK)
{
"success": true,
"requestId": "example-request-id",
"data": {
"url": "https://example.com",
"finalUrl": "https://example.com/",
"markdown": "# Example Domain",
"creditsUsed": 1
}
}