Straits.live premium data
Strait of Hormuz flag rollup: the flag states of the live-AIS vessel population (seen within the last activeWindowHours, currently 1.5) ranked by vessel count, each with a sanctioned tally and an oldest_last_seen recency check, plus distinct-flag count and sanctioned share. Flags are best-effort from the MMSI MID (ITU-T M.585). Quality-gated on live AIS. Operators and direction are omitted, not fa
- Price per call
- $0.01
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 7
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://straits.live/api/premium/hormuz/flags", { method: "GET" });
console.log(await res.json());https://straits.live/api/premium/hormuz/flags