top | item 47048633

Show HN: Price Per Ball – Site that sorts golf balls on Amazon by price per ball

34 points| rockdiesel | 12 days ago |priceperball.net

I took inspiration from diskprices.com, but applied it to my golfing hobby.

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.

51 comments

order

koolba|12 days ago

If you really want to get cheap balls, go play a round at a mid tier course and take a peek in the bushes. You’ll get an assortment of balls.

litenboll|12 days ago

Great idea, simple and effective. Tiny bit of feedback: seems like some listings use "unit count" for the number of balls, look at the most expensive listing for an example. Annoyingly the second most expensive balls have the number of dozens in the unit count instead.

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.

onionisafruit|12 days ago

What a great niche site. I don’t usually suggest adding ads to a site, but this is begging for an ad for golf lessons to help fix your slice.

Zizizizz|12 days ago

I sometimes get balls for cheap on sites like https://www.lakeballs.com/ (basically the rich people hit the prov1's in the lake and I get them on discount.)

bradfa|12 days ago

Would be nice if you could filter based on the number of pieces or layers of the golf ball manufacturing process. Might require some leg work to actually find out, but many manufacturers will list it on their product info.

rockdiesel|12 days ago

I'll look into it. Thanks for the suggestion.

smokedetector1|12 days ago

Somethings broken - the most expensive ball, "TaylorMade 2021 TP5x (3+1 Box) 4DZ" is listed as $169.95 for 1 ball. Clicking through, this is actually for 4 dozen balls, making the actual per ball $3.54

rockdiesel|12 days ago

Posting my other comment from above:

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

I had the same thought, and checked a dozen or so of them, they're all multiple dozens of balls.

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

Rather than filter in brands, I'd rather filter out brands (aka exclude). Maybe just an include/exclude toggle there? A select all UI element, then deselect might also be adequate.

rockdiesel|12 days ago

Funny that you mention that. That's how it originally worked, but I changed it to filter in brands because I assumed golfers are more brand loyal, and thought they might want to only look at the brands they normally play with.

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

I added an include/exclude toggle for Brands. Take a look and let me know if this works for you.

luddit3|12 days ago

Very cool! An improvement for version 2.0 would be to add the ability to filter by ball type: two-piece, swing speed, and cover. This would provide users with better insight into pricing.

rockdiesel|12 days ago

That's a good idea. Thanks for the suggestion. I'll look into expanding the filters to be more useful and allow some more granularity.

eagleinparadise|12 days ago

omg thanks. Went to a bachelor party recently and think I spent like $100 on a pack of 12 balls. Outrageous, I was so pissed I had to do it. And then knocked most of them off course!

seemaze|12 days ago

This will help me navigate the great AI golf ball shortage of 2026.

jmux|12 days ago

Great idea, i love the simple html website :)

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

Before going full AI, maybe I could create a list of quantity keywords like "dozen", "3-pack", etc... and at least use that as a starting point.

baxtr|12 days ago

The last item shows 1 ball for $169.

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

Yep. That's one of the downsides of relying on unit count. Sellers don't always accurately match the unit count to their product title. I'll work on fixing these inconsistencies.

austin-cheney|12 days ago

See also https://diskprices.com/ for inspiration.

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

That's not all tariffs. The Ai boom is at the point where some memory manufacturers are selling their whole production capacity a year in advance.

rockdiesel|12 days ago

Yeah. I state in my post that I took inspiration from diskprices.com. I always wanted to build something similar, but for a product that I actually buy on semi-regular basis.

golfer|12 days ago

Awesome to see golf related projects on HN! Nice work.

rockdiesel|12 days ago

Thank you. Glad you liked it.

millzlane|12 days ago

Nice. This reminds me of ammoseek.

KRAKRISMOTT|12 days ago

How does it compare to Costco?

jasoncartwright|12 days ago

Came here to comment how much it's like the superb diskprices.com. Excellent work.

rockdiesel|12 days ago

Thank you. I appreciate it. I love that site and always sat around thinking about building something like it, but for a product I buy frequently. And I finally built it.