Skip to content

enter-a-new-username3/duck-ai-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

duck-ai-api

Reverse engineered API of https://duck.ai

DuckDuckGo Chat API Reverse Engineering (Unofficial)

⚠️ This code is poorly written and for experimental purposes only. Use at your own risk.

This project demonstrates an unofficial, reverse-engineered approach to interact with DuckDuckGo's Chat interface, by mimicking client behavior and reconstructing request headers, tokens, and JavaScript logic.


⚠️ Disclaimer

This project is intended for educational and research purposes only.
It is not affiliated with or endorsed by DuckDuckGo.

Use of this code may violate DuckDuckGo’s Terms of Service, and could result in your IP being banned or other consequences.
Proceed responsibly and lawfully.


🔧 Features

  • Fetches client-specific tokens from DuckDuckGo.
  • Constructs valid request headers including client hashes.
  • Streams chat responses from the DuckDuckGo Chat API endpoint.

🔧 TODO

  • Avoid using JSDOM
  • Make it good looking...

🛠️ Requirements

  • Node.js

🚀 Usage

node index.js

About

Reverse engineered API of https://duck.ai

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors