Public API — Strait of Hormuz Ship Monitor
What this site does
Monitors all commercial shipping through the Strait of Hormuz — the narrow waterway between the Persian Gulf and the Gulf of Oman through which ~20% of global oil supply transits. Data is collected every 30 minutes from AIS (Automatic Identification System) transponders.
Key features
- Live ship positions in the Persian Gulf, Gulf of Oman, and Strait of Hormuz
- Inbound/outbound crossing detection and statistics, by path (Oman or Iran side), with sanctions-list matches
- Oil leaving the Gulf table: tankers crossing the strait outbound, crude loaded at Fujairah (Habshan-Fujairah pipeline), ship-to-ship exports from the Gulf of Oman, and the reported Saudi East-West (Yanbu) figure; last 24 h, 7-day average and pre-war per route; method at /about#oil-leaving-the-gulf
- LNG/LPG estimate (gas carriers crossing outbound) and dry cargo estimate (bulk, container and general cargo ships, both ways; method at /about#dry-cargo)
- Ship type breakdown: tankers (VLCC, crude oil), cargo (bulk, container), chemical/product tankers
- 30-day historical crossing charts with category filtering
- Animated replay of ship movements (crossing ships and all-traffic views)
- Ship directory with search, sort, and the last 15 days of position history
- Live ship map page (/live-map): every vessel in the tracked area, headings, 7-day tracks, UKMTO attack reports
- 24-hour traffic replay page (/map-replay): ship movements through the strait, half an hour per step, by ship type
- Ship directory page (/ship-directory): every tracked vessel, searchable by name or MMSI, with position and crossing history
- Tanker pages (/tankers): every tanker that crossed the strait in the last 30 days; /tankers/<name>-<id> lists one tanker's crossings, lane, estimated cargo, details and last position
- Bab el-Mandeb page (/bab-el-mandeb): the Red Sea chokepoint — northbound/southbound crossings, tanker tonnage, ships in the strait, live map
- STS Watch (/sts, beta): suspected ship-to-ship oil transfers in the Gulf of Oman — loitering receiver tankers matched against tankers that went dark in the Persian Gulf, estimated barrels per month (upper bound), per-case tracks; method at /about#sts
- Monthly statistics pages (/stats, /stats/YYYY-MM): crossings, outbound tankers and estimated oil outflow per month
- Guides (/guides): tanker types, the shipping timeline since the closure, bypass pipelines, AIS jamming
- UKMTO attack reports (attacks only) marked on the live map and the replay, with the report text; source UKMTO, Open Government Licence
- Oil storage page (/storage): tracked inventories (EIA, PAJ, JODI, Eurostat), EIA STEO implied stock change, OECD cross-check
- Supply & demand page (/supply): production vs consumption, Gulf producers, US Persian Gulf imports, OPEC vs non-OPEC, regional demand (EIA STEO/PSM, daily)
Public JSON API endpoints
GET /api/summary?hours=24— Dashboard stats: ship counts, crossing totals- Add format=csv to /api/crossings, /api/crossings/daily, /api/oil_export/daily, /api/gas_export/daily or /api/ships/daily for CSV (for example /api/crossings/daily?days=30&format=csv); columns are flattened with dots (crude.barrels) and ordered day first, then alphabetically
GET /api/crossings?hours=24— Strait crossings in the period with ship details, newest first. direction=inbound or outbound (default both); direction=in_strait lists the ships in the strait at the latest poll instead; limit= up to 1,000 (default 100)GET /api/crossings/by_type?hours=24— Crossings grouped by ship categoryGET /api/crossings/daily?days=30— Daily crossing counts by directionGET /api/crossings/daily/by_cat?days=30— Daily counts by ship category: inbound and outbound crossings, and in_strait (distinct ships seen in the strait that day)GET /api/oil_export/daily?days=30— Estimated oil leaving through the strait per day: outbound tanker crossings, barrels split into crude and petrochemical (load factor and barrels per ton in the response)GET /api/gas_export/daily?days=30— Estimated LNG/LPG leaving through the strait per day, in tons (LNG and LPG carriers counted together)GET /api/ships— Ships at the latest poll inside the tracked zones, with position, heading and recent fixes. zone=persian_gulf, gulf_of_oman or strait; category= a ship_category value; zones_only=0 adds ships outside the zones; limit= caps the rows (default all)GET /api/ships/by_zone— Ship counts by zone and categoryGET /api/ships/directory— Every tracked ship with its last position, at most 500 per request. search= matches the name, the ship id or the 9-digit MMSI; category=, zone= and flag= filter; sort= name, ship_category, flag, dwt, length, zone, destination, last_updated (default) or last_position, with dir=asc or desc (default). total is the number of tracked ships when unfiltered, and with a search or filter the number of matches, or the string "> 500"GET /api/ships/daily?days=30— Daily unique ship counts by zoneGET /api/ship/history?mmsi=<mmsi>— One ship's positions over the last 15 days. <mmsi> is the ship's site id (mmsi) or its 9-digit AIS MMSI (ais_mmsi); when several ships report the same AIS MMSI, the most recently seen one is used. mode=summary (default): distinct locations, oldest first, up to 100 (&limit= up to 500); mode=detailed: the last 1,000 positions, newest first; &days= (1 to 15) or &hours= (1 to 360) narrows the windowGET /api/ship/track?crossing_id=<id>— One ship's positions from 3 hours before to 3 hours after a crossing; <id> is crossing_id from /api/crossings (empty for crossings older than 30 days)GET /api/bypass?hours=24— Oil leaving the Gulf past the strait: crude loaded at Fujairah (daily series, every loading of the last 31 days), ship-to-ship exports from the Gulf of Oman, and the published Saudi East-West figureGET /api/dry_cargo?hours=24— Estimated dry cargo crossing the strait (bulk, container and general cargo ships, both ways): period totals, the ships behind them, 31-day daily seriesGET /api/incidents— UKMTO incident reports (compact table format; attribution required)GET /api/sanctioned_vessels/summary?hours=24— Ships that crossed the strait in the period, or are in it now, matching a sanctions list: counts by confidence (confirmed = MMSI or IMO match, possible = name match)GET /api/sanctioned_vessels/list?hours=24— The matched ships with the listed name, sanctions programs, listing date, confidence and a link to the source entryGET /api/sanctioned_vessels/daily?days=30— Matched ships crossing per day, confirmed and possibleGET /api/inventories/summary— Latest and previous value of every tracked oil inventory series (EIA, PAJ, JODI, Eurostat), each with its keyGET /api/inventories/series?key=<key>— The full history of one inventory series, for example key=eia/us/spr (keys from /api/inventories/summary)GET /api/bab/summary?hours=24— Bab el-Mandeb card values: crossings by direction, oil barrels, gas tons, ships by zoneGET /api/bab/crossings?hours=24— Bab el-Mandeb crossings, same row shape as /api/crossings without ais_mmsi. direction=northbound or southbound (default both), or in_strait; limit= up to 1,000 (default 100)GET /api/bab/ships— Ships in the latest Bab el-Mandeb pollGET /api/bab/ship/history?mmsi=<id>— One Bab el-Mandeb ship's positions over the last 15 days; <id> is the mmsi value from /api/bab/ships (the 9-digit MMSI is not accepted here); same mode, days and hours options as /api/ship/historyGET /api/bab/daily?days=30— Bab el-Mandeb per-day crossings, tonnage and ship counts
Ship identifiers
- mmsi — the site's ship id; it does not change for a ship, and /api/ship/history takes it
- ais_mmsi — the ship's 9-digit AIS MMSI, in /api/ships, /api/ships/directory and /api/crossings rows; null when the ship has not broadcast a valid one (about 2% of ships seen in the last 15 days, mostly fishing boats, buoys and other small craft). Several ships can report the same AIS MMSI, so use mmsi as the key
Limits
- Every time window is capped at 30 days: hours at most 720, days at most 30. Larger values are reduced to the cap, not rejected.
- Ship history (/api/ship/history, /api/bab/ship/history) covers the last 15 days at most: hours at most 360, days at most 15.
- Inventory series (/api/inventories/series) are monthly or weekly figures and come with their full history.
- Older periods are published as monthly statistics pages: /stats/YYYY-MM (every month since March 2026).
- Data changes every 30 minutes, so polling faster gains nothing; please keep request rates reasonable.
Data coverage
- Persian Gulf zone: lat 23.5–30.24, lon 47.36–56.15
- Gulf of Oman zone: lat 22.4–26.09, lon 56.3–60.89
- ~4,000 ships monitored per poll cycle
- Polls every 30 minutes, 24/7
- Ship positions are kept for 365 days (the last 30 in full, older ones compacted; history from March 2026 with a gap from 9 April to 19 May); crossings and monthly statistics are kept since tracking began (March 2026)
Licence
Data from this site may be reused, including commercially, under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) with attribution to hormuz.data-tracking.net. Three exceptions keep their sources' terms: UKMTO incident reports stay under the Open Government Licence; sanctions matches (/api/sanctioned_vessels) are built from OpenSanctions data, which is licensed CC BY-NC 4.0 (non-commercial use, attribution to OpenSanctions; https://www.opensanctions.org/licensing/); inventory series (/api/inventories) keep their publishers' terms (EIA, PAJ, JODI, Eurostat).
URL
https://hormuz.data-tracking.net/
Usage & terms
All endpoints return JSON over HTTPS (several also CSV, with format=csv) and require no key or registration. Data may be
reused, including commercially, under CC BY 4.0
with attribution to hormuz.data-tracking.net. UKMTO incident reports stay under the Open
Government Licence, sanctions matches under OpenSanctions' CC BY-NC 4.0 (non-commercial) and
inventory series under their publishers' terms; see Licence above. Please keep request rates reasonable — the data only changes every 30 minutes,
so there is nothing to gain from polling faster than that. Time windows are capped at
30 days (hours ≤ 720, days ≤ 30), and ship history at 15 days
(hours ≤ 360, days ≤ 15); larger values are reduced to
the cap. For earlier periods see the monthly statistics.