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; pick the country DuckDuckGo searches from.

POST/v1/run/duckduckgo.search
Verfügbarkeit
100,00%
30d · 1 Aufruf
Anfragen
1
30d
Antwort
2,1s
Median · 30d

Preise und Anbieter

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

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

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-10-19 · 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.

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 the page. 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; pick the country DuckDuckGo searches from. AnyAPI routet jede Anfrage über 4 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 100,0% der DuckDuckGo Suche-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 2,1 Sekunden über 1 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; 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 100,0% der DuckDuckGo Suche-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 2,1 Sekunden über 1 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 4 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.