Vessel Identity
Get Vessel Particulars
Retrieve vessel specifications including dimensions, tonnage, build information, and capacity data. Costs 1 credit per request. Rate limit: 50 requests/min.
GET
/
get-vessel-particulars
Get Vessel Particulars
curl --request GET \
--url https://datadocked.com/api/vessels_operations/get-vessel-particulars \
--header 'x-api-key: <api-key>'import requests
url = "https://datadocked.com/api/vessels_operations/get-vessel-particulars"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://datadocked.com/api/vessels_operations/get-vessel-particulars', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://datadocked.com/api/vessels_operations/get-vessel-particulars",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://datadocked.com/api/vessels_operations/get-vessel-particulars"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://datadocked.com/api/vessels_operations/get-vessel-particulars")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://datadocked.com/api/vessels_operations/get-vessel-particulars")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": {
"name": "<string>",
"imo": "<string>",
"mmsi": "<string>",
"countryIso": "<string>",
"country": "<string>",
"shipType": "<string>",
"typeSpecific": "<string>",
"grossTonnage": "<string>",
"netTonnage": "<string>",
"teu": "<string>",
"length": "<string>",
"beam": "<string>",
"yearOfBuilt": "<string>",
"callsign": "<string>",
"eni": "<string>",
"deadweight": "<string>",
"updateTime": "<string>",
"bale": "<string>",
"hull": "<string>",
"ballastWater": "<string>",
"freshWater": "<string>",
"crudeOil": "<string>",
"gas": "<string>",
"grain": "<string>",
"builder": "<string>",
"material": "<string>",
"placeOfBuild": "<string>"
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Retrieve vessel specifications including dimensions, tonnage, build information, and capacity data.
Credits: 1 credit per request
Response Fields
- Identification: Name, IMO, MMSI, callsign, flag
- Dimensions: Length, beam, deadweight
- Tonnage: Gross tonnage, net tonnage, TEU capacity
- Build Info: Year built, builder, place of build, hull material
- Capacity: Ballast water, crude oil, fresh water, gas, grain, bale
Authorizations
Your personal API key found in your profile dashboard at https://datadocked.com/dashboard/my_keys
Was this page helpful?
⌘I
Get Vessel Particulars
curl --request GET \
--url https://datadocked.com/api/vessels_operations/get-vessel-particulars \
--header 'x-api-key: <api-key>'import requests
url = "https://datadocked.com/api/vessels_operations/get-vessel-particulars"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://datadocked.com/api/vessels_operations/get-vessel-particulars', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://datadocked.com/api/vessels_operations/get-vessel-particulars",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://datadocked.com/api/vessels_operations/get-vessel-particulars"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://datadocked.com/api/vessels_operations/get-vessel-particulars")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://datadocked.com/api/vessels_operations/get-vessel-particulars")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": {
"name": "<string>",
"imo": "<string>",
"mmsi": "<string>",
"countryIso": "<string>",
"country": "<string>",
"shipType": "<string>",
"typeSpecific": "<string>",
"grossTonnage": "<string>",
"netTonnage": "<string>",
"teu": "<string>",
"length": "<string>",
"beam": "<string>",
"yearOfBuilt": "<string>",
"callsign": "<string>",
"eni": "<string>",
"deadweight": "<string>",
"updateTime": "<string>",
"bale": "<string>",
"hull": "<string>",
"ballastWater": "<string>",
"freshWater": "<string>",
"crudeOil": "<string>",
"gas": "<string>",
"grain": "<string>",
"builder": "<string>",
"material": "<string>",
"placeOfBuild": "<string>"
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}