Show HN: Is Hormuz open yet? (opens in a new tab)ishormuzopenyet.com
484 pointsI built this because I was interested in the data. Didn't fully get it to what I wanted, but thought I'd share it nonetheless. Maybe someone has better data sources they could share!
Turns out live ship tracking APIs are expensive so I manually just copied the json from https://www.marinetraffic.com/en/ais/home/centerx:57.4/cente... I'll probably have an ai agent do the same thing on some cron interval, if this gets any fanfare.
To actually know if the port is open without live ship tracking I found https://portwatch.imf.org/pages/cb5856222a5b4105adc6ee7e880a... which was perfect, except it has 4 day lag!
I also thought of adding news feed parsing or prediction market data to get a more definitive answer on if it's open right when you load it, but I spent a few hours and am gonna move on for now.
Comments (209) 45 threads
Here is a node.js script for you which will fetch the data and save it to the file:
Just like this, no need to spend a cent on expensive APIs or tokensReminds me of when I was speaking at a conference back in the mid 2010's with a presentation titled "Join the dark side of APIs" or something akin to that, where I showed many of the newly popularized "single page apps (SPAs)" relied on undocumented and public APIs, often without any authorization. Immediately followed by a talk by a business type guy on API copyright or something or other.
Seems cheaper than the cigars and cash.
Continue this thread — 6 replies
https://polymarket.com/event/strait-of-hormuz-traffic-return...
My approach would be if that jumps up to 75%+ it would change to YES. And if we get into May they have one for then too:
https://polymarket.com/event/strait-of-hormuz-traffic-return...
You can actually see in the last 24 hours it jumped up with the ceasefire and Iran saying they would open it and fell back with reports it's been shut down again easlier today.
Edit: I added this, I can see a few downvotes, happy to discuss here or in the github repo if anyone has strong feelings on it!
Continue this thread — 1 reply
The sources I used were:
- ESRI World Imagery[1] — free satellite tiles, high-res, but ships are stripped out from the imagery
- NASA GIBS - VIIRS[2] — near real-time daily satellite imagery from NASA, but resolution is ~375m so ships aren't visible anyway
- Mapbox Satellite[3] — high-res and looks great, but same deal — ships are scrubbed from the composited imagery
1. https://server.arcgisonline.com/ArcGIS/rest/services/World_I... 2. https://earthdata.nasa.gov/engage/open-data-services-softwar... 3. https://www.mapbox.com
- Sentinel-2 (10 m/pixel): https://github.com/allenai/rslearn_projects/blob/master/docs...
- Landsat (15-30 m/pixel): https://github.com/allenai/rslearn_projects/blob/master/docs...
- VIIRS Nighttime Lights: https://github.com/allenai/vessel-detection-viirs
I think you can see these vessel detections at https://app.skylight.earth/ ("Try out a limited version as a guest") but they seem to be delayed by 48 hours.
VIIRS is very low resolution but you can make out vessels with reasonable accuracy in the night-time images.
VIIRS covers most locations at least once per day, but the other sensors capture a given location only once per 5-10 days (although when combined, Sentinel-1/Sentinel-2/Landsat should provide close-to-daily coverage).
https://windward.ai/blog/gps-jamming-disrupts-1100-ships-in-...
you could, presumably, mess up other instruments than visual to interfere with enemy countries
Continue this thread — 2 replies
doesn't this sort of thing invalidate any kind of experiment because the instrument is no longer trustworthy
By not providing imagery of the ocean surface, it also gets to display ocean floor topography data it wouldn't otherwise get to show without having to add another mode.
I assume another reason is that it reduces the total size of the imagery, which would have been a plus on the 2001 computers that Google Earth was originally developed on.
I believe you can get this imagery from other sources (aside from things that are government-censored), but you face the same problem Google did in how to stitch it together without it being a patchwork of different moments in time.
Ships don't move that quickly; AIS data refreshed once every few hours would probably be more than good enough.
> "Iran will demand that shipping companies pay tolls in cryptocurrency for oil tankers passing through the Strait of Hormuz, as it seeks to retain control over passage through the key waterway during the two-week ceasefire."
If they really will start doing so for all shipping, that would be odd since the straight itself is in Oman's territorial waters. Even so, the UNCLOS convention (2) requires free transit:
> Article 44 > Duties of States bordering straits > > States bordering straits shall not hamper transit passage and shall give appropriate publicity to any danger to navigation or overflight within or over the strait of which they have knowledge. There shall be no suspension of transit passage.
It would be unprecedented and unlawful, but I guess previous actions of Israel, the US and Iran have shown our world is beyond adhering to laws and agreements now.
(1) https://www.ft.com/content/02aefac4-ea62-48db-9326-c0da373b1... (2) United Nations Convention on Law of the Sea: https://www.un.org/depts/los/convention_agreements/texts/unc...
Didn't Trump float the Idea of a joint venture with Iran on the Fees?
Amazing, that once you could make money on a toll, Trump was "there is profit in peace? lets get this peace thing going"
> With Trump and Iran each claiming victory, but still far apart on key issues, traffic in the Strait of Hormuz remained at a standstill Wednesday.
1. https://www.washingtonpost.com/world/2026/04/08/trump-iran-w...
Continue this thread — 6 replies
Continue this thread — 11 replies
Continue this thread — 1 more reply
All comments shown.
Couldn't load more comments. Check your connection and try again.