{"id":49091095,"url":"https://github.com/nstrydom2/duckduckgo","last_synced_at":"2026-04-20T18:42:52.980Z","repository":{"id":47064254,"uuid":"171741887","full_name":"nstrydom2/duckduckgo","owner":"nstrydom2","description":"An unofficial Duckduckgo.com API with performance and simplicity in mind","archived":false,"fork":false,"pushed_at":"2023-11-14T23:27:04.000Z","size":134,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-07-30T18:12:41.249Z","etag":null,"topics":["duckduckgo","duckduckgo-api","java","maven","scraping","webscraper","webscraping"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nstrydom2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-20T20:12:44.000Z","updated_at":"2024-04-29T08:53:05.000Z","dependencies_parsed_at":"2022-09-09T03:31:24.180Z","dependency_job_id":null,"html_url":"https://github.com/nstrydom2/duckduckgo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nstrydom2/duckduckgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstrydom2%2Fduckduckgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstrydom2%2Fduckduckgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstrydom2%2Fduckduckgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstrydom2%2Fduckduckgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nstrydom2","download_url":"https://codeload.github.com/nstrydom2/duckduckgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstrydom2%2Fduckduckgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32060862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duckduckgo","duckduckgo-api","java","maven","scraping","webscraper","webscraping"],"created_at":"2026-04-20T18:42:52.444Z","updated_at":"2026-04-20T18:42:52.969Z","avatar_url":"https://github.com/nstrydom2.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial Duckduckgo API\n\n[![CI](https://github.com/nstrydom2/duckduckgo/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/nstrydom2/duckduckgo/actions/workflows/maven.yml)\n\nThis is an unofficial Duckduckgo API created to grab the first 25 results queried from \u003cduckduckgo.com\u003e. The website \u003cduckduckgo.com\u003e does provide an api, however I didn't like the results. So, now we are here... I rolled my own unofficial Duckduckgo API for easy utilization in a Java based project. Just make sure you're rocking maven in project, and you're in our little club :wink: \n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local\nmachine for development and testing purposes. See deployment for notes on how to\ndeploy the project on a live system.\n\n### Prerequisites\n\nJava 8 is required to run this application, other than that there are no\nprerequisites for the project, as the dependencies are included in the `pom.xml` file.\n\n### Installing\n\nTo install the library is as simple as cloning the repository and building a jar file\nby running\n\n```bash\nmvn clean package\n```\n\nThen it's as easy as importing the jar into you project as a dependency! Alternatively,\nyou can install the library via a maven repository. Simply add the following to your\nprojects `pom.xml` file\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.bitnick.web\u003c/groupId\u003e\n    \u003cartifactId\u003educkduckgo\u003c/artifactId\u003e\n    \u003cversion\u003e[CURRENT VERSION]\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nAnd have fun!\n\n### Dev Notes\n\nRun unit tests locally:\n\n```bash\nmvn test\n```\n\n## Usage\n\nImport the module and instantiate the `WebSearch()` constructor by calling the static method `WebSearch.instanceOf()`. Finally, call the search method and enjoy!\n\n```java\nWebSearch webSearchTest = WebSearch.instanceOf();\nList\u003cSearchResult\u003e anonfileResults = webSearchTest.search(\"anonfile api\");\nanonfileResults.forEach(x -\u003e System.out.printf(\"%s\\n%s\\n%s\\n\\n\",\n    x.getTitle(), x.getUrl(), x.getDescription()));\n```\n\nLightweight and simple searching on the Duckduckgo website. Enjoy!\n\n## Built With\n\n* [jsoup](https://github.com/jhy/jsoup) - Java HTML Parser\n* [JUnit](https://github.com/junit-team/junit5) - Unit Testing Framework\n* [JSON](https://github.com/stleary/JSON-java) - A Java JSON library\n\n## Versioning\n\nNavigate to [tags on this repository](https://github.com/nstrydom2/duckduckgo-api/tags)\nto see all available versions.\n\n## Authors\n\n| Name             | Mail Address                | GitHub Profile                                |\n|------------------|-----------------------------|-----------------------------------------------|\n| Nicholas Strydom | nstrydom@gmail.com          | [nstrydom2](https://github.com/nstrydom2)     |\n\nSee also the list of [contributors](https://github.com/nstrydom2/duckduckgo-api/contributors)\nwho participated in this project.\n\n# License\n\nThis project is licensed under the MIT License - see the LICENSE.md license file for more details.\n\n# Acknowledgments\n- My Family\n- Paps\n- Hat tip to anyone whose code was used\n- Inspiration\n- etc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstrydom2%2Fduckduckgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnstrydom2%2Fduckduckgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstrydom2%2Fduckduckgo/lists"}