# Get one vessel by ID (/docs/v3/vessels/get-one-vessel)



After you perform a [Vessel Search](#search) , you get the **vessel id**, for example `c54923e64-46f3-9338-9dcb-ff09724077a3`. You can use this endpoint to get the details of ONE **vessel id**.

### Example: Get details of one vessel [#example-get-details-of-one-vessel]

<Tabs items="['cURL', 'Python', 'R', 'JavaScript']">
  <Tab value="cURL">
    ```shell
    curl --location --request GET 'https://gateway.api.globalfishingwatch.org/v3/vessels/c54923e64-46f3-9338-9dcb-ff09724077a3?dataset=public-global-vessel-identity:latest' \
      -H "Authorization: Bearer [TOKEN]"
    ```
  </Tab>

  <Tab value="Python">
    ```python
    result = await gfw_client.vessels.get_vessel_by_id(
        id="c54923e64-46f3-9338-9dcb-ff09724077a3",
        dataset="public-global-vessel-identity:latest",
    )
    ```
  </Tab>

  <Tab value="R">
    ```r
    gfw_vessel_info(search_type = "id",
                    ids = c("c54923e64-46f3-9338-9dcb-ff09724077a3"))
    ```
  </Tab>

  <Tab value="JavaScript">
    ```js
    // Make sure to replace [TOKEN] with your API Access Token.
    const res = await fetch(
      'https://gateway.api.globalfishingwatch.org/v3/vessels/c54923e64-46f3-9338-9dcb-ff09724077a3?dataset=public-global-vessel-identity:latest',
      { headers: { Authorization: 'Bearer [TOKEN]' } }
    )
    const data = await res.json()
    ```
  </Tab>
</Tabs>

> Make sure to replace \[TOKEN] with your API Access Token.
> If the request is successful, the response will be:

```json
{
  "dataset": "public-global-vessel-identity:v20230623",
  "registryInfoTotalRecords": 0,
  "registryInfo": [],
  "registryOwners": [],
  "registryAuthorizations": [],
  "selfReportedInfo": [
    {
      "id": "c54923e64-46f3-9338-9dcb-ff09724077a3",
      "ssvid": "775998121",
      "shipname": "DON TITO",
      "nShipname": "DONTITO",
      "flag": "VEN",
      "callsign": "YD23136",
      "imo": null,
      "geartype": null,
      "shiptype": "OTHER_NON_FISHING",
      "messagesCounter": 1103,
      "positionsCounter": 430,
      "shiptypesByYear": [
        {
          "shiptype": "OTHER_NON_FISHING",
          "years": [2021, 2022, 2023]
        }
      ],
      "sourceCode": ["AIS"],
      "matchFields": "NO_MATCH",
      "transmissionDateFrom": "2021-08-06T10:49:26Z",
      "transmissionDateTo": "2023-09-21T14:52:16Z"
    }
  ]
}
```

### Get vessel by id - Specifications [#get-vessel-by-id---specifications]

<OpenAPIPage document="apiv3" operations="[{ path: '/v3/vessels/{vesselId}', method: 'get' }]" hasHead="false" />
