frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I tracked 7,700 UK petrol stations every 10 minutes for 3 months

https://www.fuelinsight.co.uk
32•theazureguy•1h ago

Comments

theazureguy•1h ago
I got frustrated that every fuel price app just shows you what's cheap nearby. I wanted to know how stations actually behave: do prices go up faster than they come down, do supermarkets really save you much, how bad are motorway prices really?

So I built a scraper that hits the UK government's mandatory Fuel Finder API every 10 minutes and stores every price change. 90k records across 7,700 stations since January.

Some things I found that surprised me:

The rocket and feather effect is real and measurable. When stations raise prices the average move is 2.35p/litre. When they cut, it's 1.85p. There are also more up moves than down moves. I queried the raw history to check this rather than eyeballing a chart.

Motorway fuel is 28.4p/litre more expensive than everywhere else right now. That's about £14 extra on a 50L fill. Everyone knows motorways are expensive but I didn't expect the gap to be that wide.

The supermarket discount is only about 1.7p. I assumed it would be bigger.

Stack is Azure Functions, TimescaleDB, PostGIS, Next.js. The interesting thing about this project is the history. No public site shows how an individual station has priced over time or how a local cluster of stations react to each other. That's what I'm building towards.

Site: https://fuelinsight.co.uk

Happy to talk through the architecture or the data if anyone's interested.

fredoralive•1h ago
For the "supermarket saving", did you include Asda in the supermarket pool, or as a general pool? They seem to be rather less price competitive than other supermarkets, I'd presumably because of the recentish private equity takeover involving petrol station operator Euro Garages meaning they've kinda opted out of the petrol price war (they're hardly likely to want to undercut their existing forecourts).

Although the other recent private equity takeover of Morrisons led to some sort of deal with Motor Fuels Group to operate their petrol stations (but no ownership stuff in this case?), but they're seemingly still being competitive with Sainsbury's and Tesco's.

theazureguy•1h ago
Yeah Asda is in there. I match on brand name directly rather than the API's is_supermarket flag because that flag is all over the place (loads of Asda stations don't have it set). So it explicitly checks for Asda, Tesco, Morrisons, Sainsbury's, Co-op, Costco.

Your point about post-PE Asda is interesting, I've noticed it too. If you want to see how they compare individually you can check the brands page on the site, shows each supermarket chain as its own line. Pretty easy to split the supermarket aggregate out per brand too, would probably show Asda creeping back towards the independents since the takeover. Might add that.

appreciatorBus•1h ago
Another insightful way to look at this is to include gasoline spot market data as a comparison.

I kept hearing about the vast profits of gas stations, so one day I started a spreadsheet of my gas purchases and kept it going over 10 years. When I tried lining up the graph of what I have actually paid per litre with a spot market graph, after converting for currency, units, taxes etc, they were almost identical, indicating extremely slim margins, if any. Yes there were differences, places in the graph where stations had likely made money on my purchase, but there were just as many where they likely lost money, unless I also stepped inside to but a snack.

theazureguy•59m ago
Good shout. DESNZ publishes weekly wholesale rack prices and they are OGL, so there is no barrier there. The interesting bit isn't just showing the gap; it's the propagation lag. Wholesale spikes and pump prices follow within days. Wholesale drops and pump prices take their time. That asymmetry is basically what I built this dataset to measure. Adding the wholesale series as a reference line is on the list.
jacquesm•34m ago
You are correct. Non-chain gas stations often make only as little as one or two cents per liter, and that's before you look at pump maintenance, inspections, periodical tank replacements/upgrades/liners and other costs.

Manned stations really need that shop otherwise they'd go bankrupt.

Chains make a bit more money but mostly because they can play longer games with stock and options on much larger volume buys.

Source: former gas station owner.

spockz•2m ago
And yet I see in earnings that companies like BP and Shell make record profits over increased gas prices. How come that they do profit but the station holders not? Are shell/bp increasing the margin harder and eating the station’s lunch?
yzydserd•5m ago
> So I built a scraper that hits the UK government's mandatory Fuel Finder API every 10 minutes and stores every price change. 90k records across 7,700 stations since January.

Only 1 change per station per week on average? Fewer than I expected. Not sure I'd call it a scraper, myself.

157p/L national average is about 8 USD/G.

peterdrohan•39m ago
bros server crashed
morkalork•34m ago
Well they did call themselves the azure guy
theazureguy•32m ago
haha not quite, db was struggling under the load for a few minutes. b1ms postgres doesn't love 6k requests in 30 mins.
GordonS•27m ago
Those tiny b1ms VMs are absolutely pitiful (long time Azure sufferer here). It's crazy how little compute and memory Azure give you for so much money.
theazureguy•22m ago
yeah scaling it up now, was hoping to keep costs down but HN had other ideas
firefoxd•11m ago
A 30 second memcached/redis/etc goes a long way when sharing on HN. You go from 6k db hits to 60 hits in 30 minutes. Worked for me since 2013 [0].

[0]: https://idiallo.com/blog/handling-1-million-web-request

isoprophlex•24m ago
If only this wasn't hosted on azure, we'd be able to actually look at the data
callamdelaney•15m ago
Microslopinator strikes again
varispeed•11m ago
I thought cloud was supposed to be an answer to sudden surges in traffic. /s
johannes1234321•2m ago
In Germany fuel processes must be reported to the anti trust authority (Bundeskartellamt) the data is than published to providers of apps and websites. Unfortunately there isn't a free public data stream from them.

