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.
Seems cheaper than the cigars and cash.
Given that the baddies clearly can locate ships and see that there's no transponder, and come to the conclusion they need. "Hmm, it turned off transponders and is now moving toward the straight. It's a tanker, and not one of ours, or Russia's or China's. Let's bomb it!"
Also, pragmatically, you could look at the transponders suddenly not showing up anymore as a sign of attempt of passage, especially if they show up later on the other side.
But yes, that would no longer be very realtime.
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!
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-...
doesn't this sort of thing invalidate any kind of experiment because the instrument is no longer trustworthy
you could, presumably, mess up other instruments than visual to interfere with enemy countries
Ships don't move that quickly; AIS data refreshed once every few hours would probably be more than good enough.
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.
> "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...
Great bit of topical datavis here.
On the note of Ai agent getting the data for you, could you not just build a chrome extention that intercepts/read the api response and then uploads it to whatever ingest endpoint you have? You could probably just call their api end points they use on the page as well but not sure what protections they have so might be a bit tricky. A custom chrome extention could do it though if they have protections.
This was just something I built on a whim, but I appreciate your comment and took it to heart!
Let's not condone "measurements" that are effectively ways for people to gain money on important political decisions, affecting the lives of many people.
this law literally make it illegal to gamble on marine risk that you do not have direct economic interest in
It sucks that they're going mainstream, providing incentives to bad actors to profit from their power, and it sucks that they've gone so heavily for the predatory gambling market to boot.
I really hate this duality.
Are you sure it's not survivorship bias or similar? I've seen multiple trend lines that are very confident only to switch to the opposite outcome at the very end.
But there is plenty of research on how well-calibrated they are. For example, https://polymarket.com/accuracy
I would invite you to look into the statistics on foreclosures, bankruptcy, and gambling hotline traffic which compare jurisdictions that have allowed this stuff vs not. Those with demographic breakdowns help to show those most at risk.
Polymarket has $5 million of wagers on "Strait of Hormuz traffic returns to normal by end of April?"
The toll Iran charges for safe passage is $2 million per ship, and at current prices such a ship would be carrying about $200 million of oil. Oh, and we live in a world where a single billionaire will happily spend $200 million to influence politics.
The polymarket number merely shows that nobody's paid to make it higher or lower yet.
But disregarding this admittedly niche attitude; it's not the same thing. If you're opening bets on the ships being bombed before a certain date, you're opening incentives for people to do so. Although buying OIL or Palantir is morally questionable, it does not create such direct incentives.
how about short-selling of stocks, isn't it the same thing? I'd even argue that sinking one ship affects say 10 people of the crew who most probable will survive in the warm Gulf waters whereis sinking a company may affect many people life outcomes probably causing a number of indirect deaths. CDS of 2008 would be similar example.
>buying OIL or Palantir is morally questionable, it does not create such direct incentives
it creates direct incentives to suppress competitors - wind and solar energy for OIL, and whoever Palantir competitors are.
Wrt. "Hormuz open" - does the "open" definition includes the new fee Iran would be taking for the strait traverse (something like $1/barrel, nice for Iran, how come that they had't implemented such an idea before? one can only wonder)
Yes. That's why it's illegal to short-sell your stocks just before you announce that your company is broke.
There are no such regulations when betting on a bomb dropping on a boat.
Surely, you acknowledge that funding something is a rather direct way of actively supporting it. It is your money and your choice of what you choose to invest it in, and thus how you choose to shape the future. If you buy OIL to make money, you are still responsible for the additional investment made in oil, and are still shaping the future, whether you like it or not.
All of the money comes from consumers. The money may change hands 100 times in between, but the money from consumers goes to producers.
If you purchase any products which included petroleum in your life, whether it's a house, car (EV or not), or stretchy clothes, that is what funds the oil producers. That where the money goes into the system, including to investors as return.
Absolutely, but I believe you are conflating investing vs donating. The literal definition of investing is:
> Allocating money (or capital) with the expectation of generating a return or profit over time.
Would you buy stocks of ClusterBombsInc over CureForCancerInc because it has slightly better prospects?
Modern equities and futures markets are highly evolved and rather carefully regulated systems. We've spent centuries learning what the failure modes are and how to guard against them. It's never perfect, it's never going to be perfect -- it's fundamentally a voting system -- but in general, we get liquidity and price discovery at a relatively low cost, while avoiding fraudulent and evil behavior like wash trading and criminal profit laundering.
These new "prediction markets" have been put in place without any of those hard-earned protections. And surprise, they're rife with dirty trick and dirty money.
I mean, looking at futures and stocks now, I dont believe in those anymore anyway.
Carbon-related environmentalism and greed now go hand in hand.
And yet, it is the wisdom of the crowds. The crowds being obscene.
Aren't we all constantly hitting re-fresh for updates, and making predictions.
The prediction markets are just consolidating that 'desire'.
Who could have foreseen that a government/person would actually blatantly start a war, and manipulate bombing raids in order to manipulate a market, without being charged with a crime himself.
In sports betting, it seems obvious if a player throws a game.
In a war? Surely nobody would do this, right? Who could imagine it.
On the other hand, since you can bet on individual pitches, you no longer have to throw the game, just the right pitch at the right time. A couple of players were caught, but who knows how widespread this really is...
https://www.espn.com/mlb/story/_/id/46917665/mlb-betting-gua...
https://www.justice.gov/usao-edny/pr/two-current-major-leagu...
The focus on making money above all else, as a cultural dynamic, is degrading the human experience. It increasingly seeps into more aspects of our lives and is part of the broader Trustpocalypse.
Economists. They even have a term for this, dating back to the late 1800s: "moral hazard".
Polymarket creates moral hazard when participants can profit from outcomes they can influence.
In sports, at least the outcome is only effected by the sportsmen. Here, who knows which and how many people have inside knowledge and influence that they can use that to their financial advantage?
I never imagined that markets could be so corrupted by those in power, without some other consequences somehow balancing out. Like being arrested, or removed from office.
Forget PolyMarket. We literally have bets being made on oil futures, directly before a tweet by the president. Openly profiting on direct minute by minute manipulation. Openly corrupt.
Running Man was a prediction, coming true.
Moving to a topographic view, it becomes clear the neck of land at "two seas view" is narrow, but tall. It would literally be moving a mountain.
Panamax and suezmax boats are smaller than ULCC supertankers.
Ferdinand De Lesseps time has passed. This would be ruinously expensive. Better to negotiate with rational intent.
I bet it could have been done with the money spent on the "war"
The same to a lesser extent applies to pipes. You could construct pipes for gas, for some of the heavier oils and crude (what I read suggests pumping crude long distance is painful, it has to be down-mixed with lighter stuff to make it sufficiently fluid) but the fertilizer? that would mean converting dry to wet and back again (nobody ships fluid weight if they can avoid it) -Or ship the inputs: ammonia, and sulphur in some liquid form, and produce the dry goods on the other side.
But, I think pipes have a stronger case than a canal: move the things which are amenable to pipes, into pipes, and bury the pipes.
In times past, this would have been done as a convoy. China and other nations would have stepped to the fore, conducting safe passage with their own ships on the outside edge. But we're not in a world where this kind of thing works for anyone involved. Even offering to cover insurance risk doesn't look to have motivated ship owners to pass. (in times past, the US wouldn't have put itself or it's allies in this position, hence the reference to China)
Don't be fooled by mental images of what a convoy looks like: ships like these maintain massive separation. There's almost suction between hulls moving at this scale, if they were within 500m of each other there'd be chaos if one had to take any evasive action. In reality (I believe) even a convoy consists of a a lot of discrete, clearly demarked and targetable things, not a large mass you can "hide" in.
https://en.wikipedia.org/wiki/List_of_traffic_separation_sch... (and a lot of links off this)
On the other hand, fertilizer is fluid -- either ammonia or ureal ammonium nitrate.
And you are right, if the same amount of capital and energy was invested in Solar/Wind as in Oil, we'd be in a totally different world. It's cents to dollars, considering the size of the tail AND the current investment.
Here in Australia the problem is the royalty stream to the states. Oil and Gas windfalls when the price of equivalent supply (brent crude I believe for oil, not sure what LNG world price defines the limit) hits $100 is just amazing. The revenue stream to the states is enormous. Their motivation to transfer money into alternatives, instead of sucking on the teat, is zero. States without significant oil revenue seem to do more (SA) -States isolated from the national grid seem to do more (WA) but a site with both high insolation, and good wind, but also massive oil, gas and coal fields (Qld) does as little as possible. It's political reductionism. The crony economy is huge, Mining funds the government and the government reflects mining sector interests over all others.
Also, given how markets and news cycles are moved with words not actions these days, I really like this site.
There are still so many misaligned interests; this is a much tougher situation that may get some local stability for a period, but will likely return to chaos again.
There's a few live ship tracking APIs I considered but they are expensive or their free offering just straight up didn't work. I sent a few an email if they would consider sponsoring the project, no replies yet.
- AISStream.io — https://aisstream.io — Down/not working
- DataDocked — https://datadocked.com — Ran out of credits on a single failed request
- VesselFinder — https://www.vesselfinder.com/realtime-ais-data — Enterprise contact form, asked if they wanted to sponsor in exchange for a link
- MarineTraffic — https://www.marinetraffic.com, their API is like an enterprise contact form, same as above, waiting for response.Your site is very cool. Will test further.
What's the threshold function? Do you have graduating `No --> Partially --> Mostly --> Open`?
Also what's the update cadence?
The update cadence kinda sucks because I didn't spring for the $200 a month live ship tracking data, so I'm using https://portwatch.imf.org/pages/cb5856222a5b4105adc6ee7e880a... which lags by 4 days which isn't great for a site like this, but was fine for me on a little side project. Open to other data sources or ideas, of if anyone wants to sponsor an API key (I did reach out to a few vendors already if they would give the project api key in exchange for a link to their site).
The original idea was to track ships and see how many crossed the strait but as mentioned above I didn't find any free sources so I went with what I did.
> In an attempt to evade detection, many ships appear to be deliberately switching off their tracking system - known as AIS (Automatic Identification System). https://www.bbc.com/news/articles/c4geg0eeyjeo
Ships had their AIS on before the war, and will turn it on again once they left the area. So we can just filter for ships which previously reported a location in the Persian Gulf, and now are reporting outside of it. Similarly we can count ships which were outside of the Gulf and now are inside. We don’t need the AIS to be on while they are transiting.
https://www.vesselfinder.com/?p=OMKHS001 (click on map, zoom out). At this moment ~18 ships transiting. Not sure what the normal capacity is, and I think it's probably a bit more than this ... but it's at least mostly open.
France's Macron actually just commented on this: https://x.com/EmmanuelMacron/status/2041990505760772551
edit: actually im likely completely wrong, what i wrote above is what i hope would be the case but sadly in reality the violence will never end and oil prices will go up and up and up. this is just a temporary blip. the fighting will continue until something more substantial happens to sort it out in favour of one side or the other.
Correct me if I'm wrong, but Israel didn't sign any ceasefire. The ceasefire was between Iran and US. Israel separately announced (not part of any deal) that it would stop attacking Iran. It honored that self-imposed limit. Israel attacked Lebanon (Iran's proxy).
/S trying to highlight how stupid it sounds when you try to retrofit sense into this conflict
CartoDB packages this data into tiles you can use, but that doesn't lift this requirement.
1. https://github.com/montanaflynn/ishormuzopenyet/commit/70a8c...
Seems like we can't use them for free, even with attribution, unless I get a grant?
I think Mapbox also provides a similar looking basemap style.
And wtf is a _fishing_ ship from Panama doing in the middle of the straight?
It’s very well possible that the straight is safe, but the vessels are unnecessarily cautious.
https://www.bloomberg.com/news/articles/2026-04-08/shippers-...
Because the cost of failure is death and the crew aren’t going to risk it, and the other cost of failure is a couple hundred million dollars in ship and cargo and the insurance companies aren’t going to risk it either. This is like asking why your DoorDash driver wouldn’t just try to run the police blockade to get you your burrito.
I can't say that I know anything about Iran, but if we were to close our straits off so you couldn't enter the north sea from the baltic sea then our navy would rapidly deploy various different mines that lay on the bottom on the shallower parts and control the shipping lanes with things like suicide drones. I imagine Iran would do something similar, only they've probably been preparing for it a lot more than we have.
The strait isn’t wide enough, Iran can see any ships attempting
So, it could be that:
* Iran is lying and that has not actually been an option.
* A lot of the ships which would otherwise have transitioned are involved with the war somehow.
* The relevant parties have decided not to coordinate transitions with Iran, for various reasons
* The data displayed at the link is partial for some reason.
They are obsessed with wars, murders, and chaos
https://t.me/hamza20300/375017
After this, they'll certainly not stop at bombing a few cities, or leveling villages today, that they can get away with because of western support.
The "Israel First" administration of the US will happily trade Iran's permanent control of an international waterway for the expansion of Israel.
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 tokens