# MarineTraffic companies at a port API

Get maritime companies listed on a MarineTraffic port page via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, port_id, and retrieve structured data including source company identifier, company display name, source business-activity label, source company-profile URL, and queried source port identifier for business directory, and port context.

Documentation: https://openany.si/marinetraffic/marinetraffic-companies-at-a-port-api/c7b5cb0d-bfb0-4d0e-9c00-e02953e64729/
API ID: c7b5cb0d-bfb0-4d0e-9c00-e02953e64729
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/marinetraffic/v1/port/companies
Page update time: 2026-12-03T02:47:21.412Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:47:19.303Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Usage and limits
## MarineTraffic Port Companies API

Use port\_id, q or a port URL, optionally limit. Entries are source business listings; their company IDs and addresses are distinct from the queried port ID and location.

## What You Can Build

- **Business directory**: Keep company identity and source profile links.
- **Port context**: Preserve the queried port separately from company addresses.

## Returned Data

| Field | Meaning |
| --- | --- |
| `companies[].company_id` | Source company identifier |
| `companies[].name` | Company display name |
| `companies[].activity` | Source business-activity label |
| `companies[].address` | Published business address when present |
| `companies[].url` | Source company-profile URL |
| `port_id` | Queried source port identifier |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MarineTraffic companies at a port API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "port_id": {
          "type": "string",
          "description": "MarineTraffic port id, e.g. `290`."
        },
        "q": {
          "type": "string",
          "description": "Port name or UN/LOCODE."
        },
        "url": {
          "type": "string",
          "description": "A marinetraffic.com port link."
        },
        "limit": {
          "type": "integer",
          "description": "Companies to return (1-50, default 10)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "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."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "companies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "activity": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "company_id": {
            "type": "integer"
          },
          "country": {
            "type": "null"
          },
          "country_code": {
            "type": "null"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "type": "string"
          },
          "employees": {
            "type": "string"
          },
          "fax": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "founded": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "listing": {
            "type": "string"
          },
          "logo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "longitude": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "port_id": {
            "type": "null"
          },
          "url": {
            "type": "string"
          },
          "website": {
            "type": "string"
          }
        }
      }
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "port_id": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH recording · HTTP 200
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/marinetraffic/v1/port/companies?limit=1&output=json&port_id=290&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "companies": [
    {
      "activity": "Ship Services / Suppliers",
      "address": "Ypsonas, Limassol 4181, Cyprus",
      "city": "Ypsonas",
      "company_id": 45366,
      "country": null,
      "country_code": null,
      "description": "We enable you to solve, permanently for all intents and purposes, 99% of all corrosion-related repair and maintenance issues on commercial vessels and platforms.",
      "email": "repairs@eneconhellas.com",
      "employees": "2-10",
      "fax": null,
      "founded": "2020",
      "latitude": 34.685692,
      "listing": "free",
      "logo": "https://images.marinetraffic.com/companies/171738.webp",
      "longitude": 32.961372,
      "name": "ENECON Hellas Ltd",
      "phone": "+306946658998",
      "port_id": null,
      "url": "https://www.marinetraffic.com/en/maritime-companies/profile/45366",
      "website": "http://www.eneconhellas.com"
    },
    {
      "activity": "Ship Repairs",
      "address": "Lok Yang Way 46",
      "city": "Singapore",
      "company_id": 45624,
      "country": null,
      "country_code": null,
      "description": "<p>Diesel Engines Overhauling (Slow, Medium High Speeds) (MAN, MAK, Yanmar, Daihatsu, SKL, Wartsila etc), Afloat repairs, riding crew, Gearbox, Compressors &amp; Pumps overhauling.</p>",
      "email": "ctan@christec.sg",
      "employees": "11-50",
      "fax": null,
      "founded": "2013",
      "latitude": 1.324657,
      "listing": "free",
      "logo": null,
      "longitude": 103.6844,
      "name": "Christec Servies & Engineering",
      "phone": "+65 8533-8686",
      "port_id": null,
      "url": "https://www.marinetraffic.com/en/maritime-companies/profile/45624",
      "website": "http://www.christec.sg"
    },
    {
      "activity": "Ship Owner/Operator",
      "address": "Robinson Rd 112",
      "city": "Singapore",
      "company_id": 45411,
      "country": null,
      "country_code": null,
      "description": "<strong >Singapore Shipping Enterprises Pte. Ltd.</strong>&nbsp;was formed in 1991 to provide reliable and professional ship services to all types of ships in Singapore and throughout Asia. Our head office based in Singapore at crossroads between Europe and the rest of Asia, offers highly efficient services to owners’ vessels and their business in the Far East region.",
      "email": "operations@sse.sg",
      "employees": "11-50",
      "fax": "+65 63364911",
      "founded": "1991",
      "latitude": 1.279247,
      "listing": "free",
      "logo": "https://images.marinetraffic.com/companies/341.webp",
      "longitude": 103.8489,
      "name": "SSE",
      "phone": "+65 63364300",
      "port_id": null,
      "url": "https://www.marinetraffic.com/en/maritime-companies/profile/45411",
      "website": "http://www.sse.sg"
    },
    {
      "activity": "Brokerage",
      "address": "Cecil St 101",
      "city": "Singapore",
      "company_id": 45377,
      "country": null,
      "country_code": null,
      "description": null,
      "email": "contact@vinsight.biz",
      "employees": "2-10",
      "fax": "+65 62248928",
      "founded": "2010",
      "latitude": 1.281064,
      "listing": "free",
      "logo": null,
      "longitude": 103.8493,
      "name": "Vinsight Maritime",
      "phone": "+65 62248928",
      "port_id": null,
      "url": "https://www.marinetraffic.com/en/maritime-companies/profile/45377",
      "website": "http://www.vinsight.biz"
    },
    {
      "activity": "Charts & Publications",
      "address": "Shenton Way 8",
      "city": "Singapore",
      "company_id": 45763,
      "country": null,
      "country_code": null,
      "description": "We are a Singapore-based company engaged in ocean transportation which includes container transportation, bulk-carrier, car-carrier and tanker business.KLPL Bulk Carrier commenced its operation in Singapore since April 2002.&nbsp;<br ><br >Our main activities include shipping of coal, alumina, iron ore, grain, limestone, cokes, etc. and also establishing several expansive COAs and Joint Venture projects with reputable long term customers. Main trading routes of our fleet ranges from Australia to Persian",
      "email": "tan.timothy@klpl.sg.kline.com",
      "employees": "51-200",
      "fax": null,
      "founded": "1996",
      "latitude": 1.2759058,
      "listing": "free",
      "logo": "https://images.marinetraffic.com/companies/491.webp",
      "longitude": 103.84734,
      "name": "MARITIME AND PORT AUTHORITY SINGAPORE",
      "phone": "+65 62156269",
      "port_id": null,
      "url": "https://www.marinetraffic.com/en/maritime-companies/profile/45763",
      "website": "http://www.kline.com.sg/"
    }
  ],
  "count": 5,
  "credits_used": 1,
  "fetched_at": "2026-11-19T09:10:07.113Z",
  "note": "maritime companies the port page lists (business listings with their public contact details)",
  "port_id": 290
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How many listings can I request?
limit accepts 1–50 and defaults to 10.

### Does every company address identify the queried port?
No. These are listings shown by the port page; preserve each business address and source profile independently.

### Does listing=free describe API billing?
No. It is a source business-listing label. OpenAny call pricing belongs to the selected implementation.

### Are missing public contact fields empty businesses?
No. Preserve missing contact values without inventing an address, phone number or website.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/marinetraffic/marinetraffic-companies-at-a-port-api/c7b5cb0d-bfb0-4d0e-9c00-e02953e64729/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
