DuckDuckGo Search API

The DuckDuckGo Search API allows users to integrate DuckDuckGo's search functionality, providing search results for various applications.

About the API: 

The DuckDuckGo Search API is a robust, easy-to-use solution that allows users to seamlessly integrate DuckDuckGo's privacy-focused search functionality into their apps, websites, and tools. Recognized for its commitment to user privacy and lack of personalized tracking, DuckDuckGo offers an alternative to conventional search engines, and the API extends the benefits of its search technology to users looking for a reliable and focused search solution. in privacy.

At its core, the DuckDuckGo Search API makes it easy for users to add DuckDuckGo's search capabilities. This simple interaction allows you to harness the power of DuckDuckGo's search engine without the need for a complex implementation, making it accessible to a wide range of applications and platforms.

An essential feature of DuckDuckGo Search API is its search capabilities. Users can expect up-to-the-minute results, ensuring that the information retrieved is up-to-date and reflects the latest content available on the web. This real-time functionality is particularly valuable for applications and platforms where the timeliness of information is critical.

In conclusion, the DuckDuckGo Search API incorporates the principles of privacy, simplicity, and efficiency in the delivery of search results. By allowing users to seamlessly integrate DuckDuckGo's search engine into their apps, the API offers users a privacy-focused alternative, fostering a more secure and user-friendly online experience. Its capabilities make it a valuable resource for users looking to enhance their applications with a privacy-focused search solution.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Integration of research tools: Seamlessly integrate multiple search engine API into research tools to gather diverse perspectives and comprehensive information.

    Browser extensions: Enhance browser extensions by incorporating the API to allow users to perform multiple searches directly from their browser.

    Information panels: Power dashboards with the ability to pull results from multiple search engines for comprehensive data analysis.

    Content creation tools: Enhance content creation tools by integrating API, allowing users to collect various information and references efficiently.

    Educational Platforms: Integrate the API into educational platforms to help students conduct research with a broader range of search engine results.

     

Are there any limitations to your plans?

1 request per second on all plans.

API Documentation

Endpoints


Find search on DuckDuck Go engine with this tool. Retrieve the first page of results. 



                                                                            
GET https://zylalabs.com/api/3350/duckduckgo+search+api/3626/web+search
                                                                            
                                                                        

Web Search - Endpoint Features

