{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"edd7849c-fc54-442a-9060-d2080a5e9d6f","catalogType":"api","categories":["data"],"dataPlatform":"marinetraffic","dataPlatformLogoUrl":"https://api.sh/logos/marinetraffic.png","dataPlatformTranslations":{},"dataProduct":"maritime","description":"Search MarineTraffic vessels or ports by text and identifiers via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, raw, and retrieve structured data including source result display name, ship id, source result detail-page URL, selected source result type, and returned match count for identity resolution, and detail navigation.","descriptionTranslations":{"ar":"ابحث عن سفن أو موانئ MarineTraffic بالنص والمعرّفات المدعومة، مع نتائج المصدر المصنفة لتحديد الهدف قبل استرجاع التفاصيل. استخدم السجلات المنظمة لبناء دليل بحري أو ربط سفن المصدر وموانئه، مع توضيح سياق المعرّف والرصد وأمثلة الطلبات المدعومة وتسعير التنفيذ الحالي في صفحة API.","ja":"テキスト・対応識別子で MarineTraffic 船舶や港を検索し、結果種別から詳細照会先を確認できます。 構造化記録を海事ディレクトリや船舶・港の連携に使い、識別子と観測の文脈を保持できます。API 詳細ページには対応リクエスト例と選択した実装の料金があります。","zh":"按文本和支持的标识搜索 MarineTraffic 船舶或港口，通过来源结果类型识别目标，再查询具体详情。 可利用结构化记录构建海事参考目录或关联来源船舶与港口，保留标识及观测上下文；API 详情页提供受支持的请求示例和当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"fb492a5f-a4e4-419e-a096-6dbbf7299c75","includedContentHtml":"","inputs":[{"description":"Vessel name, IMO, MMSI or call sign; or a port name or UN/LOCODE.","location":"query","name":"q","nullable":false,"required":true,"type":"string"},{"description":"What to search.","enum_values":["vessel","port"],"location":"query","name":"type","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/marinetraffic.png","method":"GET","name":"MarineTraffic vessel and port search API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eMarineTraffic Vessel \u0026amp; Port Search API\u003c/h2\u003e\n\u003cp\u003ePass q with type=vessel or port. Vessel queries accept names, IMO, MMSI or callsigns; port queries accept names or UN/LOCODE. Returned identifiers belong to their result type.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired: q. Optional: type. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · MarineTraffic vessel and port search API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eIdentity resolution\u003c/strong\u003e: Keep vessel and port result types distinct.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eDetail navigation\u003c/strong\u003e: Use the source ID accepted by the next operation.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource result display name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults[].ship_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource vessel ID in the vessel reference example\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults[].vessel_type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource vessel-type label when present\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresults[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource result detail-page URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etype\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSelected source result type\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned match count\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/marinetraffic/v1/search \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode output=json \\\n  --data-urlencode \u0026#39;q=ever given\u0026#39; \\\n  --data-urlencode raw=0\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/fb492a5f-a4e4-419e-a096-6dbbf7299c75\"\u003ePublished MarineTraffic Vessel \u0026amp; Port Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich values are accepted for type?\u003c/h3\u003e\n\u003cp\u003eUse vessel or port. Keep that type with the returned identity.\u003c/p\u003e\n\u003ch3\u003eCan q contain vessel identifiers?\u003c/h3\u003e\n\u003cp\u003eVessel search accepts a name, IMO, MMSI or callsign. Port search accepts a name or UN/LOCODE.\u003c/p\u003e\n\u003ch3\u003eAre ship IDs and port IDs interchangeable?\u003c/h3\u003e\n\u003cp\u003eNo. Use a result identifier with its corresponding Vessel Details or Port Details operation.\u003c/p\u003e\n\u003ch3\u003eDoes a search match include a current voyage?\u003c/h3\u003e\n\u003cp\u003eSearch returns source references. Use the vessel detail or position operation for its available observation and voyage fields.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/marinetraffic/marinetraffic-port-details-api\"\u003eMarineTraffic port details API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/marinetraffic/marinetraffic-companies-at-a-port-api\"\u003eMarineTraffic companies at a port API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/marinetraffic/marinetraffic-vessel-details-position-and-voyage-api\"\u003eMarineTraffic vessel details, position and voyage API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/marinetraffic/marinetraffic-vessel-and-port-search-api?offering=fb492a5f-a4e4-419e-a096-6dbbf7299c75","providerId":"apish","publicPath":"/v1/agent-apis/apish/marinetraffic/v1/search","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"output":"json","q":"ever given","raw":"0"}},"response_body":{"cached":false,"count":1,"credits_used":1,"fetched_at":"2026-11-19T12:25:52.371Z","q":"ever given","results":[{"current_name":null,"description":"Container Ship [LR]","flag":"LR","name":"EVER GIVEN","ship_id":5630138,"url":"https://www.marinetraffic.com/en/ais/details/ships/shipid:5630138","vessel_type":"Container Ship"}],"type":"vessel"}}],"seoDescription":"Search MarineTraffic vessels or ports by text via REST or MCP powered by Apish. Pay per call, no subscription. Built for identity resolution workflows.","updatedAt":"2026-12-03T02:47:19.400Z","usageInstructionsHtml":""}}