List of authorized places using the data: https://www.bundeskartellamt.de/DE/Aufgaben/Markttransparenz...

Ctify_: A lightweight, PHP-based wiki, forked from PmWiki

https://github.com/altilunium/ctify_
1•altilunium•9s ago•0 comments

Wikimedia Foundation closes Wikinews after 21 years

https://en.wikinews.org/wiki/Wikimedia_Foundation_closes_Wikinews_after_21_years
2•benwills•1m ago•1 comments

Robot dogs with tech boss faces roam Berlin art exhibit

https://www.youtube.com/watch?v=909UTYDtuGY
1•otikik•3m ago•0 comments

KeePassχ – A KeePassXC Fork

https://codeberg.org/keepasschi
1•birdculture•3m ago•0 comments

What's Next in the Elon Musk Megatrial Against OpenAI and Sam Altman

https://www.wsj.com/tech/ai/whats-next-in-the-elon-musk-megatrial-against-openai-and-sam-altman-8...
1•Brajeshwar•4m ago•0 comments

I am worried about Bun

https://wwj.dev/posts/i-am-worried-about-bun/
4•remote-dev•4m ago•0 comments

14 Years of Mistakes to "Make Something People Want"

https://nmn.gl/blog/meditations-on-make-something-people-want
2•namanyayg•5m ago•0 comments

Little's Law

https://en.wikipedia.org/wiki/Little%27s_law
1•tosh•5m ago•0 comments

Were Neanderthals Able to Hunt Elephants? The Proof Is in an Ancient Bone

https://www.nytimes.com/2026/04/24/science/lehringen-lakebed-elephant-neanderthals.html
1•bookofjoe•7m ago•1 comments

Show HN: Logram, a filterable, modular log navigator for the terminal

https://github.com/tGautot/Logram
1•tgautot•7m ago•0 comments

The end of 0% interest rates: what it means for tech startups and the industry

https://newsletter.pragmaticengineer.com/p/zirp
3•rzk•7m ago•0 comments

Show HN: Muesli – If Granola and Wisprflow had an open source on device baby

https://freedspeech.xyz
2•pHequals7•7m ago•1 comments

A structured AI development methodology built from real production work

https://github.com/imfromsavedotag/structured-AI-development
1•ianmud•9m ago•0 comments

Wolfenstein 3D for Gameboy Color on custom cartridge (2016)

https://www.happydaze.se/wolf/
2•ksymph•10m ago•0 comments

Musk vs. Altman [video]

https://www.youtube.com/watch?v=tB7u6KQlu_c
2•tylerbordeaux•10m ago•0 comments

Trump administration cites national security to widen clampdown on wind farms

https://www.telegraph.co.uk/business/2026/05/03/trump-blocks-wind-farms-national-security-grounds/
1•dalyons•12m ago•2 comments

How A University's Censorship Conference Got Censored

https://www.404media.co/how-a-universitys-censorship-conference-got-censored/
2•SpyCoder77•12m ago•0 comments

Conic Sections: Treated Geometrically by W. H. Besant(1869) [pdf]

https://www.gutenberg.org/files/29913/29913-pdf.pdf
2•num42•15m ago•0 comments

Show HN: My coworker and I planning with our Claude Codes in the same chat room

https://old.reddit.com/r/ClaudeAI/comments/1t3aiqa/my_coworker_and_i_planning_a_feature_with_our_...
2•bgnm2000•15m ago•1 comments

"They would never use the death star on us"

https://www.mcsweeneys.net/articles/they-would-never-use-the-death-star-on-us-alderaan-residents-...
7•ndr42•15m ago•1 comments

United flight strikes light pole, damages truck while landing in Newark

https://abc7ny.com/post/united-flight-strikes-light-pole-landing-newark-airport/19030820/
3•the_mitsuhiko•17m ago•1 comments

Show HN: The Rouge is my attempt at an AI product factory

https://github.com/gregario/the-rouge
2•gr3gario•20m ago•0 comments

Forbes Settling Privacy Lawsuit for total of 17.5M

https://captaincompliance.com/education/forbes-medias-17-5-million-privacy-settlement-reckoning-w...
2•richartruddie•20m ago•1 comments

I reverse-engineered a thermal pocket printer to print without the app

https://github.com/ChiaraCannolee/thermal-pocket-printer-basic
4•ChiaraCannolee•20m ago•1 comments

The Audio Industry Is Grappling with the Rise of 'Podslop:' 39% New Podcasts AI

https://www.bloomberg.com/news/newsletters/2026-04-30/-podslop-proliferation-is-challenging-the-a...
3•randycupertino•20m ago•0 comments

Show HN: EmergingRepos – finding repos that are just starting to get momentum

2•andrewfromx•21m ago•1 comments

Richard Dawkins (AI) Refutes Richard Dawkins (Human) on AI Conciousness

https://vexjoy.com/posts/the-submarine-that-wanted-to-swim/
3•AndyNemmity•21m ago•0 comments

Testers – 12 Testers Community

https://play.google.com/store/apps/details?id=com.thardstudio.testers&hl=en_US
4•mdaside•22m ago•1 comments

Progress warns of critical MOVEit Automation auth bypass flaw

https://www.bleepingcomputer.com/news/security/moveit-automation-customers-warned-to-patch-critic...
3•Brajeshwar•22m ago•0 comments

The AI Phone Assault Has Begun

https://www.alanwsmith.com/en/3d/bb/ci/ro/
4•abnercoimbre•23m ago•0 comments