---
title: "Port Lookup (x402)"
method: GET
path: "/x402/v2/port-lookup"
tags: ["x402"]
---

# Port Lookup (x402)

`GET /x402/v2/port-lookup`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/port-lookup`
- Auth: none required

Look up world ports by name or UN/LOCODE. Returns coordinates, country, timezone. 175+ major ports.

## Query parameters

- `query` string, required: Port name or UN/LOCODE (e.g. SEGOT, NLRTM)

## Response `200`

Success

- object
  - `matches` unknown[]
    - unknown
  - `total_matches` number

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
