# SiteCheck Trade & Energy – Tokyo MOU PSC Detention Records

> SiteCheck Trade & Energy – Tokyo MOU PSC Detention Records is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns port state control detention records published by the Tokyo MOU for a given month, including ship details, deficiency codes, and detention/release dates.

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/logistics/psc-inspection-records?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-trade-energy-tokyo-mou-psc-detention-records-4d1e638a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g-KWvOtkwegh-k1jjh11G

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-trade-energy-tokyo-mou-psc-detention-records-4d1e638a
```

Example prompt: Pull the Tokyo MOU port state control detention records for October 2024 and filter them to Liberian-flagged vessels — I want to see each ship's IMO number, deficiencies, and how long it was held.

## When to prefer this

Use this endpoint when you need official Tokyo MOU (Asia-Pacific) port state control detention data with full deficiency detail — covering ships detained across ports in Japan, China, South Korea, Australia, and other Asia-Pacific member states. It is the right choice when you need structured, machine-readable detention records filterable by flag, IMO, or port for compliance checks, fleet due diligence, or maritime risk analysis. It does not cover Paris MOU (Europe/North Atlantic), US Coast Guard, or other regional PSC regimes.

## Known failure modes

- No detentions found for the requested period or filter — returns empty ships array
- Invalid flag code format returns an error or empty result
- Future month requested — data not yet published by Tokyo MOU
- Invalid IMO number format (not 7 digits) may return no results
- Network timeout on the upstream APCIS data source

## How this service works

Port state control detentions published by the Tokyo MOU (Asia-Pacific) for a month: IMO number, ship name, flag, build date, tonnage, type, class society, recognised organisations, company, place and dates of detention and release, and every detainable deficiency (code, area, item, RO responsibility). Filter by flag (2-letter code), IMO number or port.

## Output

A JSON object containing the MOU name, filter parameters used, total detention count, a source URL, and a list of detained ships each with: IMO number, ship name, flag, build date, gross tonnage, ship type, class society, recognised organisations, operating company, place of detention, detention and release dates, and a full list of deficiencies (code, area, item name, and RO responsibility).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "imo": {
       "type": "string",
       "description": "Optional 7-digit IMO number"
      },
      "flag": {
       "type": "string",
       "description": "Optional flag state as a 2-letter code, e.g. PA (Panama), LR, MH, TG"
      },
      "port": {
       "type": "string",
       "description": "Optional words of the detention place, e.g. Shanghai, Singapore"
      },
      "year": {
       "type": "string",
       "description": "Year 2000 to now (default: last month's year)"
      },
      "month": {
       "type": "string",
       "description": "Month 1 to 12 (default: last month)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mou": "Tokyo MOU",
  "flag": "PA",
  "year": 2026,
  "count": 55,
  "month": 9,
  "ships": [
   {
    "imo": "9409704",
    "flag": "Panama",
    "ship": "ASIAN JOY",
    "type": "General cargo/multipurpose",
    "built": "2008-12-08",
    "place": "Tianjin, China",
    "company": "Unitra Maritime Co Ltd",
    "detained": "2026-09-01",
    "released": "2026-09-02",
    "classSociety": "Nippon Kaiji Kyokai (NKK)",
    "deficiencies": [
     {
      "area": "FIRE SAFETY",
      "code": "07109",
      "item": "Fixed fire extinguishing installation",
      "roResponsibility": "no responsibility of RO"
     },
     {
      "area": "POLLUTION PREVENTION",
      "code": "14104",
      "item": "MARPOL ANNEX I - Oil filtering equipment",
      "roResponsibility": "no responsibility of RO"
     }
    ],
    "grossTonnage": 5578,
    "recognisedOrganisations": [
     "Nippon Kaiji Kyokai (NKK)"
    ]
   },
   {
    "imo": "8606056",
    "flag": "Panama",
    "ship": "GMT ASTRO",
    "type": "Vehicle carrier",
    "built": "1986-06-27",
    "place": "Incheon, Korea, Republic of",
    "company": "DORIKO LIMITED",
    "detained": "2026-09-04",
    "released": "2026-09-07",
    "classSociety": "DNV AS (DNV)",
    "deficiencies": [
     {
      "area": "ISM",
      "code": "15150",
      "item": "ISM",
      "roResponsibility": "no responsibility of RO"
     },
     {
      "area": "EMERGENCY SYSTEMS",
      "code": "04114",
      "item": "Emergency source of power - Emergency generator",
      "roResponsibility": "no responsibility of RO"
     }
    ],
    "grossTonnage": 48017,
    "recognisedOrganisations": [
     "DNV AS",
     "Overseas Marine Certification Service, Inc."
    ]
   }
  ],
  "source": "https://apcis.tmou.org/isss/public_apcis.php?Mode=DetList",
  "checkedAt": "2026-10-23T09:38:05.238Z",
  "detentions": 55
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-trade-energy-tokyo-mou-psc-detention-records-4d1e638a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
