Automate marathon lottery checks and applications

An agent watched major marathon entry pages for openings and, when one appeared, handled the account, verification, form submission, and confirmation email.

Done with Claude· Intermediate· Nov 2026

What they did
The workflow ran on GitHub Actions. Claude Haiku looked at each race page twice per day, and its check only counted when the page contained the exact quoted sentence. If a lottery was live, a Claude Opus browser session signed in or created an account, retrieved confirmation codes from Gmail, completed the form using a YAML profile, agreed to the terms, and sent the entry.
How it went
There were no reported results from live applications. The races covered were Tokyo, London, Berlin, Chicago, New York City, Sydney and Cape Town. When it could not apply, the system sent a link and reminders instead.
Tips
It will not defeat CAPTCHAs, and some race rules do not permit automated entries. The expected spend was roughly $1–3 per month, plus about $1–4 of Claude usage for each application, with an $8 limit.

Try it yourself with Claude

Check [race names or URLs] every morning and evening for a lottery or registration opening. If one is available, use my stored details [name, birthdate, nationality, emergency contact] to start the application and pull any required verification code from my Gmail. Before you create a new account, press the final submit button, make a payment, or take any other irreversible step, stop and ask me to approve the exact action first. After I approve and everything is completed, email me a confirmation and screenshot. If you cannot finish, send me the page link and a brief reminder instead.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.