Back to Home

Maritime & Port Security API

Vessel search, IMO lookup, and C-TPAT partner verification

https://api.compliancegrid.ai/v1/maritime
5 endpoints
~45ms avg response

Overview

The Maritime & Port Security API provides vessel search by name, IMO number, or MMSI, with details including flag state, vessel type, gross tonnage, owner, and registration port. Also includes C-TPAT (Customs-Trade Partnership Against Terrorism) partner search to verify certified importers, carriers, and brokers. In production, integrates with USCG PSIX, MarineTraffic, and CBP SVI databases.

Key Features

Vessel search by name, IMO number, MMSI, flag state, or vessel type
Vessel details: gross tonnage, year built, owner, port of registry
IMO number lookup for specific vessel identification
C-TPAT partner search by company name, SVI number, or tier
C-TPAT certification status, tier level, and expiration date
Entity type classification: Sea Carrier, Importer, Customs Broker, etc.

Endpoints

GET/v1/maritime/vessels
POST/v1/maritime/vessels
GET/v1/maritime/vessels/imo/:imo
GET/v1/maritime/ctpat
POST/v1/maritime/ctpat
View full API reference

Quick Example

maritime-example.ts
// Search for a vessel by name
const resp = await fetch(
  "https://api.compliancegrid.ai/v1/maritime/vessels?name=ever+given",
  { headers: { "Authorization": "Bearer " + process.env.CG_TOKEN } }
);
const data = await resp.json();
console.log(data.results[0].vesselName);   // "EVER GIVEN"
console.log(data.results[0].imoNumber);    // "9811000"
console.log(data.results[0].grossTonnage); // 220940

// Check C-TPAT certification
const ctpat = await fetch(
  "https://api.compliancegrid.ai/v1/maritime/ctpat?companyName=maersk",
  { headers: { "Authorization": "Bearer " + process.env.CG_TOKEN } }
);
const cert = await ctpat.json();
console.log(cert.results[0].tier);   // "Tier 3"
console.log(cert.results[0].status); // "Certified"

Sample Response

response.json
{
  "success": true,
  "query": "ever given",
  "results": [
    {
      "vesselName": "EVER GIVEN",
      "imoNumber": "9811000",
      "mmsi": "353136000",
      "callSign": "3EQJ5",
      "flag": "Panama",
      "vesselType": "Container Ship",
      "grossTonnage": 220940,
      "yearBuilt": "2018",
      "ownerName": "SHOEI KISEN KAISHA",
      "portOfRegistry": "Panama City",
      "status": "Active"
    }
  ],
  "totalResults": 1
}

Ready to integrate?

Get your free API key and start building in minutes.

Get API Key