7 ms·
Show HN: Is Hormuz open yet?
I 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/centery:26.4/zoom:8 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/cb5856222a5b4105adc6ee7e880a1730 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.
- ananandreas 6mo agoMay be possible to improve the delay by reviewing ship geolocation data. Those are open to public and there is probably many apis for it
- deleted 6mo ago[deleted]
- frogperson 6mo agohttps://warescalation.com/ https://warescalation.com/ is also a good source of info.
- starik36 6mo agoIt says US-Israel Bloc military deaths - 74. Iran military deaths - 10,500 It has no information what is the source of information. Seems like made up numbers.
- fraywing 6mo agoVery cool, thanks for sharing! What's the threshold function? Do you have graduating `No --> Partially --> Mostly --> Open`? Also what's the update cadence?
- anonfunction 6mo agoSo if it's under 25% of the prior year's crossing it goes to NO, otherwise it's counted as open. 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/cb5856222a5b4105adc6ee7e880a1730 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.
- truelson 6mo agoReally liked this. Made me laugh even if not intentionally funny. 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.
- tehjoker 6mo agoIt’s worth remembering that the chaos is fully coming from America and Israel. The great satan indeed.
- 4ndrewl 6mo agoYou might want to rethink scraping marinetraffic before you get a call from their lawyers? https://www.marinetraffic.com/en/p/terms https://www.marinetraffic.com/en/p/terms
- anonfunction 6mo agoFair enough, I'm actually not scraping it on any automated cycle currently, I just manually copied the JSON from their site to get some ships on the map. 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.
- frm88 6mo agoAssociated Press cites a service called Windward for their shipping data. I'm completely ignorant on the subject, but might that be of help for you? https://apnews.com/live/iran-war-israel-trump-04-08-2026#0000019d-6eb3-deed-adbd-feb32a3a0000 https://apnews.com/live/iran-war-israel-trump-04-08-2026#000... (second paragraph). Your site is very cool. Will test further.
- anonfunction 6mo agoThat’s actually a great find, this page[1] from them I found seems to have more recent data than I’ve otherwise been able to find. I’ll reach out to them to see if they can provide some data to power my site as I don’t like the current setup of old data and prediction market odds. Thanks! 1. https://insights.windward.ai/ https://insights.windward.ai/
- bl4ckneon 6mo agoVery cool! I love one off intresting sites like this. Thanks for building it and talking a little bit about where the data comes from etc. 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.
- anonfunction 6mo agoTheir APIs are protected by cloudflare, I didn't want to circumvent that. Also I dont really want to make a chrome extension or have a browster tab open, if that's what you meant? I've already made a cron style agent framework[1] so that's what I'd probably reach for since they can actually open the browser and inspect the network traffic to grab the json. 1. https://botctl.dev/ https://botctl.dev/
- Klonoar 6mo agoHow is doing it via agent not circumventing it?
- anonfunction 6mo agoI think I was just spit-balling what would be possible, rather than what I intend to do. As mentioned elsewhere I'm hoping to get an API key from one the data providers, I even reached out to the api behind marinetraffic.com, https://www.kpler.com/product/maritime/data-services https://www.kpler.com/product/maritime/data-services to see if they would sponsor the project. This was just something I built on a whim, but I appreciate your comment and took it to heart!
- ggm 6mo agoMaps can be so misleading. It looks like a dredging operation in Omani waters could alleviate this, if we'd started decades ago. 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.
- dylan604 6mo ago> This would be ruinously expensive. I bet it could have been done with the money spent on the "war"
- ggm 6mo agoYes, but in circumstances where no war is in the offing, digging a giant hole next to 50km of open water begs questions. It would be impossible to get "it's a hedge against the future" over the line. 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_schemes https://en.wikipedia.org/wiki/List_of_traffic_separation_sch... (and a lot of links off this)
- LAC-Tech 6mo agoIt doesn't matter - Israel was able to ethnically cleanse and occupy large parts of Southern Lebanon, without undue Iranian interference. Mission accomplished for MIGA. The "Israel First" administration of the US will happily trade Iran's permanent control of an international waterway for the expansion of Israel.
- stavros 6mo agoI'm not really very up to speed on this, can someone explain how the strait is actually closed? Are the Iranians threatening to sink any ships that pass by, or what? How come any ships don't turn their transponders off and try to make a run for it?
- MattDamonSpace 6mo agoThey’ll sink ships or cause damage with low cost drones or missles The strait isn’t wide enough, Iran can see any ships attempting
- luxuryballs 6mo agoFrom what I was reading Iran likely wouldn’t sink a civilian vessel but because the risk is there due to the threat they don’t do it because it would violate the contact for their maritime insurance, meaning even if you had a brave crew and orders to go, you lose all your insurance coverage against the loss if something goes wrong.
- croisillon 6mo ago[flagged]
- 6mo ago
- luxuryballs 6mo agoSo apparently the reason they don’t just go for it is due to insurance. Because Iran technically isn’t suppose to just sink a civilian vessel, but the risk is there so the ships are ordered by the owner/stakeholder not to go due to the insurance coverage. Kind of interesting, they could technically call Iran’s bluff but it would mean, they violate the insurance contract and lose coverage? I’m just reading about this so probably not the full picture.
- roncesvalles 6mo agoThe capability is very real. And they don't have to sink the ship, just one Shahed drone exploding on the deck and injuring/killing a sailor is deterrence enough.
- HiroProtagonist 6mo agoThe Shahed drone is a 'set it and forget it' device where you program a stationary target and launch it. It would not work well for moving targets, like ships.
- worik 6mo ago> The Shahed drone is a 'set it and forget it' device where you program a stationary target and launch it. It would not work well for moving targets, like ships. The Iranians are quite handy at modifying their drones....
- FpUser 6mo agoRussia has been modifying Shahed drones for quite a while. May be they've shared back or Iran got creative on their own
- tokai 6mo agoNo insurance has been fixed for a while now. Its as simple as shipowners not wanting to lose their boats and their future earnings potential.
- alerter 6mo agoI work for a consultancy that does vessel tracking as one of its main products, and yeah it's expensive! afaik they have remote teams with sensors at key points and a bunch of people using AI/software to manage things like GPS spoofing. So it's all pretty guarded proprietary stuff. Great bit of topical datavis here.
- anonfunction 6mo agoYeah! The AIS terrain data is expensive, but the good stuff is from satellite tracking and out of my budget for silly site I built on a whim. https://i.imgflip.com/aopmmf.jpg https://i.imgflip.com/aopmmf.jpg
- dr_robert 6mo agoWhat did you use for the map ? Mapbox ??
- Doohickey-d 6mo agoLooks like it's using leaflet + map tiles from https://carto.com/ https://carto.com/ I think Mapbox also provides a similar looking basemap style.
- anonfunction 6mo agoCartoDB and Leaflet. Source is available here btw: https://github.com/montanaflynn/ishormuzopenyet https://github.com/montanaflynn/ishormuzopenyet
- pietervdvn 6mo agoAs an OpenStreetMap-contributor: you have to add attribution as per our license agreement: https://www.openstreetmap.org/copyright https://www.openstreetmap.org/copyright CartoDB packages this data into tiles you can use, but that doesn't lift this requirement.
- SparkyMcUnicorn 6mo agoI was implementing OSM the other day (with attribution of course) and noticed Carto seemed to be one of the only players with good dark tiles. Seems like we can't use them for free, even with attribution, unless I get a grant?
- anonfunction 6mo agoThank you for this comment, I just fixed it[1], don't know why claude code decided to hide it, I actually should have known this requirement and checked! 1. https://github.com/montanaflynn/ishormuzopenyet/commit/70a8cb31b4a737d3ffed323f5298824d182814e8 https://github.com/montanaflynn/ishormuzopenyet/commit/70a8c...
- rc_kas 6mo agoI shorm uzo pen yet also!
- MiSeRyDeee 6mo agoThis will be inherently inaccurate because data was based on public AIS signal, but ships are turning off their AIS to avoid detection. > 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 https://www.bbc.com/news/articles/c4geg0eeyjeo
- anonfunction 6mo agoGreat point and something I didn't consider, I should make a big disclaimer it's not meant to be fully accurate or live data. Thanks for the comment!
- MiSeRyDeee 6mo agonot to discredit what you've built though, good work!
- krisoft 6mo agoEveryone talks about the AIS signal being turned off in the strait as if it is an insurmountable problem. 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.
- cramsession 6mo ago[flagged]
- ktallett 6mo agoNot the first time they couldn't keep to a ceasefire for even a day, let alone 24 hours. Exactly the same as what happened with Palestine last year as well.
- mandeepj 6mo ago> Not the first time they couldn't keep to a ceasefire for even a day, They are obsessed with wars, murders, and chaos
- cramsession 6mo agoYes, and they're actively monitoring this site to flag and bulk downvote anything that sheds light on their crimes (like this whole thread).
- megous 6mo agoLast year (March 18) Israel killed 174 children and 412 people in total in a day when violating a Jan 19 ceasefire to restart the genocide. Then proceeded to starve hundreds to death and severely compromise health of tens of thousands during the following months, while killing 1000s of aid seekers, that they forced into killing fields under starvation, like this: https://t.me/hamza20300/375017 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.
- xdennis 6mo agoPlease tell me what ceasefire Israel signed? Is it in the room with us?
- anonfunction 6mo agoAnother funny thing about this was this morning I checked if the domain isthestraitofhormuzopenyet.com was available and it was, and by the time I made the site locally, put it on vercel I went to buy the domain to point DNS to it someone had bought it! I renamed it to the current site url / repo which i think might be a little nicer to type, but crazy that we had same idea on apparently the same day. I was also just telling a friend about simultaneous invention aka multiple discover[1] a few days ago, so another case of the Baader-Meinhof phenomenon[2]! 1. https://en.wikipedia.org/wiki/Multiple_discovery https://en.wikipedia.org/wiki/Multiple_discovery 2. https://en.wikipedia.org/wiki/Frequency_illusion https://en.wikipedia.org/wiki/Frequency_illusion
- soco 6mo agoI was also surprised to see that arewegreatyet.com is in use already...
- einpoklum 6mo agoIran (and various news sources) have claimed that the straights are not now, and in fact never have been, closed - provided the relevant ship was not involved/linked to the attacks on Iran, and that it coordinated with Iranian authorities. 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.
- sethops1 6mo agoNo need for baseless speculation, it's well known that no insurance company is willing to insure transit through the straight while it's an active war zone.
- spaghetdefects 6mo agoIt was mentioned in this thread and quickly flagged, but Israel broke the ceasefire today by attacking civilians in Lebanon so Iran closed the straight. It was open prior to the ceasefire violation. France's Macron actually just commented on this: https://x.com/EmmanuelMacron/status/2041990505760772551 https://x.com/EmmanuelMacron/status/2041990505760772551
- globalnode 6mo agoisraels only option is to get america involved since they cant achieve their goals by themselves. trump unwittingly got a punch in the face last time he let himself get dragged in so doubt hell go 100% in again, maybe just lip service attacks to try and appease israel while backchannel appologising profusely to iran as he does it lol 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.
- xdennis 6mo ago> Israel broke the ceasefire 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).
- LarsKrimi 6mo agoIt's impossible to know right now. Some are saying Pakistan messed up by not specifying properly to both sides what would constitute a cease fire. And US (Israel's proxy) is probably a bit unreliable in how their military command and political leadership separately interpreted the agreements as well /S trying to highlight how stupid it sounds when you try to retrofit sense into this conflict
- YZF 6mo ago[flagged]
- blobbers 6mo agoIRGC targeting systems have entered the chat.
- goodluckchuck 6mo agoI think there’s difference between A) whether ships are traversing the straight, and B) whether the straight is open / closed / could be traversed. It’s very well possible that the straight is safe, but the vessels are unnecessarily cautious.
- anonfunction 6mo agoTotally, and I've heard a lot of it comes down to insurance! https://www.bloomberg.com/news/articles/2026-04-08/shippers-rush-for-hormuz-insurance-after-ceasefire-broker-says https://www.bloomberg.com/news/articles/2026-04-08/shippers-...
- Jeremy1026 6mo agoThe data being ~4 days delayed does kind of make this less useful. It is a nice concept and cool to see the historical data though. Just think the domain and the large "NO" doesn't really fit with the lack of current data.
- anonfunction 6mo agoTotally agree, I put some text and tried to make it clear. My first intention was to find some live ship tracking API and see how many ships cross the strait, but they were all hundreds of dollars a month, and behind enterprise contact forms.
- Jeremy1026 6mo agoI've done some small scale ship tracking in the past, and yeah, anything beyond finding a specific ship while it is near the shore is stupid expensive.
- deleted 6mo ago[deleted]
- baq 6mo agoYou need to send an analyst there with binoculars, a box of cigars and $15k in cash to get realtime trustworthy data
- jojobas 6mo agoThe strait is wider than horizon distance from reasonable heights. Also that's how you don't hear back from the analyst in many different ways.
- golem14 6mo agoDo these ships not use transponders? E.g., in the US you can use a SDR dongle and a RPI to read local updates. The straight isn't very wide. Seems cheaper than the cigars and cash.
- elSidCampeador 6mo agoI believe NASA / EU provide daily satellite imagery for free (which is of relatively high quality too). I wonder if there's a way to take that data, and training some kind of image recognition model that figures out "movement" or something to the same end? Would be cool to see
- anonfunction 6mo agoFunnily enough, I did find a few satellite sources at the beginning for the map background and noticed that all the ships seemed to be scrubbed from the image. It's an interesting idea, thanks for the comment! 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_Imagery/MapServer https://server.arcgisonline.com/ArcGIS/rest/services/World_I... 2. https://earthdata.nasa.gov/engage/open-data-services-software/earthdata-developer-portal/gibs-api https://earthdata.nasa.gov/engage/open-data-services-softwar... 3. https://www.mapbox.com https://www.mapbox.com
- deleted 6mo ago[deleted]
- letcree 6mo agoAi2 has vessel detection models for Sentinel-1 and Sentinel-2 (ESA) along with Landsat 8, Landsat 9, and VIIRS Nighttime Lights (NASA/USGS/NOAA): - Sentinel-2 (10 m/pixel): https://github.com/allenai/rslearn_projects/blob/master/docs/sentinel2_vessels.md https://github.com/allenai/rslearn_projects/blob/master/docs... - Landsat (15-30 m/pixel): https://github.com/allenai/rslearn_projects/blob/master/docs/landsat_vessels.md https://github.com/allenai/rslearn_projects/blob/master/docs... - VIIRS Nighttime Lights: https://github.com/allenai/vessel-detection-viirs https://github.com/allenai/vessel-detection-viirs I think you can see these vessel detections at https://app.skylight.earth/ 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).
- namewithhe1d 6mo agoOP, DM me and I'll get you a persistent key for this data. Not from MarineTraffic
- anonfunction 6mo agoWow thanks, there's not really any dm functionality on hn and I didn't see a clear social handle in your profile. https://github.com/montanaflynn/ https://github.com/montanaflynn/ has my email.
- codethief 6mo agoYou could get in touch with GP by googling for his company (see profile), finding his name through the company website (he's the CEO), and then googling for his LinkedIn/X accounts. Also: Cool project!
- HiroProtagonist 6mo agoVery cool thing of you to do.
- nodesocket 6mo agoAren't ships turning off their AIS when traveling the straight? I think https://atlas.flexport.com/ https://atlas.flexport.com/ could also be a good source.
- seattle_spring 6mo agoCool! Heads up, you're probably running afoul of some TOS by hiding the map data attributions.
- anonfunction 6mo agoAhh, thanks I'll remedy that now, wasn't intentional I'll blame Claude.
- foresterre 6mo agoAccording to the Financial Times (1), the straight is "open" but Iran is extorting fees for passing ships. > "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-c0da373b11b8 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/unclos/unclos_e.pdf https://www.un.org/depts/los/convention_agreements/texts/unc...
- femiagbabiaka 6mo agoOman and Iran are splitting the fees RE: the statements by Iran.
- AnimalMuppet 6mo agoBut collected by Iran, not by Oman. Which is weird, if it's really Oman's territorial waters.
- FrustratedMonky 6mo agoAnd Trump. 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"
- hattmall 6mo agoTrump and the US effectively control the commerce because they are the only source of insurance. Even with payments and promises from Iran, no ship is sailing without insurance coverage. There is no one insuring the ships other than the US program Trump created.
- amusingimpala75 6mo agoMissed opportunity for “arewehormuzyet.com”
- tomtomtom777 6mo agoThis is a nice overview, but please remove the PolyMarket indicator. It is an obscene prediction mechanism as it creates horrible financial incentives to a war situation. Its degenerate effects have been featured here before. [1] Let's not condone "measurements" that are effectively ways for people to gain money on important political decisions, affecting the lives of many people. (1) https://news.ycombinator.com/item?id=47397822 https://news.ycombinator.com/item?id=47397822
- FrustratedMonky 6mo ago> "obscene" 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'.
- tomtomtom777 6mo agoWell, it would be if everyone betting wouldn't have an influence on the outcome. That's "wisdom of the crowds". But what if the people putting money on the Strait being closed are the same that close them? Surely, that's no longer the wisdom of the crowds at play. Just perverse incentives.
- FrustratedMonky 6mo agoI agree. Maybe an un-expected outcome. 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.
- tomtomtom777 6mo agoYou don't have to imagine some giant conspiracy. Fact is, that everyone can make a bet, and there are a lot of people with knowledge and influence in the political decisions made. 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?
- deleted 6mo ago[deleted]
- insane_dreamer 6mo agoVery cool. I agree with some others that the YES/NO is confusing since we actually don't know due to the lag. And wtf is a _fishing_ ship from Panama doing in the middle of the straight?
- iqbalabd 6mo agoIs it also possible to show similar movements for ships in the Red Sea, and make the types of ships colour coded?
- ainiriand 6mo agoOpen to whom? AFAIK some nationalities can cross freely.
- sidraarifali 6mo ago[dead]
- dzogchen 6mo agoIf this is using OpenStreetMap data, you should add attribution.
- gloosx 6mo agoHello OP, I think using an ai agent to fetch the JSON is a bit of an overkill Here is a node.js script for you which will fetch the data and save it to the file: import fs from 'fs' import puppeteer from 'puppeteer-extra' import StealthPlugin from 'puppeteer-extra-plugin-stealth' puppeteer.use(StealthPlugin()) const browser = await puppeteer.launch(); const page = await browser.newPage(); async function fetchCoords(x, y, z = 8, station = 0) { await page.goto(`https://www.marinetraffic.com/getData/get_data_json_4/z:${z}/X:${x}/Y:${y}/station:${station}`); const jsonRaw = await page.evaluate(() => document.body.innerText); const json = JSON.parse(jsonRaw) return json } const data8353 = await fetchCoords(83, 53) const data8453 = await fetchCoords(84, 53) const data8354 = await fetchCoords(83, 54) const data8454 = await fetchCoords(84, 54) const fullData = { ...data8353, ...data8453, ...data8354, ...data8454 } fs.writeFileSync('data.json', JSON.stringify(fullData, null, 2)) console.log('done!') process.exit(0) Just like this, no need to spend a cent on expensive APIs or tokens
- anonfunction 6mo agoTake your upvote, love the old school hn spirit. Reminds 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.
- TomasBM 6mo agoIf I had to pick one thing I like about software devs as a group, it's this: you find a problem, you solve it, you share the solution.
- ericmcer 6mo agoWhat is the AI agent doing in this interaction? This is a public API exposed to any browser...
- gloosx 6mo ago
- spwa4 6mo agoObviously the situation has significantly improved since then, your website is given outdated information. https://www.vesselfinder.com/?p=OMKHS001 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.
- davidguetta 6mo ago4 day delay kinda kills the point of the map no?
- dogscatstrees 6mo agoI don't understand why ships can't just run on Oman's side of the strait, isn't there a dash-line down the middle for territorial waters integrity?
- incompatible 6mo agoBecause it's only a few extra kilometres, Iran could still hit them.
- mohavinash 6mo agoThat's really cool. I tried to blog about it in the early days of the war and tried to show it in realtime as well. As you discovered, it's really expensive to get ship tracking APIs. So I also did something similar, where I took the JSON from Marine Traffic and mapped it onto a Mapbox map. I did a very rudimentary-ish job — I think what you created is much more refined.
- gagzilla 6mo agoVery cool! Thanks for sharing. There is also this one- https://hormuzstraitmonitor.com/ https://hormuzstraitmonitor.com/
- anonfunction 6mo agoThis is very cool, I just wonder where they get the crossing data!
- gagzilla 6mo agoI'm guessing from the AIS Vessel Tracking (mentioned in their data sources)- https://www.vesselfinder.com/realtime-ais-data https://www.vesselfinder.com/realtime-ais-data
- xg15 6mo agoI like how this already includes the Polymarket estimate. Maybe there should be another category "new accounts on Polymarket that bet some suspiciously high amounts on those specific dates"...
- saltynews 6mo ago[dead]
- SomaticPirate 6mo agoThis website is down now for me
- insane_dreamer 6mo agoThis site has a lot of detailed data -- not sure what their sources are: https://insights.windward.ai https://insights.windward.ai Number of ship crossings is definitely trending upward as of today.
- 1970-01-01 6mo agoI speculated over a month ago that the only way to get the oil flowing again is to build a trucking road thru the desert. Ask China to help in exchange for cheap oil. If they start now, they could have a rough path by end of the month. Once the road is built, then you lay new pipeline. Say 3-4 years to do everything. Once Hormuz is bypassed, Iran has lost all leverage.
- BillionSatsPage 6mo agopreditction market section is a great touch, OP