Object Description
q [Required] Enter your search term.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
   "Abstract" : "Manchester is a city and metropolitan borough of Greater Manchester, England, which had an estimated population of 568,996 in 2022. It contributes to the third-most populous metropolitan area in the United Kingdom as a part of Greater Manchester, which has a population of approximately 2.92 million. It is bordered by the Cheshire Plain to the south, the Pennines to the north and east, and the neighbouring city of Salford to the west. The city borders the boroughs of Trafford, Stockport, Tameside, Oldham, Rochdale, Bury and Salford. The history of Manchester began with the civilian settlement associated with the Roman fort of Mamucium or Mancunium, established c. AD 79 on a sandstone bluff near the confluence of the rivers Medlock and Irwell. Throughout the Middle Ages, Manchester remained a manorial township but began to expand \"at an astonishing rate\" around the turn of the 19th century.",
   "AbstractSource" : "Wikipedia",
   "AbstractText" : "Manchester is a city and metropolitan borough of Greater Manchester, England, which had an estimated population of 568,996 in 2022. It contributes to the third-most populous metropolitan area in the United Kingdom as a part of Greater Manchester, which has a population of approximately 2.92 million. It is bordered by the Cheshire Plain to the south, the Pennines to the north and east, and the neighbouring city of Salford to the west. The city borders the boroughs of Trafford, Stockport, Tameside, Oldham, Rochdale, Bury and Salford. The history of Manchester began with the civilian settlement associated with the Roman fort of Mamucium or Mancunium, established c. AD 79 on a sandstone bluff near the confluence of the rivers Medlock and Irwell. Throughout the Middle Ages, Manchester remained a manorial township but began to expand \"at an astonishing rate\" around the turn of the 19th century.",
   "AbstractURL" : "https://en.wikipedia.org/wiki/Manchester",
   "Answer" : "",
   "AnswerType" : "",
   "Definition" : "",
   "DefinitionSource" : "",
   "DefinitionURL" : "",
   "Entity" : "location",
   "Heading" : "Manchester",
   "Image" : "/i/46017d7df927cc94.jpg",
   "ImageHeight" : 270,
   "ImageIsLogo" : 0,
   "ImageWidth" : 404,
   "Infobox" : {
      "content" : [
         {
            "data_type" : "string",
            "label" : "Sovereign state",
            "value" : "United Kingdom",
            "wiki_order" : 0
         },
         {
            "data_type" : "string",
            "label" : "Country",
            "value" : "England",
            "wiki_order" : 1
         },
         {
            "data_type" : "string",
            "label" : "Region",
            "value" : "North West",
            "wiki_order" : 2
         },
         {
            "data_type" : "string",
            "label" : "Ceremonial county and city region",
            "value" : "Greater Manchester",
            "wiki_order" : 3
         },
         {
            "data_type" : "string",
            "label" : "Founded",
            "value" : "1st century AD",
            "wiki_order" : 4
         },
         {
            "data_type" : "string",
            "label" : "Town charter",
            "value" : "1301",
            "wiki_order" : 5
         },
         {
            "data_type" : "string",
            "label" : "City status",
            "value" : "29 March 1853",
            "wiki_order" : 6
         },
         {
            "data_type" : "string",
            "label" : "Metropolitan borough",
            "value" : "1 April 1974",
            "wiki_order" : 7
         },
         {
            "data_type" : "string",
            "label" : "Administrative HQ",
            "value" : "Manchester Town Hall",
            "wiki_order" : 8
         },
         {
            "data_type" : "string",
            "label" : "Type",
            "value" : "Metropolitan borough",
            "wiki_order" : 9
         },
         {
            "data_type" : "string",
            "label" : "Body",
            "value" : "Manchester City Council",
            "wiki_order" : 10
         },
         {
            "data_type" : "string",
            "label" : "Executive",
            "value" : "Leader and cabinet",
            "wiki_order" : 11
         },
         {
            "data_type" : "string",
            "label" : "Control",
            "value" : "Labour",
            "wiki_order" : 12
         },
         {
            "data_type" : "string",
            "label" : "Leader",
            "value" : "Bev Craig (L)",
            "wiki_order" : 13
         },
         {
            "data_type" : "string",
            "label" : "Lord Mayor",
            "value" : "Paul Andrews",
            "wiki_order" : 14
         },
         {
            "data_type" : "string",
            "label" : "Area rank",
            "value" : "204th",
            "wiki_order" : 15
         },
         {
            "data_type" : "string",
            "label" : "Population (mid-2014 est.)",
            "value" : "520,215",
            "wiki_order" : 16
         },
         {
            "data_type" : "string",
            "label" : "Rank",
            "value" : "6th",
            "wiki_order" : 17
         },
         {
            "data_type" : "string",
            "label" : "Demonym(s)",
            "value" : "Mancunian, Manc (colloq.)",
            "wiki_order" : 18
         },
         {
            "data_type" : "string",
            "label" : "Time zone",
            "value" : "GMT (UTC+0)",
            "wiki_order" : 19
         },
         {
            "data_type" : "string",
            "label" : "Summer (DST)",
            "value" : "BST (UTC+1)",
            "wiki_order" : 20
         },
         {
            "data_type" : "string",
            "label" : "Postcode area",
            "value" : "M, WA",
            "wiki_order" : 21
         },
         {
            "data_type" : "string",
            "label" : "Dialling code",
            "value" : "0161",
            "wiki_order" : 22
         },
         {
            "data_type" : "string",
            "label" : "ISO 3166 code",
            "value" : "GB-MAN",
            "wiki_order" : 23
         },
         {
            "data_type" : "string",
            "label" : "GSS code",
            "value" : "E08000003",
            "wiki_order" : 24
         },
         {
            "data_type" : "string",
            "label" : "Website",
            "value" : "[manchester.gov.uk]",
            "wiki_order" : 25
         },
         {
            "data_type" : "twitter_profile",
            "label" : "Twitter profile",
            "value" : "ManCityCouncil",
            "wiki_order" : "102"
         },
         {
            "data_type" : "coordinates",
            "label" : "Coordinates",
            "value" : {
               "altitude" : null,
               "globe" : "http://www.wikidata.org/entity/Q2",
               "latitude" : 53.466666666667,
               "longitude" : -2.2333333333333,
               "precision" : 0.016666666666667
            },
            "wiki_order" : "205"
         },
         {
            "data_type" : "area",
            "label" : "Area",
            "value" : {
               "amount" : "+115.6",
               "unit" : "http://www.wikidata.org/entity/Q712226"
            },
            "wiki_order" : "206"
         },
         {
            "data_type" : "instance",
            "label" : "Instance of",
            "value" : {
               "entity-type" : "item",
               "id" : "Q515",
               "numeric-id" : 515
            },
            "wiki_order" : "207"
         },
         {
            "data_type" : "instance_2",
            "label" : "Instance of",
            "value" : {
               "entity-type" : "item",
               "id" : "Q1549591",
               "numeric-id" : 1549591
            },
            "wiki_order" : "207"
         },
         {
            "data_type" : "instance_3",
            "label" : "Instance of",
            "value" : {
               "entity-type" : "item",
               "id" : "Q7897276",
               "numeric-id" : 7897276
            },
            "wiki_order" : "207"
         },
         {
            "data_type" : "official_website",
            "label" : "Official Website",
            "value" : "https://cms.manchester.gov.uk/",
            "wiki_order" : "208"
         },
         {
            "data_type" : "wd_description",
            "label" : "Wikidata description",
            "value" : "major city in Greater Manchester, England, UK",
            "wiki_order" : "210"
         },
         {
            "data_type" : "wikidata_id",
            "label" : "Wikidata id",
            "value" : "Q18125",
            "wiki_order" : "211"
         },
         {
            "data_type" : "wikidata_label",
            "label" : "Wikidata label",
            "value" : "Manchester",
            "wiki_order" : "212"
         },
         {
            "data_type" : "wikidata_aliases",
            "label" : "Wikidata aliases",
            "value" : [
               "Manchester",
               "Manchester, England",
               "Manchester, UK",
               "Cottonopolis",
               "Warehouse City",
               "Madchester",
               "Capital of the North",
               "Manchester, Lancashire"
            ],
            "wiki_order" : "213"
         },
         {
            "data_type" : "wiki_maps_trigger",
            "value" : "/local.js?&ha=1&lla=-2.2333333333333,53.466666666667:100&heading=Manchester&q=manchester",
            "wiki_order" : 999
         }
      ],
      "meta" : [
         {
            "data_type" : "string",
            "label" : "article_title",
            "value" : "Manchester"
         },
         {
            "data_type" : "string",
            "label" : "template_name",
            "value" : "infobox settlement"
         }
      ]
   },
   "OfficialDomain" : "manchester.gov.uk",
   "...
                                                                                                                                                                                                                    
                                                                                                    

