Tesco — the UK's biggest supermarket — has no public API. I wanted to automate my own weekly shop, eventually hand it to an AI agent, and get at the one thing every grocery site has and none of them let you query: nutrition data. So I built basketeer, a typed TypeScript SDK for a personal Tesco account.

Here's the part that surprised me most:

# "high-protein yogurt, >=10g protein, <=7g sugar, ranked by protein" — live, no login

basketeer search "high protein yogurt" --min-protein 10 --max-sugar 7 --sort protein

Enter fullscreen mode