{"uid":"cap_-yfVIdFM6_DaMCJV_pMbe","slug":"2s-maritime-port-lookup-7aeccba4","name":"2s Maritime Port Lookup","description":"Look up world ports and terminals in the NGA World Port Index (Pub 150, ~2,950 ports) by port name (partial match) and/or country (full country name, e.g. \"Japan\"). Returns matching ports with location (lat/lon, country, region), UN/LOCODE, harbor size/type and shelter, max vessel length/draft (meters), channel/anchorage/cargo-pier depths, tidal range, and chart number. Keyless, public-domain (NGA). Physical-port reference data an LLM cannot reliably recall; complements maritime.vessel (USCG vessel registry) and maritime.cases (port-state-control inspections).","url":"https://2s.io/api/maritime/port","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"limit":{"type":"integer","description":"Max ports (1-50, default 10)."},"country":{"type":"string","description":"Full country name, e.g. \"Japan\"."},"portName":{"type":"string","description":"Port name (partial match)."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1t5NE5iI7TFNJG49KOEHV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search the World Port Index for maritime ports by name or country, returning location, harbor characteristics, and depth data","exampleAgentPrompt":"Can you look up maritime port details for ports in Japan — show me up to 20 results including their harbor size, harbor type, channel depth, and coordinates?","exampleUseCases":null,"resultDescription":"Returns an array of port records from the World Port Index, each containing port name, UN/LOCODE, coordinates (latitude/longitude), harbor size and type, shelter rating, channel/anchorage/cargo pier depths, tidal range, max vessel draft and length, region name, chart number, and country info. Also includes total count and data source attribution.","failureModes":["No ports found matching the given name or country — returns empty items array with total 0","Invalid limit value outside 1-50 range — may return error or use default","Country name not recognized if not provided as full official name (e.g. 'USA' instead of 'United States') — may return no results","Payment failure via x402 — request blocked if USDC payment not completed"],"whenToPreferThis":"Use this endpoint when you need authoritative, structured maritime port data including harbor characteristics, depths, and coordinates from the official U.S. NGA World Port Index. Prefer this over general web search when you need machine-readable port metadata for routing, logistics planning, or vessel compatibility checks. Best for agents that need ground-truth port identifiers (UN/LOCODE) or physical port specifications.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:56:59.478Z","isFirstParty":false}