Show HN: Price Per Ball – Site that sorts golf balls on Amazon by price per ball
34 points| rockdiesel | 12 days ago |priceperball.net
For someone who can't always keep it in the fairway, golf balls can get rather expensive, so I decided to build a way for me to view Amazon listings by how much they cost per ball in the hopes of finding some good deals. Hence the name of the website.
The site is hosted on Cloudflare pages and I use Github actions to trigger a python script that fetches and checks the prices. It runs twice a day. If the script encounters any new ASINs, it stores them for future checks, so the list of golf balls being price checked should keep growing over time. Changes are then pushed to Cloudflare pages.
There can sometimes be some pricing oddities when the product title says one count, but the unit count being returned from Amazon is another number, so I'm trying to add some checks to help accommodate for that. Right now, I just have some manual overrides for certain ASINs, but I'm looking to improve on it in the future.
The frontend is just some basic HTML, CSS and JavaScript.
Listings on Amazon can be inconsistent sometimes because, for example, product titles will say used balls, but the seller lists them as new. I added some filters to that allow you to exclude used/recycled balls, plastic golf balls, etc... You can also filter by brand.
Give it a spin and let me know if you run into any issues or have any feature ideas to make it more useful.
koolba|12 days ago
litenboll|12 days ago
rockdiesel|12 days ago
Any thoughts? Should I default to what's in the product title instead of the unit count? Not sure the best way to combat this.
onionisafruit|12 days ago
Zizizizz|12 days ago
bradfa|12 days ago
rockdiesel|12 days ago
kwar13|12 days ago
rockdiesel|12 days ago
smokedetector1|12 days ago
rockdiesel|12 days ago
Yeah. I'm trying to figure out how to combat these inconsistencies. Right now, I have some manual overrides, but not sure it's sustainable to keep manually overriding inconsistent listings.
Any thoughts? Should I default to what's in the product title instead of the unit count? Not sure the best way to combat this.
gertrunde|12 days ago
The submitter's description does make reference to this a bit, the Amazon product description quantity for these items is "1"...
And it gets more complicated for the ones that are 2 dozen, plus 1 dozen 'free'...
bombledmonk|12 days ago
rockdiesel|12 days ago
I think your toggle idea is a good one though, and I'll look to implement that. I can see how some people might want that.
rockdiesel|12 days ago
luddit3|12 days ago
rockdiesel|12 days ago
eagleinparadise|12 days ago
seemaze|12 days ago
grbi|12 days ago
jmux|12 days ago
For determining the number of balls, i had an idea but not sure of how well it’d fit in. Could you feed the listing title, unit count, and description into an LLM with a basic “figure out how many balls are in this listing and make sure that number makes sense with the price” prefix prompt and then store that number with the ASIN? One LLM call per product should be pretty low cost, and it could automate a bunch of repetitive manual work
rockdiesel|12 days ago
baxtr|12 days ago
If you click on the link you’ll see it’s says 4 dozen, 48 balls, on the box. And not just one.
rockdiesel|12 days ago
austin-cheney|12 days ago
The disk prices site does the exact same thing but the product is digital storage hardware. They made $50k from referrals to Amazon in 2024.
The disk prices site frustrates me because it illustrates so directly to costs imposed on the US from the current tariffs. I was able to get a 14tb disk from there DEC 2024 for $90 and now the cheapest is $220.
thatguy0900|12 days ago
rockdiesel|12 days ago
golfer|12 days ago
rockdiesel|12 days ago
kopollo|12 days ago
rockdiesel|12 days ago
millzlane|12 days ago
KRAKRISMOTT|12 days ago
jasoncartwright|12 days ago
rockdiesel|12 days ago