PortSearchResponse
Ports matching the query, best match first. Returned by the keyless GET /api/v1/ports.
Properties
| Name | Type | Description |
|---|---|---|
| ports | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/arcnautical-com/json-schema/arcnautical-com-port-search-response-schema.json",
"title": "PortSearchResponse",
"description": "Ports matching the query, best match first. Returned by the keyless GET /api/v1/ports.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/arcnautical-com-port-lookup-api-openapi.yml#/components/schemas/PortSearchResponse",
"type": "object",
"required": [
"ports"
],
"properties": {
"ports": {
"type": "array",
"items": {
"$ref": "#/$defs/Port"
}
}
},
"$defs": {
"Port": {
"type": "object",
"required": [
"locode",
"name",
"country",
"country_code",
"lat",
"lon",
"match_score",
"match_type"
],
"properties": {
"locode": {
"type": "string",
"description": "Five-character UN/LOCODE. This is the value route.origin and route.destination take."
},
"name": {
"type": "string"
},
"country": {
"type": "string"
},
"country_code": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code."
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"match_score": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "How strong this match is, 0-100. Results are ordered by it. Publishing it means a caller can detect a weak resolution instead of taking the first row: a query that only matched the COUNTRY name scores 20, and auto-selecting that is almost always wrong."
},
"match_type": {
"type": "string",
"enum": [
"exact_locode",
"exact_name",
"name_prefix",
"name_word",
"locode_partial",
"name_partial",
"country"
],
"description": "What matched. exact_locode (100) and exact_name (95) are safe to auto-select; country (20) means the query appeared in the country name only and should be shown to a human. exact_name, name_prefix and name_word also cover the port's official local and former names, so lisboa is an exact_name match on Lisbon (PTLIS)."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/arcnautical-com-port-search-response"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.