Coast Guard vessel data, in one call
The U.S. Coast Guard publishes every documented vessel's certificates, inspections, deficiencies and incident investigations through its PSIX web service. It is an old SOAP service that returns escaped XML. This library turns it into clean data and a compliance snapshot: which certificates expire soon, when the last inspection was, and which deficiencies are still open.
Use it
npm install github:x3allamerican/x3-uscg-psix
# command line
npx github:x3allamerican/x3-uscg-psix search "vessel name"
npx github:x3allamerican/x3-uscg-psix vessel <VesselId>
// code
import { createPsixClient } from '@x3/uscg-psix';
const psix = createPsixClient();
const [hit] = await psix.searchVessels({ name: 'VESSEL NAME' });
const profile = await psix.profile(hit.VesselId);
profile.snapshot.coi; // current Certificate of Inspection, days left
profile.snapshot.flags; // expiring certificates, open deficiencies
PSIX does not allow calls from web pages, so run it on a server or from the command line. Sample below is real public data, captured Nov 14, 2026, with the vessel's name removed.
Sample snapshot
Deficiencies found in Coast Guard activities, last 12 months
Data: U.S. Coast Guard Port State Information Exchange (cgmix.uscg.mil). Not affiliated with or endorsed by the Coast Guard. PSIX can lag the Coast Guard's internal records; confirm anything important with the cognizant OCMI.