# Strale Port Lookup

> Strale Port Lookup is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-13).

Look up port details by name or UN/LOCODE code, returning structured port data with a cryptographic audit record.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/port-lookup
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-port-lookup-543e88c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eDODhb8dsfTuES10dy_2t

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 strale-port-lookup-543e88c1
```

Example prompt: Can you look up the port details for NLRTM — I need to know what port that UN/LOCODE refers to and where it is?

## When to prefer this

Prefer this endpoint when you need reliable, audited port lookups across global maritime codes, especially in logistics or compliance contexts where cryptographic audit trails are required. Useful when you have a UN/LOCODE and need to resolve it to a human-readable port, or vice versa, with a verifiable record of the lookup.

## Known failure modes

- Unknown or invalid port name returns no results
- Malformed UN/LOCODE format causes validation error
- Port code not in database returns empty or 404 response
- Network or payment authorization failure returns error
- Ambiguous port name with multiple matches may return unexpected result

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns structured port data including the full port name, country, UN/LOCODE, and geographic details, along with a cryptographic audit record with chain hashing for trust and verification purposes.

## 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": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Port name or UN/LOCODE (e.g. SEGOT, NLRTM)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-port-lookup-543e88c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
