# IMO Number Checksum Validator

> IMO Number Checksum Validator is a paid API for AI agents from agentshield.live, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Validates the check digit of a 7-digit IMO ship identification number and returns the checksum result.

## Facts

- Endpoint: GET https://agentshield.live/imo?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imo-number-checksum-validator-45939c22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qw0twUV566qRNAqUsQhVe

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 imo-number-checksum-validator-45939c22
```

Example prompt: Can you check whether IMO number 9074729 has a valid checksum?

## When to prefer this

Use this endpoint when you only need to verify the mathematical validity of an IMO number's check digit, not to look up ship details or confirm vessel identity. Ideal for data validation pipelines, form validation, or pre-processing steps before querying a maritime registry.

## Known failure modes

- Non-7-digit input may return an error or invalid response
- Letters or non-numeric characters in the code will likely cause a 400 bad request
- Valid checksum does not confirm the ship exists or matches any registry
- No ship name, flag, or additional metadata is returned

## How this service works

Call when an agent has an IMO ship identification number and needs the checksum. Does not confirm the ship or a name. UN/LOCODE is not stored.

## Output

Returns a checksum validation result indicating whether the provided 7-digit IMO number's check digit is correct. Does not confirm ship identity, name, or any associated vessel details. UN/LOCODE is not stored or returned.

## 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",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "7-digit IMO number."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "known": true,
  "valid": true,
  "check_digit": "9"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imo-number-checksum-validator-45939c22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