Web Search - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3350/duckduckgo+search+api/3626/web+search?q=manchester' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the DuckDuckGo Search API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

DuckDuckGo Search API FAQs

To use this API, users must indicate a search term to obtain results from DuckDuckGo.

The DuckDuckGo Search API is a tool that allows users to integrate DuckDuckGo search functionality into their applications, websites or tools.

There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

The DuckDuckGo Search API returns JSON data containing search results, including abstracts, sources, and relevant links. Each response provides a summary of the search query results.

Key fields in the response include "Abstract" (summary of the result), "AbstractSource" (source of the summary), and "AbstractText" (detailed text of the summary). These fields help users understand the context of the search results.

The response data is structured in JSON format, with key-value pairs representing different aspects of the search results. This organization allows for easy parsing and integration into applications.

The API provides information on a wide range of topics, including definitions, summaries, and links to articles or resources. It covers various categories such as geography, history, and current events.

Users can customize their requests by specifying parameters such as the search term, region, and format. This flexibility allows for tailored search results based on user needs.

Users can extract relevant information from the "Abstract" and "AbstractText" fields to display summaries or links in their applications. This enables the creation of informative interfaces that enhance user experience.

The data is sourced from various reputable platforms, including Wikipedia and other public information repositories. This ensures a broad and reliable range of search results.

Data accuracy is maintained through continuous updates and sourcing from established platforms. The API retrieves real-time information, ensuring that users receive the most current and relevant results.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


Related APIs


You might also like