DuckDuckGo-API

DuckDuckGo-Suche-API

Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; page deeper with page and pick the country DuckDuckGo searches from.

POST/v1/run/duckduckgo.search
Verfügbarkeit
99,91%
30d · 7.638 Aufrufe
Anfragen
7.820
30 T · wöchentlich, letzte 12 Wochen
Antwort
6,7s
Median · 30d

Status

Status wird geladen...

Ausfall-E-Mails für diesen Endpoint erhalten

Alle Endpoints auf der Statusseite ansehen

Preise und Anbieter

Preise der DuckDuckGo-Suche-API: eine API, 3 austauschbare Anbieter

Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.

Ein Anbieter, der als Nicht aktiv markiert ist, hat aufgehört, zuverlässig zu antworten, und wurde aus der Rotation genommen, sodass deine Aufrufe an die anderen gehen. Er kommt von selbst zurück, sobald er wieder zuverlässig antwortet.

Du zahlst
8,50 USD
0,85 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 117 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

DuckDuckGo Suche mit einer Anfrage abrufen

Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.
{
  "data": {
    "items": [
      {
        "displayUrl": "https://example.com/page",
        "domain": "example.com",
        "position": 1,
        "snippet": "A short example description of this item.",
        "title": "Example title",
        "url": "https://example.com/page"
      }
    ],
    "query": "example"
  },
  "found": true,
  "reason": "not_found"
}

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-12-03 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • querystring

    best running shoes

    The DuckDuckGo search query.

  • countryenum

    US

    ISO-3166 alpha-2 country DuckDuckGo searches from, e.g. US, GB, DE: DuckDuckGo's region for that country in its main language (Belgium in Dutch, Canada and the US in English, Switzerland in German, Spain in Spanish). Only the countries DuckDuckGo offers are accepted; every country is served by most sources and US, GB and DE by all of them.

  • limitinteger

    10

    Maximum number of organic results to return (1-10, default 10). DuckDuckGo serves about 10 organic results per page, and some queries carry fewer.

  • pageinteger

    Which page of 10 results to return, starting at 1: page 2 returns results 11-20. Each page is billed as one request. Pages after the first are served only for country US, GB or DE, by the one source that continues each page exactly where the last ended. DuckDuckGo can repeat a result from the previous page, so deduplicate on url, and a limit below 10 drops the rest of that page.

  • safeSearchenum

    How strictly adult content is filtered out of the results: off applies no filter, moderate (the default) applies the search engine's standard filter, and strict filters the most. A stricter level can return fewer results. A source that cannot apply the level you ask for is skipped.

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

each itemdata.items[]

Organic results in DuckDuckGo's ranked order. Ads are not included. Populated whenever the provider has data for the entity.

  • displayUrlstring

    The URL as DuckDuckGo displays it under the title, e.g. a host or a host and path. Its format differs by source. null when the source did not send one.

  • domainstring

    Host of the result URL without a leading www., e.g. runnersworld.com.

  • positioninteger

    1-based rank of the result. On page 2 and later, some sources count from the top of page 1 and others from the top of the page returned. Populated whenever the provider has data for the entity.

  • snippetstring

    Text excerpt DuckDuckGo shows under the result. Populated whenever the provider has data for the entity.

  • titlestring

    Result title as DuckDuckGo shows it. Populated whenever the provider has data for the entity.

  • urlstring

    Destination URL of the result. Populated whenever the provider has data for the entity.

datadata

The organic results, or null when DuckDuckGo returned none.

  • querystring

    The query DuckDuckGo searched.

top level
  • foundboolean

    Whether DuckDuckGo returned organic results for the query.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die DuckDuckGo-Suche-API

Die AnyAPI-DuckDuckGo-Suche-API liefert DuckDuckGo-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/duckduckgo.search. Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; page deeper with page and pick the country DuckDuckGo searches from. AnyAPI routet jede Anfrage über 3 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 0,85 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 99,9% der DuckDuckGo Suche-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 6,7 Sekunden über 7.638 gemessene Aufrufe.

Sie kostet ab 0,85 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; page deeper with page and pick the country DuckDuckGo searches from. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 99,9% der DuckDuckGo Suche-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 6,7 Sekunden über 7.638 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 117 DuckDuckGo-Suche-Aufrufe zu je 0,00085 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 3 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/duckduckgo.search mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.