DuckDuckGo Search Assist API

When a DuckDuckGo search contains search assist results, they are parsed and exist within the search_assist array in the JSON output. Search assist results can contain answer, expanded_answer, sources, titles, abstracts, domains, urls, organic_word_ngrams, and organic_wiki_entities.

API Examples

Search Assist overview

Search Assist overview

JSON Example

{
  ...
  "search_assist": {
    "answer": "Coffee is primarily grown in a region known as the \"Coffee Belt,\" which lies between 25 degrees north and 30 degrees south of the equator. Major coffee-producing countries include Brazil, Colombia, Vietnam, and Indonesia, among others.",
    "sources": [
      {
        "link": "https://www.peets.com/blogs/peets/the-geography-of-coffee",
        "site": "peets.com",
        "text": "Where Does Coffee Come From? The Geography of Coff..."
      },
      {
        "link": "https://us.moccamaster.com/blogs/blog/what-are-the-main-coffee-growing-regions-of-the-world",
        "site": "us.moccamaster.com",
        "text": "Coffee Regions: Explore the Coffee Growing Regions"
      }
    ],
    "titles": [
      "List of countries by coffee production",
      "Coffee production | Description, Map, Sun-Grown, Shade-Grown ...",
      "How to explore Vietnam's rich coffee culture - National Geographic",
      "Coffea arabica"
    ],
    "abstracts": [
      "This is a list of countries by coffee production, based on data from the Food and Agriculture Organization (FAO) for 2023. This data covers the production of green coffee beans, the primary ingredient in the production of processed coffee.",
      "Coffee production is cultivation of coffee plants, usually done in large commercial operations. The two major species of coffee plants are tropical evergreen shrubs or small trees of African origin and are grown for the seeds, or beans, which are roasted, ground, and sold for brewing coffee.",
      "Born from necessity and ingenuity, Vietnam's growing coffee scene offers immersive tasting experiences for visitors.",
      "Coffea arabica (/ əˈræbɪkə /), also known as the Arabica coffee, is a species of flowering plant in the coffee and madder family Rubiaceae. It is believed to be the first species of coffee to have been cultivated and is the dominant cultivar, representing about 60% of global production.  Coffee produced from the less acidic, more bitter, and more highly caffeinated robusta bean (C . ."
    ],
    "domains": [
      "en.wikipedia.org",
      "www.britannica.com",
      "www.nationalgeographic.com",
      "en.wikipedia.org"
    ],
    "urls": [
      "https://en.wikipedia.org/wiki/List_of_countries_by_coffee_production",
      "https://www.britannica.com/topic/coffee-production",
      "https://www.nationalgeographic.com/travel/article/vietnam-coffee-culture",
      "https://en.wikipedia.org/wiki/Coffea_arabica"
    ],
    "organic_word_ngrams": [
      {
        "count": 43,
        "rank": 0,
        "word_ngram": "coffee"
      },
      ...
    ],
    "organic_wiki_entities": [
      {
        "count": 35,
        "exact_match_count": 23,
        "wiki_entity_name": "Coffee",
        "word_ngrams": [
          "coffee"
        ]
      }
    ]
  },
  ...
}

Search Assist with extended_answer in results

Search Assist with extended_answer in results

JSON Example

{
  ...
  "search_assist": {
    "answer": "Apple Inc. is an American multinational technology company known for its consumer electronics, software, and online services, founded in 1976 by Steve Jobs, Steve Wozniak, and Ronald Wayne. Its popular products include the iPhone, iPad, Mac, and Apple Watch, and it is headquartered in Cupertino, California.",
    "expanded_answer": "## Overview of Apple Inc.\n\nApple Inc. is a leading American multinational technology company, headquartered in Cupertino, California. It was founded on April 1, 1976, by Steve Jobs, Steve Wozniak, and Ronald Wayne. Initially named Apple Computer Company, it was renamed Apple Inc. in 2007 to reflect its broader focus beyond computers.\n\n## Key Products and Services\n\nApple is renowned for its innovative consumer electronics and software. Its main products include:\n\n| Product Category      | Examples                          |\n|-----------------------|-----------------------------------|\n| Smartphones           | iPhone                            |\n| Tablets               | iPad                              |\n| Laptops               | MacBook Air, MacBook Pro         |\n| Wearables             | Apple Watch                       |\n| Home Devices          | Apple TV, HomePod                |\n| Accessories           | AirPods, AirTag                  |\n\nIn addition to hardware, Apple offers various services such as:\n\n| Service Category      | Examples                          |\n|-----------------------|-----------------------------------|\n| Streaming             | Apple Music, Apple TV+           |\n| Cloud Services        | iCloud                            |\n| Payment Services      | Apple Pay                         |\n| App Store             | App distribution platform         |\n\n## Financial Performance\n\nAs of 2025, Apple reported impressive financial figures:\n\n- **Revenue**: $416 billion\n- **Operating Income**: $133 billion\n- **Number of Employees**: 166,000\n\n## Corporate Structure\n\nApple operates globally with approximately 540 retail stores. The company is publicly traded on the Nasdaq under the ticker symbol AAPL. Tim Cook serves as the CEO, and Arthur Levinson is the chairman.\n\nApple continues to be a dominant player in the technology sector, known for its commitment to innovation and customer loyalty.",
    "sources": [
      {
        "link": "https://en.wikipedia.org/wiki/Apple_Inc.",
        "site": "Wikipedia",
        "text": "Apple Inc."
      }
    ]
  },
  ...
}