Skip to content

Instantly share code, notes, and snippets.

@taciturnaxolotl
Created July 4, 2025 02:12
Show Gist options
  • Select an option

  • Save taciturnaxolotl/1e7172a953b3a32026a1742b25f51954 to your computer and use it in GitHub Desktop.

Select an option

Save taciturnaxolotl/1e7172a953b3a32026a1742b25f51954 to your computer and use it in GitHub Desktop.
get every wordle answer ever
export {};
for (let date = new Date('2021-06-19'); date <= new Date(); date.setDate(date.getDate() + 1)) {
const formattedDate = date.toISOString().split('T')[0];
const url = `https://www.nytimes.com/svc/wordle/v2/${formattedDate}.json`;
const response = await fetch(url).then(u => u.json());
console.log(`${response.print_date} ${response.solution}`)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment