{"openapi":"3.1.0","info":{"title":"Hormuz Strait Tracker API","version":"1.0.0","summary":"Oil and tanker flows through the Strait of Hormuz and the routes around it","description":"Aggregated estimates of oil and liquids moving through the Strait of Hormuz, satellite loadings at Gulf and Red Sea terminals, tanker presence and inbound capacity, and the headline models published on Hormuz Strait Tracker. Every value is an aggregate: there are no vessel identities, positions, or tracks.\n\nDates are signal dates: date D covers noon UTC on D−1 to noon UTC on D. A date with no row was not observed; do not read it as zero. Rows marked preliminary will be revised, usually upward. Show the attribution text wherever the data is used.\n\nAuthenticate with \"Authorization: Bearer <key>\". Any free account can create a key at https://hormuzstraittracker.com/account/api. Keys without API permission receive every dataset with the latest 30 days withheld. Current data needs API permission on the account or its institutional license.\n\nStart at /datasets for the catalog, or /latest for one recent row per dataset. Unknown parameters are refused with the list of valid ones.","termsOfService":"https://hormuzstraittracker.com/terms","contact":{"name":"Hormuz Strait Tracker","email":"philip@hormuzstraittracker.com","url":"https://hormuzstraittracker.com/developers"}},"externalDocs":{"description":"API reference","url":"https://hormuzstraittracker.com/developers/docs"},"servers":[{"url":"https://hormuzstraittracker.com/api/v1"}],"security":[{"apiKey":[]}],"tags":[{"name":"Catalog","description":"Public; no key needed."},{"name":"Data","description":"Needs a key."}],"paths":{"/datasets":{"get":{"operationId":"list_datasets","tags":["Catalog"],"security":[],"summary":"List datasets","description":"Every dataset with its dimensions, measures, and caveats.","responses":{"200":{"description":"The catalog.","content":{"application/json":{"schema":{"type":"object","required":["datasets"],"properties":{"datasets":{"type":"array","items":{"$ref":"#/components/schemas/Dataset"}},"docs_url":{"type":"string"},"openapi_url":{"type":"string"}}}}}}}}},"/datasets/{id}":{"get":{"operationId":"get_dataset","tags":["Catalog"],"security":[],"summary":"Describe one dataset","description":"The catalog entry for one dataset.","parameters":[{"name":"id","in":"path","required":true,"description":"Dataset id.","schema":{"type":"string","enum":["loadings","exits","entries","presence","estimates"]}}],"responses":{"200":{"description":"The catalog entry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dataset"}}}},"404":{"$ref":"#/components/responses/not-found"}}}},"/openapi.json":{"get":{"operationId":"get_openapi","tags":["Catalog"],"security":[],"summary":"This document","description":"The OpenAPI 3.1 description of the API.","responses":{"200":{"description":"OpenAPI 3.1.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/latest":{"get":{"operationId":"get_latest","tags":["Data"],"summary":"Most recent row of every dataset","description":"For each dataset, the latest row this key may read, at the dataset’s default window, for each default group. JSON only. Keys without API permission receive every dataset with the latest 30 days withheld.","responses":{"200":{"description":"One entry per dataset.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Latest"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"}}},"400":{"$ref":"#/components/responses/invalid-parameter"},"401":{"$ref":"#/components/responses/unauthorized"},"429":{"$ref":"#/components/responses/rate-limited"},"500":{"$ref":"#/components/responses/internal"},"503":{"$ref":"#/components/responses/unavailable"}}}},"/loadings":{"get":{"operationId":"get_loadings","tags":["Data"],"summary":"Satellite loadings","description":"Tanker loading activity at Persian Gulf and Saudi Red Sea export terminals, from Sentinel-1 and Sentinel-2 imagery. Values are capacity observed loading per usable pass, averaged per site and then summed.\n\nOne record: One usable satellite capture of a monitored loading site and the tankers detected at its berths.\n\nCoverage begins 2025-01-08. Keys without API permission receive every dataset with the latest 30 days withheld.\n\nCaveats:\n- A pass is a snapshot. A site without a usable pass in the window contributes nothing to a sum, so compare usable_passes between dates.\n- Captures published late by Copernicus can revise recent dates.\n- Charts on this site use a 7-day window for the Persian Gulf region and 14 days for the Red Sea and for countries.\n- Barrels are the carrying capacity of detected tankers (deadweight × 7), not measured cargo.\n- Weekly and monthly rows are dated by the Monday or the first of the period and average its daily values; a period at either end of the requested range covers only the dates requested.","parameters":[{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"interval","in":"query","required":false,"description":"Length of each row’s period.","schema":{"type":"string","enum":["day","week","month"],"default":"day"}},{"name":"window","in":"query","required":false,"description":"Trailing window in days; 1 is unsmoothed.","schema":{"type":"integer","minimum":1,"maximum":90,"default":14}},{"name":"group_by","in":"query","required":false,"description":"Dimensions to split rows by, comma-separated or repeated.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["site","terminal","country","region","cargo"]},"uniqueItems":true}},{"name":"site","in":"query","required":false,"description":"A single monitored berth group. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":true}},{"name":"terminal","in":"query","required":false,"description":"Export terminal (port) slug. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":true}},{"name":"country","in":"query","required":false,"description":"ISO country code of the terminal. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":true}},{"name":"region","in":"query","required":false,"description":"Body of water. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["persian_gulf","red_sea"]},"uniqueItems":true}},{"name":"cargo","in":"query","required":false,"description":"Crude or product; region level only. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["crude","product"]},"uniqueItems":true}},{"$ref":"#/components/parameters/format"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Rows in date order.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Link":{"description":"The next page, when there is one (rel=\"next\").","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoadingsResponse"},"example":{"dataset":"loadings","title":"Satellite loadings","from":"2026-06-30","to":"2026-06-30","interval":"day","window":14,"basis":null,"group_by":["region"],"filters":{},"as_of":"2026-11-25T15:00:00.000Z","measures":[{"id":"barrels_per_pass","unit":"bbl","description":"Capacity observed loading per usable pass over the trailing window, averaged per site and summed. Null when the selection had no usable pass in the window."},{"id":"percent_of_2025","unit":"%","description":"barrels_per_pass relative to the same selection’s full-year 2025 average; null where that baseline is negligible."},{"id":"estimated_bpd","unit":"bbl/day","description":"Estimated liquids loaded or exported. Persian Gulf and single countries only; null otherwise. Country values include the UAE’s pipeline to Fujairah."},{"id":"usable_passes","unit":"captures","description":"Usable captures in the trailing window, summed across sites."}],"access":{"level":"delayed","delayed_through":"2026-10-25","latest_available":"2026-11-24","notice":"Dates after 2026-10-25 are withheld from this key."},"methodology_url":"https://hormuzstraittracker.com/methodology","license":"Licensed under the Hormuz Strait Tracker Terms of Service for the uses your plan permits. Attribution is required. Bulk redistribution and resale of data are not permitted.","license_url":"https://hormuzstraittracker.com/terms","attribution":"Source: Hormuz Strait Tracker (hormuzstraittracker.com)","row_count":1,"next_cursor":null,"rows":[{"date":"2026-06-30","region":"persian_gulf","barrels_per_pass":1250000,"percent_of_2025":4,"estimated_bpd":37.5,"usable_passes":1250000,"status":"final"}]}},"text/csv":{"schema":{"type":"string","description":"The rows as CSV: date, each grouped dimension, each measure, status."}}}},"400":{"$ref":"#/components/responses/invalid-parameter"},"401":{"$ref":"#/components/responses/unauthorized"},"429":{"$ref":"#/components/responses/rate-limited"},"500":{"$ref":"#/components/responses/internal"},"503":{"$ref":"#/components/responses/unavailable"}}}},"/exits":{"get":{"operationId":"get_exits","tags":["Data"],"summary":"Gulf of Oman tanker exits","description":"Crude and product barrels leaving the Gulf of Oman each day, by declared destination, cargo, vessel class, and how the exit was observed. The gross basis counts every accepted exit; the hormuz basis deducts Fujairah and Oman volumes that never crossed the Strait.\n\nOne record: One accepted exit of a laden liquids tanker across the Gulf of Oman line between Sur, Oman and Chabahar, Iran.\n\nCoverage begins 2026-02-08. Keys without API permission receive every dataset with the latest 30 days withheld.\n\nCaveats:\n- The latest 10 signal dates are preliminary: tankers that exit with AIS off are added once they reappear downstream.\n- Destinations are what vessels report over AIS. They are often missing, approximate, or changed later, and Singapore and Egypt are usually waypoints.\n- Totals before June 4, 2026 come from reported figures. They can be split by cargo but not by destination, vessel class, or evidence. Results that use those dimensions start with the first full trailing window after that date: June 10 for a 7-day window.\n- Exits before August 20, 2026 come from reviewed records rather than continuous AIS coverage and are counted as direct.\n- Grouped results omit slices with no exits in the window. Week and month values are means of the daily values in the period, so request window=1 for unsmoothed periods.\n- Point-in-time changes before the change log went live were reconstructed from event timestamps and apply the current 60-hour reversal rule throughout.","parameters":[{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"interval","in":"query","required":false,"description":"Length of each row’s period.","schema":{"type":"string","enum":["day","week","month"],"default":"day"}},{"name":"window","in":"query","required":false,"description":"Trailing window in days; 1 is unsmoothed.","schema":{"type":"integer","minimum":1,"maximum":90,"default":7}},{"name":"group_by","in":"query","required":false,"description":"Dimensions to split rows by, comma-separated or repeated.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["destination_country","destination_group","cargo","vessel_class","evidence"]},"uniqueItems":true}},{"name":"destination_country","in":"query","required":false,"description":"ISO 3166-1 alpha-2 code of the country named in the tanker’s reported AIS destination, or undeclared when no report names a port. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":true}},{"name":"destination_group","in":"query","required":false,"description":"Whether the reported destination names a country, names a common waypoint (Singapore or Egypt), or is undeclared. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["declared","waypoint","undeclared"]},"uniqueItems":true}},{"name":"cargo","in":"query","required":false,"description":"Crude, or product including chemicals and LPG. LNG is excluded. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["crude","product"]},"uniqueItems":true}},{"name":"vessel_class","in":"query","required":false,"description":"Deadweight class. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["vlcc","suezmax","aframax","panamax","mr","handysize"]},"uniqueItems":true}},{"name":"evidence","in":"query","required":false,"description":"Direct when the crossing itself was recorded; inferred when a tanker that exited with AIS off was later seen downstream. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["direct","inferred"]},"uniqueItems":true}},{"name":"basis","in":"query","required":false,"description":"gross: All accepted Gulf of Oman exits. hormuz: Gross exits less estimated Fujairah pipeline and Oman exports. Each date’s slices are scaled by the same factor, so shares are unchanged.","schema":{"type":"string","enum":["gross","hormuz"],"default":"gross"}},{"name":"as_of","in":"query","required":false,"description":"Return the values as they were known at this time (ISO 8601 with a zone).","schema":{"type":"string","format":"date-time"}},{"$ref":"#/components/parameters/format"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Rows in date order.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Link":{"description":"The next page, when there is one (rel=\"next\").","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExitsResponse"},"example":{"dataset":"exits","title":"Gulf of Oman tanker exits","from":"2026-06-30","to":"2026-06-30","interval":"day","window":7,"basis":"gross","group_by":[],"filters":{},"as_of":"2026-11-25T15:00:00.000Z","measures":[{"id":"barrels_per_day","unit":"barrels per day","description":"Estimated cargo, averaged over the trailing window."},{"id":"tankers_per_day","unit":"tankers per day","description":"Observed laden exits, averaged over the trailing window. The same count on both bases; null before individual exits are available."}],"access":{"level":"delayed","delayed_through":"2026-10-25","latest_available":"2026-11-24","notice":"Dates after 2026-10-25 are withheld from this key."},"methodology_url":"https://hormuzstraittracker.com/methodology","license":"Licensed under the Hormuz Strait Tracker Terms of Service for the uses your plan permits. Attribution is required. Bulk redistribution and resale of data are not permitted.","license_url":"https://hormuzstraittracker.com/terms","attribution":"Source: Hormuz Strait Tracker (hormuzstraittracker.com)","row_count":1,"next_cursor":null,"rows":[{"date":"2026-06-30","barrels_per_day":1250000,"tankers_per_day":4,"status":"final"}]}},"text/csv":{"schema":{"type":"string","description":"The rows as CSV: date, each grouped dimension, each measure, status."}}}},"400":{"$ref":"#/components/responses/invalid-parameter"},"401":{"$ref":"#/components/responses/unauthorized"},"429":{"$ref":"#/components/responses/rate-limited"},"500":{"$ref":"#/components/responses/internal"},"503":{"$ref":"#/components/responses/unavailable"}}}},"/entries":{"get":{"operationId":"get_entries","tags":["Data"],"summary":"Empty tankers inbound","description":"Empty oil and product tankers heading for the Gulf, measured as they cross into the Gulf of Oman and, earlier, in five upstream monitoring areas (the corridor stage).\n\nOne record: One empty tanker entering the Gulf of Oman, or one seen in an upstream monitoring area with a Gulf destination.\n\nCoverage begins 2026-08-20. Keys without API permission receive every dataset with the latest 30 days withheld.\n\nCaveats:\n- The two stages see the same voyages at different points, so they must not be added.\n- A corridor vessel qualifies by its reported AIS destination, which crews set by hand; vessels reporting no Gulf destination, or sailing with AIS off, are missed.\n- A corridor row exists only when every corridor it covers was observed for the whole trailing window. Malacca and Sri Lanka observation began in mid-August 2026 and the other corridors in late August.\n- Weekly and monthly rows are dated by the Monday or the first of the period and average its daily values; a period at either end of the requested range covers only the dates requested.","parameters":[{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"interval","in":"query","required":false,"description":"Length of each row’s period.","schema":{"type":"string","enum":["day","week","month"],"default":"day"}},{"name":"window","in":"query","required":false,"description":"Trailing window in days; 1 is unsmoothed.","schema":{"type":"integer","minimum":1,"maximum":30,"default":7}},{"name":"group_by","in":"query","required":false,"description":"Dimensions to split rows by, comma-separated or repeated.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["stage","corridor","cargo","vessel_class"]},"uniqueItems":true}},{"name":"stage","in":"query","required":false,"description":"goo_line counts crossings into the Gulf of Oman; corridor counts distinct Gulf-bound vessels seen in the upstream monitoring areas. The stages are never added together. Without a stage filter or grouping, goo_line is returned. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["goo_line","corridor"]},"uniqueItems":true}},{"name":"corridor","in":"query","required":false,"description":"Where a corridor-stage vessel was seen. Grouped by corridor, a vessel counts once, at its latest sighting in the window. Filtering first limits which sightings are considered. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["malacca","sri_lanka","bab_el_mandeb","suez","eastern_cape"]},"uniqueItems":true}},{"name":"cargo","in":"query","required":false,"description":"Crude or product tanker, using the site’s standard liquids classification. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["crude","product"]},"uniqueItems":true}},{"name":"vessel_class","in":"query","required":false,"description":"Deadweight class. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["vlcc","suezmax","aframax","panamax","mr","handysize"]},"uniqueItems":true}},{"$ref":"#/components/parameters/format"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Rows in date order.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Link":{"description":"The next page, when there is one (rel=\"next\").","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntriesResponse"},"example":{"dataset":"entries","title":"Empty tankers inbound","from":"2026-06-30","to":"2026-06-30","interval":"day","window":7,"basis":null,"group_by":["stage"],"filters":{},"as_of":"2026-11-25T15:00:00.000Z","measures":[{"id":"tankers_per_day","unit":"tankers/day","description":"goo_line only: average daily entries over the trailing window."},{"id":"capacity_barrels_per_day","unit":"bbl/day","description":"goo_line only: average daily carrying capacity entering (deadweight × 7), gross of Fujairah and Oman requirements."},{"id":"tankers","unit":"tankers","description":"corridor only: distinct vessels seen during the trailing window."},{"id":"capacity_barrels","unit":"bbl","description":"corridor only: combined carrying capacity of those vessels (deadweight × 7)."}],"access":{"level":"delayed","delayed_through":"2026-10-25","latest_available":"2026-11-24","notice":"Dates after 2026-10-25 are withheld from this key."},"methodology_url":"https://hormuzstraittracker.com/methodology","license":"Licensed under the Hormuz Strait Tracker Terms of Service for the uses your plan permits. Attribution is required. Bulk redistribution and resale of data are not permitted.","license_url":"https://hormuzstraittracker.com/terms","attribution":"Source: Hormuz Strait Tracker (hormuzstraittracker.com)","row_count":1,"next_cursor":null,"rows":[{"date":"2026-06-30","stage":"goo_line","tankers_per_day":1250000,"capacity_barrels_per_day":4,"tankers":37.5,"capacity_barrels":1250000,"status":"final"}]}},"text/csv":{"schema":{"type":"string","description":"The rows as CSV: date, each grouped dimension, each measure, status."}}}},"400":{"$ref":"#/components/responses/invalid-parameter"},"401":{"$ref":"#/components/responses/unauthorized"},"429":{"$ref":"#/components/responses/rate-limited"},"500":{"$ref":"#/components/responses/internal"},"503":{"$ref":"#/components/responses/unavailable"}}}},"/presence":{"get":{"operationId":"get_presence","tags":["Data"],"summary":"Tankers in the Gulf","description":"How many tankers (excluding those known to be under 15,000 DWT) are inside the Persian Gulf and Gulf of Oman, what they could carry, and how much they appear to be carrying.\n\nOne record: One tanker seen by AIS inside the Persian Gulf or Gulf of Oman during one signal date.\n\nCoverage begins 2026-08-26. Keys without API permission receive every dataset with the latest 30 days withheld.\n\nCaveats:\n- Tankers that switch off AIS for a whole signal date are not counted. GPS interference in the Gulf can also misplace tankers.\n- Draughts are entered by crews and may be stale. A tanker without a draught in the previous seven days is in an unknown state, so laden and ballast counts are lower bounds.\n- Regular draught collection for tankers that stay inside the Gulf began in late November 2026; unknown_share is higher before then.\n- A signal date is left out when its tanker count is under 60% of the median of the 14 dates ending on it, which means AIS collection was incomplete. Trailing averages skip it.\n- Vessels carrying LNG or other non-LPG gas are excluded.","parameters":[{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"interval","in":"query","required":false,"description":"Length of each row’s period.","schema":{"type":"string","enum":["day","week","month"],"default":"day"}},{"name":"window","in":"query","required":false,"description":"Trailing window in days; 1 is unsmoothed.","schema":{"type":"integer","minimum":1,"maximum":365,"default":1}},{"name":"group_by","in":"query","required":false,"description":"Dimensions to split rows by, comma-separated or repeated.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["area","state","vessel_class"]},"uniqueItems":true}},{"name":"area","in":"query","required":false,"description":"Where the tanker was last seen that date, divided at 56.4°E. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["persian_gulf","gulf_of_oman"]},"uniqueItems":true}},{"name":"state","in":"query","required":false,"description":"Ballast when the draught reported within the previous seven days implies a tanker less than 15% full, laden at 15% or more, and unknown without a usable draught. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["laden","ballast","unknown"]},"uniqueItems":true}},{"name":"vessel_class","in":"query","required":false,"description":"Size class by deadweight tonnage; unknown when the deadweight is not known. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["vlcc","suezmax","aframax","panamax","mr","handysize","unknown"]},"uniqueItems":true}},{"$ref":"#/components/parameters/format"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Rows in date order.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Link":{"description":"The next page, when there is one (rel=\"next\").","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresenceResponse"},"example":{"dataset":"presence","title":"Tankers in the Gulf","from":"2026-06-30","to":"2026-06-30","interval":"day","window":1,"basis":null,"group_by":["area","state"],"filters":{},"as_of":"2026-11-25T15:00:00.000Z","measures":[{"id":"tankers","unit":"tankers","description":"Distinct tankers seen, averaged over the window or interval."},{"id":"capacity_barrels","unit":"barrels","description":"Deadweight tonnage × 7, summed over tankers with a known deadweight."},{"id":"estimated_cargo_barrels","unit":"barrels","description":"Estimated cargo aboard laden tankers. Tankers in an unknown state contribute nothing."},{"id":"unknown_share","unit":"ratio","description":"Share of tankers in an unknown state among all tankers in the same area and size class, whatever state is selected. Read laden and ballast counts with caution when it is high."}],"access":{"level":"delayed","delayed_through":"2026-10-25","latest_available":"2026-11-24","notice":"Dates after 2026-10-25 are withheld from this key."},"methodology_url":"https://hormuzstraittracker.com/methodology","license":"Licensed under the Hormuz Strait Tracker Terms of Service for the uses your plan permits. Attribution is required. Bulk redistribution and resale of data are not permitted.","license_url":"https://hormuzstraittracker.com/terms","attribution":"Source: Hormuz Strait Tracker (hormuzstraittracker.com)","row_count":1,"next_cursor":null,"rows":[{"date":"2026-06-30","area":"persian_gulf","state":"laden","tankers":1250000,"capacity_barrels":4,"estimated_cargo_barrels":37.5,"unknown_share":1250000,"status":"final"}]}},"text/csv":{"schema":{"type":"string","description":"The rows as CSV: date, each grouped dimension, each measure, status."}}}},"400":{"$ref":"#/components/responses/invalid-parameter"},"401":{"$ref":"#/components/responses/unauthorized"},"429":{"$ref":"#/components/responses/rate-limited"},"500":{"$ref":"#/components/responses/internal"},"503":{"$ref":"#/components/responses/unavailable"}}}},"/estimates":{"get":{"operationId":"get_estimates","tags":["Data"],"summary":"Modeled estimates","description":"The site’s headline models: total exports, implied Hormuz flow, Red Sea offset, Persian Gulf loadings, the liquids deficit, inbound tanker capacity, and exports by country.\n\nOne record: One modeled daily value of a series, as charted on this site.\n\nCoverage begins 2025-01-08. Keys without API permission receive every dataset with the latest 30 days withheld.\n\nCaveats:\n- Without a window, every series uses its window on the site: 14 days for red_sea_offset and country_exports, 7 for the rest. Only total_exports, hormuz, and inbound_capacity accept other windows; every series accepts 1 for daily values.\n- Hormuz flows begin 2026-02-08 and inbound capacity 2026-08-20; the satellite models begin 2025-01-08.\n- The latest 10 dates of the hormuz series are preliminary and tend to be revised upward as tankers reappear downstream.\n- Crude and product deficits are capped at zero separately, so a surplus of one never offsets the other.\n- Weekly and monthly rows are dated by the Monday or the first of the period and average its daily values; a period at either end of the requested range covers only the dates requested.\n- In weekly and monthly rows, cumulative_barrels is the total at the end of the period.","parameters":[{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"interval","in":"query","required":false,"description":"Length of each row’s period.","schema":{"type":"string","enum":["day","week","month"],"default":"day"}},{"name":"window","in":"query","required":false,"description":"Trailing window in days; 1 is unsmoothed.","schema":{"type":"integer","minimum":1,"maximum":90,"default":7}},{"name":"group_by","in":"query","required":false,"description":"Dimensions to split rows by, comma-separated or repeated.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["series","cargo","country"]},"uniqueItems":true}},{"name":"series","in":"query","required":false,"description":"Which estimate. Filter to one, or group by series. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["total_exports","hormuz","red_sea_offset","gulf_loadings","deficit","inbound_capacity","country_exports"]},"uniqueItems":true}},{"name":"cargo","in":"query","required":false,"description":"Crude or product; not available for country_exports. Without it, values are total liquids. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["crude","product"]},"uniqueItems":true}},{"name":"country","in":"query","required":false,"description":"Exporting country (ISO code); country_exports only. Several values match any of them.","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","enum":["SA","IQ","AE","KW","IR","QA","BH"]},"uniqueItems":true}},{"$ref":"#/components/parameters/format"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Rows in date order.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Link":{"description":"The next page, when there is one (rel=\"next\").","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimatesResponse"},"example":{"dataset":"estimates","title":"Modeled estimates","from":"2026-06-30","to":"2026-06-30","interval":"day","window":7,"basis":null,"group_by":["series"],"filters":{},"as_of":"2026-11-25T15:00:00.000Z","measures":[{"id":"barrels_per_day","unit":"bbl/day","description":"The trailing average, or the daily value at window=1. The deficit series is zero or negative: the shortfall from the pre-war baseline."},{"id":"percent_of_baseline","unit":"%","description":"Relative to the pre-war baseline the site uses; null for red_sea_offset, deficit, and inbound_capacity, which have none."},{"id":"cumulative_barrels","unit":"bbl","description":"deficit only: barrels lost since 2026-03-01, as a positive total of daily shortfalls."}],"access":{"level":"delayed","delayed_through":"2026-10-25","latest_available":"2026-11-24","notice":"Dates after 2026-10-25 are withheld from this key."},"methodology_url":"https://hormuzstraittracker.com/methodology","license":"Licensed under the Hormuz Strait Tracker Terms of Service for the uses your plan permits. Attribution is required. Bulk redistribution and resale of data are not permitted.","license_url":"https://hormuzstraittracker.com/terms","attribution":"Source: Hormuz Strait Tracker (hormuzstraittracker.com)","row_count":1,"next_cursor":null,"rows":[{"date":"2026-06-30","series":"total_exports","barrels_per_day":1250000,"percent_of_baseline":4,"cumulative_barrels":37.5,"status":"final"}]}},"text/csv":{"schema":{"type":"string","description":"The rows as CSV: date, each grouped dimension, each measure, status."}}}},"400":{"$ref":"#/components/responses/invalid-parameter"},"401":{"$ref":"#/components/responses/unauthorized"},"429":{"$ref":"#/components/responses/rate-limited"},"500":{"$ref":"#/components/responses/internal"},"503":{"$ref":"#/components/responses/unavailable"}}}},"/exits/revisions":{"get":{"operationId":"get_exit_revisions","tags":["Data"],"summary":"Exit revisions","description":"How each signal date’s gross Gulf of Oman exits have changed since it was first published. Recent dates rise as tankers that crossed without AIS are seen further downstream. Keys without API permission receive every dataset with the latest 30 days withheld.","parameters":[{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"$ref":"#/components/parameters/format"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"One row per signal date.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExitRevisionsResponse"},"example":{"maturity":[{"age_days":3,"percent_of_current":62.5,"dates":40}],"dataset":"exits/revisions","title":"Exit revisions","from":"2026-06-30","to":"2026-06-30","interval":"day","window":null,"basis":null,"group_by":[],"filters":{},"as_of":"2026-11-25T15:00:00.000Z","measures":[{"id":"first_released_at","unit":"time","description":"When the date was first published."},{"id":"first_release_barrels","unit":"barrels","description":"Gross exits for the date as first published."},{"id":"current_barrels","unit":"barrels","description":"Gross exits for the date as published now."},{"id":"revision_barrels","unit":"barrels","description":"Current minus first release."},{"id":"first_release_average_barrels_per_day","unit":"barrels per day","description":"The trailing seven-day average ending on the date, as it stood at first release."},{"id":"current_average_barrels_per_day","unit":"barrels per day","description":"The same seven-day average now."},{"id":"percent_published_after_1d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 1 after the signal date; null when not known."},{"id":"percent_published_after_2d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 2 after the signal date; null when not known."},{"id":"percent_published_after_3d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 3 after the signal date; null when not known."},{"id":"percent_published_after_4d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 4 after the signal date; null when not known."},{"id":"percent_published_after_5d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 5 after the signal date; null when not known."},{"id":"percent_published_after_6d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 6 after the signal date; null when not known."},{"id":"percent_published_after_7d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 7 after the signal date; null when not known."},{"id":"percent_published_after_8d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 8 after the signal date; null when not known."},{"id":"percent_published_after_9d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 9 after the signal date; null when not known."},{"id":"percent_published_after_10d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 10 after the signal date; null when not known."},{"id":"percent_published_after_11d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 11 after the signal date; null when not known."},{"id":"percent_published_after_12d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 12 after the signal date; null when not known."},{"id":"percent_published_after_13d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 13 after the signal date; null when not known."},{"id":"percent_published_after_14d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 14 after the signal date; null when not known."},{"id":"percent_published_after_15d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 15 after the signal date; null when not known."},{"id":"percent_published_after_16d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 16 after the signal date; null when not known."},{"id":"percent_published_after_17d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 17 after the signal date; null when not known."},{"id":"percent_published_after_18d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 18 after the signal date; null when not known."},{"id":"percent_published_after_19d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 19 after the signal date; null when not known."},{"id":"percent_published_after_20d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 20 after the signal date; null when not known."},{"id":"percent_published_after_21d","unit":"%","description":"Share of the current value that had been published by the end of UTC day 21 after the signal date; null when not known."}],"access":{"level":"delayed","delayed_through":"2026-10-25","latest_available":"2026-11-24","notice":"Dates after 2026-10-25 are withheld from this key."},"methodology_url":"https://hormuzstraittracker.com/methodology","license":"Licensed under the Hormuz Strait Tracker Terms of Service for the uses your plan permits. Attribution is required. Bulk redistribution and resale of data are not permitted.","license_url":"https://hormuzstraittracker.com/terms","attribution":"Source: Hormuz Strait Tracker (hormuzstraittracker.com)","row_count":1,"next_cursor":null,"rows":[{"date":"2026-06-30","first_released_at":"2026-11-25T15:00:00.000Z","first_release_barrels":4,"current_barrels":37.5,"revision_barrels":1250000,"first_release_average_barrels_per_day":4,"current_average_barrels_per_day":37.5,"percent_published_after_1d":1250000,"percent_published_after_2d":4,"percent_published_after_3d":37.5,"percent_published_after_4d":1250000,"percent_published_after_5d":4,"percent_published_after_6d":37.5,"percent_published_after_7d":1250000,"percent_published_after_8d":4,"percent_published_after_9d":37.5,"percent_published_after_10d":1250000,"percent_published_after_11d":4,"percent_published_after_12d":37.5,"percent_published_after_13d":1250000,"percent_published_after_14d":4,"percent_published_after_15d":37.5,"percent_published_after_16d":1250000,"percent_published_after_17d":4,"percent_published_after_18d":37.5,"percent_published_after_19d":1250000,"percent_published_after_20d":4,"percent_published_after_21d":37.5,"status":"final"}]}},"text/csv":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/invalid-parameter"},"401":{"$ref":"#/components/responses/unauthorized"},"429":{"$ref":"#/components/responses/rate-limited"},"500":{"$ref":"#/components/responses/internal"},"503":{"$ref":"#/components/responses/unavailable"}}}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"hst_live_…","description":"Create a key at https://hormuzstraittracker.com/account/api. Limits: 60 requests per minute and 1000 per day with delayed access, 300 and 20000 with current access."}},"parameters":{"from":{"name":"from","in":"query","required":false,"description":"First signal date, inclusive. Defaults to 90 days ending at to. A request spans at most 1100 days.","schema":{"type":"string","format":"date"}},"to":{"name":"to","in":"query","required":false,"description":"Last signal date, inclusive. Defaults to the latest date the key may read, and is moved back to it when later.","schema":{"type":"string","format":"date"}},"format":{"name":"format","in":"query","required":false,"description":"Response format; overrides the Accept header.","schema":{"type":"string","enum":["json","csv"],"default":"json"}},"limit":{"name":"limit","in":"query","required":false,"description":"Rows per page.","schema":{"type":"integer","minimum":1,"maximum":10000,"default":5000}},"cursor":{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page; repeat that page’s other parameters unchanged.","schema":{"type":"string"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed in the window closest to its limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in that window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until that window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Both limits, as requests;w=seconds.","schema":{"type":"string"}}},"responses":{"invalid-parameter":{"description":"A parameter is unknown, malformed, out of range, or not valid for this dataset. The detail names the valid choices.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"unauthorized":{"description":"No valid API key was sent in the Authorization header, or the key was revoked.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"not-found":{"description":"There is no such endpoint or dataset.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"method-not-allowed":{"description":"The API is read-only; use GET.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"rate-limited":{"description":"A rate limit was reached. Wait the number of seconds in Retry-After.","headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"unavailable":{"description":"Too many queries are running. Wait the number of seconds in Retry-After.","headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"internal":{"description":"The request could not be completed. Try again later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"schemas":{"Problem":{"type":"object","description":"RFC 9457 problem details.","required":["type","title","status","detail"],"properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"get_key_url":{"type":"string","format":"uri"},"docs_url":{"type":"string","format":"uri"},"openapi_url":{"type":"string","format":"uri"}}},"Access":{"type":"object","required":["level","delayed_through","latest_available","notice"],"properties":{"level":{"type":"string","enum":["current","delayed"],"description":"Resolved from the account’s entitlements on every request."},"delayed_through":{"type":["string","null"],"format":"date","description":"The last date a delayed key receives; null with current access."},"latest_available":{"type":["string","null"],"format":"date","description":"The last date that exists, including dates this key does not receive."},"notice":{"type":["string","null"],"description":"What is withheld, in words; null with current access."}}},"Dataset":{"type":"object","required":["id","title","record","description","endpoint","coverage_start","intervals","window","bases","supports_as_of","dimensions","measures","caveats"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"record":{"type":"string"},"description":{"type":"string"},"endpoint":{"type":"string"},"docs_url":{"type":"string"},"methodology_url":{"type":"string"},"coverage_start":{"type":"string","format":"date"},"intervals":{"type":"array","items":{"type":"string","enum":["day","week","month"]}},"window":{"type":["object","null"],"properties":{"min":{"type":"integer"},"max":{"type":"integer"},"default":{"type":"integer"}}},"bases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"}}}},"supports_as_of":{"type":"boolean"},"dimensions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"values":{"type":["array","null"],"items":{"type":"string"}},"groupable":{"type":"boolean"},"filterable":{"type":"boolean"}}}},"measures":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"},"nullable":{"type":"boolean"}}}},"caveats":{"type":"array","items":{"type":"string"}}}},"Latest":{"type":"object","required":["as_of","license","attribution","datasets"],"properties":{"as_of":{"type":"string","format":"date-time"},"license":{"type":"string"},"license_url":{"type":"string","format":"uri"},"attribution":{"type":"string","description":"Credit line to show wherever the data is used."},"datasets":{"type":"array","items":{"type":"object","required":["dataset","title","window","basis","group_by","measures","access","rows"],"properties":{"dataset":{"type":"string","enum":["loadings","exits","entries","presence","estimates"]},"title":{"type":"string"},"window":{"type":["integer","null"]},"basis":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}},"measures":{"type":"array","items":{"type":"object","required":["id","unit","description"],"properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"}}}},"access":{"$ref":"#/components/schemas/Access"},"methodology_url":{"type":"string","format":"uri"},"rows":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/LoadingsRow"},{"$ref":"#/components/schemas/ExitsRow"},{"$ref":"#/components/schemas/EntriesRow"},{"$ref":"#/components/schemas/PresenceRow"},{"$ref":"#/components/schemas/EstimatesRow"}]}}}}}}},"LoadingsRow":{"type":"object","additionalProperties":false,"required":["date","barrels_per_pass","percent_of_2025","estimated_bpd","usable_passes","status"],"properties":{"date":{"type":"string","format":"date","description":"Signal date: noon UTC the day before to noon UTC on this date. Weekly and monthly rows are dated by the first day of the period."},"site":{"type":["string","null"],"description":"A single monitored berth group. Present when grouped by site."},"terminal":{"type":["string","null"],"description":"Export terminal (port) slug. Present when grouped by terminal."},"country":{"type":["string","null"],"description":"ISO country code of the terminal. Present when grouped by country."},"region":{"type":["string","null"],"description":"Body of water. Present when grouped by region.","enum":["persian_gulf","red_sea",null]},"cargo":{"type":["string","null"],"description":"Crude or product; region level only. Present when grouped by cargo.","enum":["crude","product",null]},"barrels_per_pass":{"type":["number","null"],"description":"Capacity observed loading per usable pass over the trailing window, averaged per site and summed. Null when the selection had no usable pass in the window. Unit: bbl."},"percent_of_2025":{"type":["number","null"],"description":"barrels_per_pass relative to the same selection’s full-year 2025 average; null where that baseline is negligible. Unit: %."},"estimated_bpd":{"type":["number","null"],"description":"Estimated liquids loaded or exported. Persian Gulf and single countries only; null otherwise. Country values include the UAE’s pipeline to Fujairah. Unit: bbl/day."},"usable_passes":{"type":"number","description":"Usable captures in the trailing window, summed across sites. Unit: captures."},"status":{"type":"string","enum":["final","preliminary"],"description":"Preliminary rows are expected to be revised."}}},"LoadingsResponse":{"type":"object","required":["dataset","title","from","to","interval","window","basis","group_by","filters","as_of","measures","access","methodology_url","license","license_url","attribution","row_count","next_cursor","rows"],"properties":{"dataset":{"type":"string"},"title":{"type":"string"},"from":{"type":["string","null"],"format":"date"},"to":{"type":["string","null"],"format":"date","description":"The last date actually included, after the access cutoff."},"interval":{"type":"string","enum":["day","week","month"]},"window":{"type":["integer","null"],"description":"Trailing window in days; null where the dataset has none."},"basis":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}},"filters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"as_of":{"type":"string","format":"date-time","description":"The point in time the values describe."},"measures":{"type":"array","items":{"type":"object","required":["id","unit","description"],"properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"}}}},"access":{"$ref":"#/components/schemas/Access"},"methodology_url":{"type":"string","format":"uri"},"license":{"type":"string"},"license_url":{"type":"string","format":"uri"},"attribution":{"type":"string","description":"Credit line to show wherever the data is used."},"row_count":{"type":"integer"},"next_cursor":{"type":["string","null"],"description":"Pass as cursor, with the same parameters, for the next page."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoadingsRow"}}}},"ExitsRow":{"type":"object","additionalProperties":false,"required":["date","barrels_per_day","tankers_per_day","status"],"properties":{"date":{"type":"string","format":"date","description":"Signal date: noon UTC the day before to noon UTC on this date. Weekly and monthly rows are dated by the first day of the period."},"destination_country":{"type":["string","null"],"description":"ISO 3166-1 alpha-2 code of the country named in the tanker’s reported AIS destination, or undeclared when no report names a port. Present when grouped by destination_country."},"destination_group":{"type":["string","null"],"description":"Whether the reported destination names a country, names a common waypoint (Singapore or Egypt), or is undeclared. Present when grouped by destination_group.","enum":["declared","waypoint","undeclared",null]},"cargo":{"type":["string","null"],"description":"Crude, or product including chemicals and LPG. LNG is excluded. Present when grouped by cargo.","enum":["crude","product",null]},"vessel_class":{"type":["string","null"],"description":"Deadweight class. Present when grouped by vessel_class.","enum":["vlcc","suezmax","aframax","panamax","mr","handysize",null]},"evidence":{"type":["string","null"],"description":"Direct when the crossing itself was recorded; inferred when a tanker that exited with AIS off was later seen downstream. Present when grouped by evidence.","enum":["direct","inferred",null]},"barrels_per_day":{"type":"number","description":"Estimated cargo, averaged over the trailing window. Unit: barrels per day."},"tankers_per_day":{"type":["number","null"],"description":"Observed laden exits, averaged over the trailing window. The same count on both bases; null before individual exits are available. Unit: tankers per day."},"status":{"type":"string","enum":["final","preliminary"],"description":"Preliminary rows are expected to be revised."}}},"ExitsResponse":{"type":"object","required":["dataset","title","from","to","interval","window","basis","group_by","filters","as_of","measures","access","methodology_url","license","license_url","attribution","row_count","next_cursor","rows"],"properties":{"dataset":{"type":"string"},"title":{"type":"string"},"from":{"type":["string","null"],"format":"date"},"to":{"type":["string","null"],"format":"date","description":"The last date actually included, after the access cutoff."},"interval":{"type":"string","enum":["day","week","month"]},"window":{"type":["integer","null"],"description":"Trailing window in days; null where the dataset has none."},"basis":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}},"filters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"as_of":{"type":"string","format":"date-time","description":"The point in time the values describe."},"measures":{"type":"array","items":{"type":"object","required":["id","unit","description"],"properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"}}}},"access":{"$ref":"#/components/schemas/Access"},"methodology_url":{"type":"string","format":"uri"},"license":{"type":"string"},"license_url":{"type":"string","format":"uri"},"attribution":{"type":"string","description":"Credit line to show wherever the data is used."},"row_count":{"type":"integer"},"next_cursor":{"type":["string","null"],"description":"Pass as cursor, with the same parameters, for the next page."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/ExitsRow"}}}},"EntriesRow":{"type":"object","additionalProperties":false,"required":["date","tankers_per_day","capacity_barrels_per_day","tankers","capacity_barrels","status"],"properties":{"date":{"type":"string","format":"date","description":"Signal date: noon UTC the day before to noon UTC on this date. Weekly and monthly rows are dated by the first day of the period."},"stage":{"type":["string","null"],"description":"goo_line counts crossings into the Gulf of Oman; corridor counts distinct Gulf-bound vessels seen in the upstream monitoring areas. The stages are never added together. Without a stage filter or grouping, goo_line is returned. Present when grouped by stage.","enum":["goo_line","corridor",null]},"corridor":{"type":["string","null"],"description":"Where a corridor-stage vessel was seen. Grouped by corridor, a vessel counts once, at its latest sighting in the window. Filtering first limits which sightings are considered. Present when grouped by corridor.","enum":["malacca","sri_lanka","bab_el_mandeb","suez","eastern_cape",null]},"cargo":{"type":["string","null"],"description":"Crude or product tanker, using the site’s standard liquids classification. Present when grouped by cargo.","enum":["crude","product",null]},"vessel_class":{"type":["string","null"],"description":"Deadweight class. Present when grouped by vessel_class.","enum":["vlcc","suezmax","aframax","panamax","mr","handysize",null]},"tankers_per_day":{"type":["number","null"],"description":"goo_line only: average daily entries over the trailing window. Unit: tankers/day."},"capacity_barrels_per_day":{"type":["number","null"],"description":"goo_line only: average daily carrying capacity entering (deadweight × 7), gross of Fujairah and Oman requirements. Unit: bbl/day."},"tankers":{"type":["number","null"],"description":"corridor only: distinct vessels seen during the trailing window. Unit: tankers."},"capacity_barrels":{"type":["number","null"],"description":"corridor only: combined carrying capacity of those vessels (deadweight × 7). Unit: bbl."},"status":{"type":"string","enum":["final","preliminary"],"description":"Preliminary rows are expected to be revised."}}},"EntriesResponse":{"type":"object","required":["dataset","title","from","to","interval","window","basis","group_by","filters","as_of","measures","access","methodology_url","license","license_url","attribution","row_count","next_cursor","rows"],"properties":{"dataset":{"type":"string"},"title":{"type":"string"},"from":{"type":["string","null"],"format":"date"},"to":{"type":["string","null"],"format":"date","description":"The last date actually included, after the access cutoff."},"interval":{"type":"string","enum":["day","week","month"]},"window":{"type":["integer","null"],"description":"Trailing window in days; null where the dataset has none."},"basis":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}},"filters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"as_of":{"type":"string","format":"date-time","description":"The point in time the values describe."},"measures":{"type":"array","items":{"type":"object","required":["id","unit","description"],"properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"}}}},"access":{"$ref":"#/components/schemas/Access"},"methodology_url":{"type":"string","format":"uri"},"license":{"type":"string"},"license_url":{"type":"string","format":"uri"},"attribution":{"type":"string","description":"Credit line to show wherever the data is used."},"row_count":{"type":"integer"},"next_cursor":{"type":["string","null"],"description":"Pass as cursor, with the same parameters, for the next page."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/EntriesRow"}}}},"PresenceRow":{"type":"object","additionalProperties":false,"required":["date","tankers","capacity_barrels","estimated_cargo_barrels","unknown_share","status"],"properties":{"date":{"type":"string","format":"date","description":"Signal date: noon UTC the day before to noon UTC on this date. Weekly and monthly rows are dated by the first day of the period."},"area":{"type":["string","null"],"description":"Where the tanker was last seen that date, divided at 56.4°E. Present when grouped by area.","enum":["persian_gulf","gulf_of_oman",null]},"state":{"type":["string","null"],"description":"Ballast when the draught reported within the previous seven days implies a tanker less than 15% full, laden at 15% or more, and unknown without a usable draught. Present when grouped by state.","enum":["laden","ballast","unknown",null]},"vessel_class":{"type":["string","null"],"description":"Size class by deadweight tonnage; unknown when the deadweight is not known. Present when grouped by vessel_class.","enum":["vlcc","suezmax","aframax","panamax","mr","handysize","unknown",null]},"tankers":{"type":"number","description":"Distinct tankers seen, averaged over the window or interval. Unit: tankers."},"capacity_barrels":{"type":"number","description":"Deadweight tonnage × 7, summed over tankers with a known deadweight. Unit: barrels."},"estimated_cargo_barrels":{"type":"number","description":"Estimated cargo aboard laden tankers. Tankers in an unknown state contribute nothing. Unit: barrels."},"unknown_share":{"type":["number","null"],"description":"Share of tankers in an unknown state among all tankers in the same area and size class, whatever state is selected. Read laden and ballast counts with caution when it is high. Unit: ratio."},"status":{"type":"string","enum":["final","preliminary"],"description":"Preliminary rows are expected to be revised."}}},"PresenceResponse":{"type":"object","required":["dataset","title","from","to","interval","window","basis","group_by","filters","as_of","measures","access","methodology_url","license","license_url","attribution","row_count","next_cursor","rows"],"properties":{"dataset":{"type":"string"},"title":{"type":"string"},"from":{"type":["string","null"],"format":"date"},"to":{"type":["string","null"],"format":"date","description":"The last date actually included, after the access cutoff."},"interval":{"type":"string","enum":["day","week","month"]},"window":{"type":["integer","null"],"description":"Trailing window in days; null where the dataset has none."},"basis":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}},"filters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"as_of":{"type":"string","format":"date-time","description":"The point in time the values describe."},"measures":{"type":"array","items":{"type":"object","required":["id","unit","description"],"properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"}}}},"access":{"$ref":"#/components/schemas/Access"},"methodology_url":{"type":"string","format":"uri"},"license":{"type":"string"},"license_url":{"type":"string","format":"uri"},"attribution":{"type":"string","description":"Credit line to show wherever the data is used."},"row_count":{"type":"integer"},"next_cursor":{"type":["string","null"],"description":"Pass as cursor, with the same parameters, for the next page."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/PresenceRow"}}}},"EstimatesRow":{"type":"object","additionalProperties":false,"required":["date","barrels_per_day","percent_of_baseline","cumulative_barrels","status"],"properties":{"date":{"type":"string","format":"date","description":"Signal date: noon UTC the day before to noon UTC on this date. Weekly and monthly rows are dated by the first day of the period."},"series":{"type":["string","null"],"description":"Which estimate. Filter to one, or group by series. Present when grouped by series.","enum":["total_exports","hormuz","red_sea_offset","gulf_loadings","deficit","inbound_capacity","country_exports",null]},"cargo":{"type":["string","null"],"description":"Crude or product; not available for country_exports. Without it, values are total liquids. Present when grouped by cargo.","enum":["crude","product",null]},"country":{"type":["string","null"],"description":"Exporting country (ISO code); country_exports only. Present when grouped by country.","enum":["SA","IQ","AE","KW","IR","QA","BH",null]},"barrels_per_day":{"type":"number","description":"The trailing average, or the daily value at window=1. The deficit series is zero or negative: the shortfall from the pre-war baseline. Unit: bbl/day."},"percent_of_baseline":{"type":["number","null"],"description":"Relative to the pre-war baseline the site uses; null for red_sea_offset, deficit, and inbound_capacity, which have none. Unit: %."},"cumulative_barrels":{"type":["number","null"],"description":"deficit only: barrels lost since 2026-03-01, as a positive total of daily shortfalls. Unit: bbl."},"status":{"type":"string","enum":["final","preliminary"],"description":"Preliminary rows are expected to be revised."}}},"EstimatesResponse":{"type":"object","required":["dataset","title","from","to","interval","window","basis","group_by","filters","as_of","measures","access","methodology_url","license","license_url","attribution","row_count","next_cursor","rows"],"properties":{"dataset":{"type":"string"},"title":{"type":"string"},"from":{"type":["string","null"],"format":"date"},"to":{"type":["string","null"],"format":"date","description":"The last date actually included, after the access cutoff."},"interval":{"type":"string","enum":["day","week","month"]},"window":{"type":["integer","null"],"description":"Trailing window in days; null where the dataset has none."},"basis":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}},"filters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"as_of":{"type":"string","format":"date-time","description":"The point in time the values describe."},"measures":{"type":"array","items":{"type":"object","required":["id","unit","description"],"properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"}}}},"access":{"$ref":"#/components/schemas/Access"},"methodology_url":{"type":"string","format":"uri"},"license":{"type":"string"},"license_url":{"type":"string","format":"uri"},"attribution":{"type":"string","description":"Credit line to show wherever the data is used."},"row_count":{"type":"integer"},"next_cursor":{"type":["string","null"],"description":"Pass as cursor, with the same parameters, for the next page."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/EstimatesRow"}}}},"ExitRevisionsRow":{"type":"object","additionalProperties":false,"required":["date","first_released_at","first_release_barrels","current_barrels","revision_barrels","first_release_average_barrels_per_day","current_average_barrels_per_day","percent_published_after_1d","percent_published_after_2d","percent_published_after_3d","percent_published_after_4d","percent_published_after_5d","percent_published_after_6d","percent_published_after_7d","percent_published_after_8d","percent_published_after_9d","percent_published_after_10d","percent_published_after_11d","percent_published_after_12d","percent_published_after_13d","percent_published_after_14d","percent_published_after_15d","percent_published_after_16d","percent_published_after_17d","percent_published_after_18d","percent_published_after_19d","percent_published_after_20d","percent_published_after_21d","status"],"properties":{"date":{"type":"string","format":"date"},"first_released_at":{"type":"string","format":"date-time","description":"When the date was first published."},"first_release_barrels":{"type":"number","description":"Gross exits for the date as first published. Unit: barrels."},"current_barrels":{"type":"number","description":"Gross exits for the date as published now. Unit: barrels."},"revision_barrels":{"type":"number","description":"Current minus first release. Unit: barrels."},"first_release_average_barrels_per_day":{"type":"number","description":"The trailing seven-day average ending on the date, as it stood at first release. Unit: barrels per day."},"current_average_barrels_per_day":{"type":"number","description":"The same seven-day average now. Unit: barrels per day."},"percent_published_after_1d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 1 after the signal date; null when not known. Unit: %."},"percent_published_after_2d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 2 after the signal date; null when not known. Unit: %."},"percent_published_after_3d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 3 after the signal date; null when not known. Unit: %."},"percent_published_after_4d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 4 after the signal date; null when not known. Unit: %."},"percent_published_after_5d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 5 after the signal date; null when not known. Unit: %."},"percent_published_after_6d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 6 after the signal date; null when not known. Unit: %."},"percent_published_after_7d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 7 after the signal date; null when not known. Unit: %."},"percent_published_after_8d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 8 after the signal date; null when not known. Unit: %."},"percent_published_after_9d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 9 after the signal date; null when not known. Unit: %."},"percent_published_after_10d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 10 after the signal date; null when not known. Unit: %."},"percent_published_after_11d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 11 after the signal date; null when not known. Unit: %."},"percent_published_after_12d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 12 after the signal date; null when not known. Unit: %."},"percent_published_after_13d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 13 after the signal date; null when not known. Unit: %."},"percent_published_after_14d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 14 after the signal date; null when not known. Unit: %."},"percent_published_after_15d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 15 after the signal date; null when not known. Unit: %."},"percent_published_after_16d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 16 after the signal date; null when not known. Unit: %."},"percent_published_after_17d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 17 after the signal date; null when not known. Unit: %."},"percent_published_after_18d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 18 after the signal date; null when not known. Unit: %."},"percent_published_after_19d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 19 after the signal date; null when not known. Unit: %."},"percent_published_after_20d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 20 after the signal date; null when not known. Unit: %."},"percent_published_after_21d":{"type":["number","null"],"description":"Share of the current value that had been published by the end of UTC day 21 after the signal date; null when not known. Unit: %."},"status":{"type":"string","enum":["final","preliminary"],"description":"Preliminary rows are expected to be revised."}}},"ExitRevisionsResponse":{"type":"object","required":["dataset","title","from","to","interval","window","basis","group_by","filters","as_of","measures","access","methodology_url","license","license_url","attribution","row_count","next_cursor","rows","maturity"],"properties":{"maturity":{"type":"array","description":"Barrel-weighted share of the current value published at each age in days, over the returned dates that are old enough to have every age.","items":{"type":"object","required":["age_days","percent_of_current","dates"],"properties":{"age_days":{"type":"integer"},"percent_of_current":{"type":"number"},"dates":{"type":"integer"}}}},"dataset":{"type":"string"},"title":{"type":"string"},"from":{"type":["string","null"],"format":"date"},"to":{"type":["string","null"],"format":"date","description":"The last date actually included, after the access cutoff."},"interval":{"type":"string","enum":["day","week","month"]},"window":{"type":["integer","null"],"description":"Trailing window in days; null where the dataset has none."},"basis":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}},"filters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"as_of":{"type":"string","format":"date-time","description":"The point in time the values describe."},"measures":{"type":"array","items":{"type":"object","required":["id","unit","description"],"properties":{"id":{"type":"string"},"unit":{"type":"string"},"description":{"type":"string"}}}},"access":{"$ref":"#/components/schemas/Access"},"methodology_url":{"type":"string","format":"uri"},"license":{"type":"string"},"license_url":{"type":"string","format":"uri"},"attribution":{"type":"string","description":"Credit line to show wherever the data is used."},"row_count":{"type":"integer"},"next_cursor":{"type":["string","null"],"description":"Pass as cursor, with the same parameters, for the next page."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/ExitRevisionsRow"}}}}}}}