DuckDuckGo Search Scraper avatar

DuckDuckGo Search Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
DuckDuckGo Search Scraper

DuckDuckGo Search Scraper

A robust, high-performance utility designed for developer automation, data integration, and AI training. Features built-in captcha bypass, headful/headless browser execution, and proxy support to scrape Duckduckgo Search data seamlessly, reliably, and at scale.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Coding Frontned

Coding Frontned

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

What does DuckDuckGo Search Scraper do?

This Actor collects organic search-result titles, destination links, snippets, displayed URL labels, ranks, and available dates from public DuckDuckGo Lite search pages. It helps you gather search results for research and discovery; it also visits accessible public HTTPS result pages to collect their published content and metadata. It does not guarantee a particular number of results.

Why use DuckDuckGo Search Scraper?

Use it to collect and compare public search results across several queries, save result links for later review, or export a bounded set of results for your research workflow. You can run it from the Apify Console, schedule runs, and access results through the dataset or API.

The Actor supports one or several queries, a DuckDuckGo region code, page and result limits, a switch for landing-page details, and an optional proxy configuration. It follows the next-page form provided by DuckDuckGo Lite while respecting the per-query page cap. It does not support result filters or custom sorting.

  1. Open this Actor and go to the Input tab.
  2. Enter either one Search query or a list in Search queries. Set a region and result limits if you need to change the defaults.
  3. Select Start to run the Actor.
  4. Open Results to view the dataset, or use Output summary to see the run status and number of saved results.

Simple search input

This example searches one query and limits the collection to five results from one page:

{
"query": "urban heat island research",
"maxItems": 5,
"maxPages": 1,
"maxTotalItems": 5
}

Multiple queries and pagination

This example searches two topics in the UK English region and allows up to three pages per query, subject to the overall result cap:

{
"queries": ["urban heat islands", "cool roof research"],
"region": "uk-en",
"maxItems": 10,
"maxPages": 3,
"maxTotalItems": 15,
"requestDelayMs": 600
}

Input settings

At least one of query or queries is required. If both are supplied, the Actor searches the entries in queries first and then query; repeated values are collapsed. The combined list can contain at most 10 unique queries. Query text is trimmed, repeated whitespace is collapsed, and each query can contain up to 300 characters.

Search settings

FieldTypeRequired?DefaultWhat it does
queryTextConditionalNoneOne search query. Required when queries is not supplied. Maximum 300 characters.
queriesList of textConditionalNoneOne to ten search queries. Required when query is not supplied. If both fields are present, their unique queries are combined up to 10 total.
regionTextOptionalus-enDuckDuckGo region in lowercase ll-cc form, such as us-en, uk-en, or in-en.

Result limits

FieldTypeRequired?DefaultWhat it does
maxItemsInteger, 1–200Optional20Maximum results collected for each query.
maxPagesInteger, 1–20Optional3Maximum DuckDuckGo Lite pages requested for each query.
maxTotalItemsInteger, 1–500Optional100Maximum results saved across all queries. This overall cap can stop collection before a per-query limit is reached.

Results are deduplicated by destination link within each query. The same destination can appear again for a different query. Reaching a result or page limit is normal completion; the Actor does not guarantee that the requested number of results will be available.

Landing-page details

FieldTypeRequired?DefaultWhat it does
includePageDetailsBooleanOptionaltrueVisit each unique result URL to collect page content and metadata. Set to false for the original search-only behavior.

Detail requests run one at a time, use the same timeout, retry, delay and proxy settings, and are cached by destination URL across queries. Only public HTTPS HTML pages on the default port are supported. Each visited origin must have an accessible, applicable robots policy; redirects are checked against the same rules. The Actor stops requests to an origin after an access or policy boundary. It does not download preview images or recursively crawl links inside result pages.

To collect only the search page:

{
"query": "JavaScript array",
"maxItems": 3,
"maxPages": 1,
"maxTotalItems": 3,
"includePageDetails": false
}

Advanced settings (Developer Options)

FieldTypeRequired?DefaultWhat it does
requestTimeoutSecsInteger, 10–120 secondsOptional20Maximum wait for each search, policy, or landing-page request.
requestDelayMsInteger, 0–5000 millisecondsOptional400Wait between page requests and queries.
maxRequestRetriesInteger, 0–2Optional2Additional attempts for transient network errors. Retries use the same route; access and policy boundaries are not retried.
proxyConfigurationObjectOptionalNone (host network settings)Optional Apify Proxy or custom proxy settings. Supported properties are listed below.

proxyConfiguration accepts these properties:

PropertyTypeRequired?DefaultBounds or format
useApifyProxyBooleanOptionalfalsetrue enables Apify Proxy.
proxyUrlsList of textOptionalNoneCustom HTTP or HTTPS proxy URLs; each entry must be non-empty.
apifyProxyGroupsList of textOptionalNoneApify Proxy group names; each entry must be non-empty. Used with useApifyProxy: true.
apifyProxyCountryTextOptionalNoneUppercase two-letter country code. Used with useApifyProxy: true.

The proxy arrays have no configured item-count limit.

Providing proxyUrls requests the custom proxy route. Without an input proxy, the Actor uses the host's standard HTTP/HTTPS proxy environment settings when present, including NO_PROXY; otherwise it connects directly. This does not enable Apify Proxy. An input proxy takes precedence. If a proxy is requested but a route cannot be created, the run fails rather than switching to direct access.

The input schema rejects unknown fields. There are no public fixture, dummy-data, debug, or diagnostics controls.

What data can the Actor return?

Each dataset item is one organic search result. Its optional pageDetails object contains published information from that result’s landing page. Absent optional values and empty arrays are left out; dates and image dimensions are never guessed.

