ScrapingDuck API Docs
ScrapingDuck
  1. Scrape
ScrapingDuck API Docs
  • Actions
    • Returns example action objects for each available action.
      GET
  • Browser
    • Executes a list of browser actions.
      POST
    • Fetches the full HTML content of a web page.
      GET
    • Extracts the main article content from a web page.
      GET
  • Devices
    • Gets the list of all available device names.
      GET
    • Gets detailed information for a specific device.
      GET
  • Scrape
    • Fetches the raw HTML source of a web page as a direct text/html response.
      GET
    • Fetches the full scraping result including HTML content and metadata (JSON response).
      GET
    • Extracts the main article content from a web page.
      GET
  • Schemas
    • ActionExecutionMeta
    • BrowserAction
    • BrowserActionResult
    • BrowserActionResultActionExecutionResponse
    • BrowserAutomationRequest
    • DeviceContextOptionsDto
    • DeviceDetailDto
    • ProblemDetails
    • PublicBrowserAutomationRequest
    • ResultData
    • TrafficSource
    • ValidationProblemDetails
    • ViewSettings
ScrapingDuck
  1. Scrape

Fetches the raw HTML source of a web page as a direct text/html response.

GET
https://api.scrapingduck.com/v1/scrape/source
Last modified:2026-02-11 10:03:19
This endpoint returns the raw source code of the page.
Returns the standard HTTP error codes and ProblemDetails JSON on failure, but raw HTML on success.
To perform a fast HTTP fetch (skipping the full browser render), pass disableJavaScript=true in the query string.
Example Request:
GET /scrape/source?url=https://example.com

Request

Authorization
API Key
Add parameter in query
apiKey
Example:
apiKey: ********************
or
Query Params

Responses

🟢200
text/html
OK
🟠400
🟠401
🟠404
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.scrapingduck.com/v1/scrape/source?url&deviceName&locale&timezone&disableResourceExclusion&useAdvancedSpoofing&disableJavaScript&apiKey=<api-key>'
Modified at 2026-02-11 10:03:19
Previous
Gets detailed information for a specific device.
Next
Fetches the full scraping result including HTML content and metadata (JSON response).
Built with