# greeneris-data-container-check

> greeneris-data-container-check is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Validates an ISO 6346 shipping container number by verifying its structure, owner code, category, and check digit offline

## Facts

- Endpoint: GET https://data.greeneris.io/v1/logistics/container-check
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/greeneris-data-container-check-c51be309
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XrqtfoLW_98NXJCc81A0N

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 greeneris-data-container-check-c51be309
```

Example prompt: Can you check whether the container number CSQU3054383 is a valid ISO 6346 shipping container number and tell me the owner code and check digit?

## When to prefer this

Use this endpoint when you need to validate the structural integrity of a shipping container number (ISO 6346) including owner code, category, serial, and check digit — entirely offline and without needing live carrier or registry lookup. Ideal for supply chain automation, logistics data pipelines, or freight document verification where container IDs need to be sanitized before processing.

## Known failure modes

- Missing or malformed container parameter returns an error — must be exactly 11 alphanumeric characters
- Container number with wrong check digit returns valid:false with both check_digit and computed_check_digit for comparison
- Invalid owner code length or non-alphabetic prefix causes validation failure
- HTTP 402 returned until USDC payment made via x402 protocol on Base network

## How this service works

Offline validation of intermodal container numbers per ISO 6346: owner code, equipment category (U/J/Z), serial and check-digit verification (mod-11 with power-of-2 weights). Catches transcription errors before a booking or B/L is filed. Query: ?container=CSQU3054383. Returns valid flag, parsed parts and the computed check digit. Deterministic, cached 1 year.

## Output

Returns a JSON object with: valid (boolean), the normalized container string, owner_code (3-letter BIC prefix), category (U/J/Z/R), serial (6-digit number), check_digit, computed_check_digit, and source indicating offline ISO 6346 check-digit algorithm was used.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "container"
     ],
     "properties": {
      "container": {
       "type": "string",
       "description": "11-character container number, e.g. CSQU3054383 (spaces tolerated)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "serial": "305438",
  "source": "ISO 6346 check-digit algorithm (offline, structure + checksum only)",
  "category": "U",
  "container": "CSQU3054383",
  "owner_code": "CSQ",
  "check_digit": 3,
  "computed_check_digit": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/greeneris-data-container-check-c51be309/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
