The Texas lottery has an app you can use to scan the tickets unique barcodes printed under the scratch off layer and find out if and how much the ticket won.
Haven't ever dug into it but the app doesn't require a login to use that function so I'm willing to bet there's an unauthenticated API endpoint that could be sniffed out (they may possibly have it documented somewhere too).
Outside of being a fun itch to scratch, using the app directly is fast enough with very little effort.