DuckDuckGo Organic Results API
When a DuckDuckGo search contains organic results, they are parsed and exist within the organic_results
array in the JSON output. Organic results can contain position
, title
, link
, date_raw
, date
, thumbnail
, snippet
, favicon
, and sitelinks
.
JSON structure overview
{
...
"organic_results": [
{
"position": "Integer - Position of the organic result on the page",
"title": "String - Title of the organic result",
"link": "String - URL to the organic result",
"date_raw": "String - Raw date from DuckDuckGo of the organic result",
"date": "String - Formatted date from date_raw of the organic result",
"thumbnail": "String - Thumbnail of the organic result",
"snippet": "String - Snippet of the organic result",
"favicon": "String - Favicon of the organic result",
"sitelinks": [
{
"title": "String - Title of the sitelink",
"link": "String - URL to the sitelink",
"snippet": "String - Snippet of the sitelink"
},
...
]
},
...
],
...
}
API Examples
Results for: apple inc
{
...
"organic_results": [
{
"position": 1,
"title": "Apple",
"link": "https://www.apple.com/",
"snippet": "Restrictions and limitations may apply. To access and use all the features of Apple Card, you must add Apple Card to Wallet on an iPhone or iPad with the latest version of iOS or iPadOS. Update to the latest version by going to Settings > General > Software Update. Tap Download and Install. Available for qualifying applicants in the United States.",
"favicon": "https://external-content.duckduckgo.com/ip3/www.apple.com.ico",
"sitelinks": [
{
"title": "Support",
"link": "https://support.apple.com/",
"snippet": "Some counterfeit and third party power adapters and batteries may not be designed properly and could result in safety issues. To ensure you receive a genuine Apple battery during a battery replacement, we recommend visiting an Apple Store or Apple Authorized Service Provider.If you need a replacement adapter to charge your Apple device, we recommend getting an Apple power adapter."
},
{
"title": "Century City",
"link": "https://www.apple.com/retail/centurycity/",
"snippet": "From setting up your device to recovering your Apple ID to replacing a screen, Genius Support has you covered. Get support; Manage your reservations; Sign language interpretation is available at our stores through an on-demand video service, instantly and at no cost to you. An in-person interpreter can be arranged by advanced request for in ..."
},
{
"title": "iPhone",
"link": "https://www.apple.com/iphone/",
"snippet": "Limited‑time offer; subject to change. Additional terms from Apple, Verizon, and Apple's trade‑in partners may apply. Price for iPhone 13 and iPhone 13 mini includes $30 Verizon connectivity discount. Activation required. The Apple One free trial includes only services that you are not currently using through a free trial or a subscription."
},
...
]
},
{
"position": 2,
"title": "Apple Inc. - Wikipedia",
"link": "https://en.wikipedia.org/wiki/Apple_Inc.",
"snippet": "Apple Inc. is an American multinational technology company headquartered in Cupertino, California. Apple is the world's largest technology company by revenue, with US$394.3 billion in 2022 revenue. As of March 2023, Apple is the world's biggest company by market capitalization. As of June ...",
"favicon": "https://external-content.duckduckgo.com/ip3/en.wikipedia.org.ico"
},
{
"position": 3,
"title": "Apple Inc. (AAPL) Stock Price, News, Quote & History - Yahoo Finance",
"link": "https://finance.yahoo.com/quote/AAPL/",
"snippet": "Find the latest Apple Inc. (AAPL) stock quote, history, news and other vital information to help you with your stock trading and investing.",
"favicon": "https://external-content.duckduckgo.com/ip3/finance.yahoo.com.ico"
},
{
"position": 4,
"title": "Apple Inc. | History, Products, Headquarters, & Facts",
"link": "https://www.britannica.com/topic/Apple-Inc",
"date_raw": "2023-05-16T21:58:00.0000000",
"date": "May 16, 2023",
"snippet": "Apple Inc., formerly Apple Computer, Inc., American manufacturer of personal computers, smartphones, tablet computers, computer peripherals, and computer software and one of the most recognizable brands in the world. It was the first successful personal computer company and the popularizer of the graphical user interface. Headquarters are located in Cupertino, California.",
"favicon": "https://external-content.duckduckgo.com/ip3/www.britannica.com.ico"
},
...
]
...
}