Choose a format
| type | Enable in the job | content value |
|---|---|---|
| raw | Default page content | HTML or other original content string. |
| parsed | parse: true, with a supported parser or parsing_instructions | JSON object. |
| markdown | markdown: true | Markdown text string. |
| png | render: png | Base64-encoded PNG. |
| xhr | xhr: true with rendering | Browser request and response entries. |
Scroll horizontally to read all columns.
Markdown content
markdown: true makes Markdown the default returned content. Use it for text processing while retaining the source URL and retrieval time.
{
"source": "universal",
"url": "https://example.com/",
"markdown": true
}Retrieve multiple types
Enable the required types in the submitted job, then pass a comma-separated type query parameter. Match returned entries by type and page rather than array position; their ordering is not fixed.
: "${CRAWLHUB_USERNAME:?Set your API username}"
: "${CRAWLHUB_PASSWORD:?Set your API password}"
curl --request POST "https://api.crawlhub.ai/v1/queries?type=raw,markdown" \
--user "$CRAWLHUB_USERNAME:$CRAWLHUB_PASSWORD" \
--header "Content-Type: application/json" \
--connect-timeout 15 --max-time 180 \
--data '{
"source": "universal",
"url": "https://example.com/",
"markdown": true
}'GET /v1/queries/{job_id}/results?type=raw,markdownTypes that were not enabled
Realtime leaves out a requested type that the job did not enable. The Push-Pull results endpoint can include that type with empty content. Enable rendering, parsing or capture before submitting the job.
Fetch and XHR output
Network entries include the resource URL, request method, status, headers, payload and response body when captured. These can contain tokens or personal data. Store only fields your application needs and keep captures private.