DuckDuckGo Light Knowledge Graph API

When a DuckDuckGo Light search contains knowledge graph, it is parsed and exist within the knowledge_graph object in the JSON output. Knowledge graph can contain title, description, link, and thumbnail.


The API endpoint is https://serpapi.com/search?engine=duckduckgo_light

Head to the playground for a live and interactive demo.

API Examples

Knowledge graph results overview

Knowledge graph results overview

JSON Example

{
  ...
  "knowledge_graph": {
    "title": "Starbucks",
    "description": "Starbucks Corporation is an American multinational chain of coffeehouses and roastery reserves headquartered in Seattle, Washington. It was founded in 1971 by Jerry Baldwin, Zev Siegl, and Gordon Bowker at Seattle's Pike Place Market initially as a coffee bean wholesaler. More at Wikipedia",
    "link": "https://en.wikipedia.org/wiki/Starbucks",
    "thumbnail": "https://i.duckduckgo.com/i/835353ac49017893.png"
  },
  ...
}

JSON structure overview

{
  ...
  "knowledge_graph": {
    "title": "String - Title of the result",
    "description": "String - Description of the result",
    "link": "String - URL to the result",
    "thumbnail": "String - URL of the thumbnail",
  },
  ...
}