Reverse engineered API of https://duck.ai
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.
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.
- Fetches client-specific tokens from DuckDuckGo.
- Constructs valid request headers including client hashes.
- Streams chat responses from the DuckDuckGo Chat API endpoint.
- Avoid using
JSDOM - Make it good looking...
- Node.js
node index.js