Scrape a URL

post/v2/scrape

Request

  • Base URL: https://api.deepsfetch.com
  • URL: https://api.deepsfetch.com/v2/scrape
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Request body

asyncboolean
device'desktop' | 'mobile' | 'tablet'

Legacy common option. Not forwarded by the HTML adapter or recognized by the current browser runtime. Do not rely on it to customize execution.

urlstring uri required
formatsstring[]

Use html/markdown on the HTML path. render or screenshot routes to browser runtime supporting html/markdown/links/screenshot. json is a legacy accepted value without implemented JSON extraction.

jsonSchemaobject

Legacy field; structured JSON generation is not implemented by the current scrape adapter/runtime. Use extract or validated templates.

plannedLane'http_basic' | 'cf_browser' | 'unlocker_http' | 'managed_browser'
timeoutMsinteger
waitUntil'domcontentloaded' | 'load' | 'networkidle0' | 'networkidle2'
fullPageboolean
collectionEngine'auto' | 'premium'

Opt in to the independent 1-credit engine. Basic and browser retries included. Premium requires a prior failed offer and explicit 12-credit approval.

engineStrategy'auto' | 'basic' | 'enhanced'
premiumSourceJobIdstring

Response

Completed

idstring required
kind'scrape' | 'extract' | 'search' | 'map' | 'crawl' | 'interact' | 'watch' required
status'queued' | 'running' | 'completed' | 'failed' | 'cancelled' required
resultobject nullable

Provider-specific output. V1 adapter: provider, operation, providerJobId, status, statusUrl, result, meta. Inspect inner status for partial completion; browser shape differs.

createdAtstring date-time required
startedAtstring nullable
completedAtstring nullable
cancelledAtstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.