FieldTypeRequired?Meaning
positionIntegerOptionalRank shown for the result on the search page.
titleTextRequiredResult title.
linkURLRequiredDecoded destination link for the result.
displayedUrlTextOptionalA distinct URL label shown on the search page.
snippetTextOptionalSearch-result snippet, when available.
dateTextOptionalDate or timezone-qualified timestamp when the source value can be interpreted reliably.
dateTextTextOptionalDate text reported by the source, without an inferred timezone.
pageDetailsObjectOptionalPublished content and metadata of the result landing page, described below.

Landing-page output fields

All fields below are optional unless marked otherwise. Item requirements apply only when that array is present.

FieldTypeRequired?Meaning
pageDetails.canonicalUrlURLOptionalCanonical URL explicitly published by the page.
pageDetails.titleTextOptionalFull published page title, preferring Open Graph.
pageDetails.descriptionTextOptionalComplete published metadata description; it can differ from the search snippet.
pageDetails.languageTextOptionalLanguage declared on the HTML document.
pageDetails.siteNameTextOptionalPublished Open Graph website name.
pageDetails.contentTextTextOptionalComplete text from one identified main content root, preserving paragraph/code line breaks and excluding navigation, hidden elements, and footers.
pageDetails.modifiedAtTimestampOptionalPublished modification timestamp with an explicit timezone; distinct from the search result’s date.
pageDetails.headingsList of objectsOptionalOrdered headings within the content root.
pageDetails.headings[].levelInteger, 1–6Required per headingSource HTML heading level.
pageDetails.headings[].textTextRequired per headingFull heading text.
pageDetails.imagesList of objectsOptionalDistinct published Open Graph preview images, which may be website logos rather than subject photographs.
pageDetails.images[].urlURLRequired per imagePublished image URL.
pageDetails.images[].altTextOptionalPublished alternative text.
pageDetails.images[].widthPositive integerOptionalPublished width in pixels.
pageDetails.images[].heightPositive integerOptionalPublished height in pixels.
pageDetails.breadcrumbsList of objectsOptionalOrdered page breadcrumbs declared with schema.org HTML microdata or RDFa.
pageDetails.breadcrumbs[].nameTextRequired per breadcrumbPublished breadcrumb name.
pageDetails.breadcrumbs[].urlURLOptionalPublished breadcrumb destination.
pageDetails.authorsList of objectsOptionalExplicit page author or contributor credits, without inferring authors from site navigation.
pageDetails.authors[].nameTextRequired per creditPublished author or contributor-credit name.
pageDetails.authors[].urlURLOptionalPublished author or contributor-credit link.

The Actor reads public server-rendered HTML and its metadata. It does not execute JavaScript, access login-only sections, parse arbitrary JSON-LD entities, or collect site-specific product/company/profile fields. If no single main content root is identifiable, contentText and headings are omitted. Missing metadata does not itself make a run partial. A failed detail request retains the search result without page details and marks the summary partial.

The following output is illustrative documentation data, not a result from a current run:

{
"position": 1,
"title": "Example urban climate research",
"link": "https://example.org/research/urban-climate",
"displayedUrl": "example.org",
"snippet": "An illustrative summary of public research on urban heat, climate adaptation, and city planning.",
"date": "2026-09-08",
"dateText": "2026-09-08",
"pageDetails": {
"canonicalUrl": "https://example.org/research/urban-climate",
"title": "Example urban climate research",
"description": "A complete introduction to a public urban climate study.",
"language": "en",
"siteName": "Example Research",
"contentText": "Urban climate research\n\nMethods\nThe study measures urban temperature patterns.",
"modifiedAt": "2026-09-08T10:00:00Z",
"headings": [
{
"level": 1,
"text": "Urban climate research"
},
{
"level": 2,
"text": "Methods"
}
],
"images": [
{
"url": "https://example.org/images/climate.png",
"alt": "Urban temperature map",
"width": 1200,
"height": 630
}
],
"breadcrumbs": [
{
"name": "Research",
"url": "https://example.org/research"
},
{
"name": "Urban climate research",
"url": "https://example.org/research/urban-climate"
}
],
"authors": [
{
"name": "Example contributors",
"url": "https://example.org/research/contributors"
}
]
}
}

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Run status and output summary

The run status is based on valid business results whose dataset writes completed:

  • SUCCEEDED means at least one real result was saved and collection completed normally.
  • SUCCEEDED with limited results means at least one result was saved when a collection step or landing-page enrichment failed. The summary marks this with isPartial: true.
  • FAILED means no real results were saved. Empty, blocked, invalid-input, diagnostic-only, or unsuccessful-write runs do not create placeholder results.

The separate Output summary link opens the OUTPUT_SUMMARY record in the run's default Key-value store. It has exactly three fields:

FieldTypeRequired?Meaning
statusTextRequiredSUCCEEDED when at least one real result was saved; otherwise FAILED.
itemsStoredNonnegative integerRequiredNumber of real result writes completed during the run.
isPartialBooleanRequiredtrue when collection or landing-page enrichment failed in a run that saved real results.

Illustrative completed-run summary:

{
"status": "SUCCEEDED",
"itemsStored": 5,
"isPartial": false
}

Tips, access, and support

Start with a small result and page limit, then increase it if you need more coverage. Keep the delay at its default or increase it when making several requests. DuckDuckGo may return fewer results than requested or restrict access; the Actor stops at access challenges and policy boundaries and does not try to bypass them.

Landing-page details add requests and runtime; switch them off when you only need search results. Runtime and optional proxy charges depend on your Apify plan and how you configure a run; check the pricing shown in your account for current costs. This Actor does not set a fixed price. For help, share the run ID and describe the issue through the Actor's support or Issues tab. The Actor is not affiliated with DuckDuckGo; use it in accordance with the source's terms and applicable rules.