# I Tracked Gas Prices at 600 Costcos During the Strait of Hormuz Crisis

Original title: Tracking Costco gas prices

> Hacker News story 49423045 · language: en · submitted 2026-08-24
> Web version: https://zeli.app/story/49423045
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 123 · by [lafond](<https://news.ycombinator.com/user?id=lafond>) · 💬 112
[original](<https://www.jack.bio/blog/costco-gas-tracking>) · [HN discussion](<https://news.ycombinator.com/item?id=49423045>)

## Summary

When gas prices spiked during the Strait of Hormuz crisis, a Tampa commuter built a scraper to track prices at every Costco in the US. By sweeping Costco's hidden APIs, he collected data from 600 warehouses, revealing 38,018 price changes in 154 days—with cuts outpacing hikes. The project, powered by TimescaleDB and Next.js, is now a live dashboard that lets anyone compare prices before choosing a warehouse.

## Key quote

> A company that treats gas as a rounding error still has to move with the market… eventually.

## HN discussion (112 comments)

### [jopolous](<https://news.ycombinator.com/item?id=49441493>)

> I worked at Costco while in college many years ago and I got to see how the gas price was set for my specific warehouse.
>
> Someone would drive out to a few neighboring gas stations, record prices, and set ours ~10 cents lower.
>
> That’s it. That’s how the price was set.
>
> Aside, working there was very good for a college job and I was treated very respectfully for the summers I was there.

### [culi](<https://news.ycombinator.com/item?id=49439584>)

> GasBuddy is great for this. You can see average gas prices across all gas stations for a certain region (or nation-wide).
>
> https://www.gasbuddy.com/charts
>
> The data goes back even over 25 years if you play around with the query params (it started in June of 2000). E.g.
>
> https://charts.gasbuddy.com/ch.gaschart?Country=USA&Crude=f&...

### [xp84](<https://news.ycombinator.com/item?id=49440021>)

> \> "a Global Fuel Crisis"
>
> Does anyone else find this hyperbolic? Gas prices here in the US are up about 26% from their recent-past price -- it stayed in a very narrow range of about $3.20 for a year or two, and now is at $4.05.
>
> A "FUEL CRISIS" is what you are seeing in Moscow right now. People lined up for miles and sometimes when you get to the front the delivery does not happen because the refinery got blown up. Or at least the 1970s oil crisis. A 26% bump in prices is a major annoyance, not a "crisis."
>
> I would guess that the person who wrote this headline has some kind of a political agenda.
>
> Did he describe it as a "fuel crisis" when gas prices rose from their previous ~2.80 baseline to the peak of $4.93 in June 2022, a 76% increase? Or was it not a crisis then for some reason?

### [0cf8612b2e1e](<https://news.ycombinator.com/item?id=49427918>)

> Costco gas is famously a loss leader, typically running 15 to 20 cents below surrounding stations.
>
> Is this true? I always assumed that Costco just had better deals/longer horizon commitments so it could undercut local stations. Maybe they even own a refinery just to maintain the best margin.

### [esalman](<https://news.ycombinator.com/item?id=49441516>)

> Costco has a standalone gas station in Mission Viejo, CA - https://www.costco.com/w/-/gas-station/ca/mission-viejo/1772
>
> I think this is the only one in US without a warehouse.
>
> The prices are at least $0.40 cheaper than nearby gas stations.

### [xnx](<https://news.ycombinator.com/item?id=49440020>)

> \> Tracking Costco Gas Prices During a Global Fuel Crisis
>
> 10% more expensive than 5 years ago doesn't seem like a "crisis".
>
> Diesel seems like more of a problem: https://fred.stlouisfed.org/series/GASDESW

### [phainopepla2](<https://news.ycombinator.com/item?id=49439934>)

> It's crazy to me that gas in Hawaii, 3k miles out into the Pacific, is cheaper than most of California.

### [woeirua](<https://news.ycombinator.com/item?id=49442839>)

> It'd be way better if the clusters showed the average price for all the stations underneath each cluster. Then you could get a sense of prices nationally immediately.

---

## Cite

- Page: https://zeli.app/story/49423045
- Date: 2026-08-24
- Source: jack.bio (https://www.jack.bio/blog/costco-gas-tracking)
- Hacker News: https://news.ycombinator.com/item?id=49423045

## Other languages

- zh: https://zeli.app/zh/story/49423045 · markdown: https://zeli.app/zh/story/49423045.md
- ko: https://zeli.app/ko/story/49423045 · markdown: https://zeli.app/ko/story/49423045.md
- ru: https://zeli.app/ru/story/49423045 · markdown: https://zeli.app/ru/story/49423045.md
