Get started with the Data Docked Maritime API in minutes. This guide covers authentication, your first API call, and understanding the credit system.

From signup to your first API call - here's everything you need to start tracking vessels.
Sign up at datadocked.com to get 20 free credits instantly. No credit card required.
Sign Up FreeYour API key is created automatically when you sign up. Find it in Dashboard → My Keys — no extra steps needed.
Go to My KeysUse your API key in the x-api-key header. Start with the free "My Credits" endpoint to test.
Try API PlaygroundQuery vessel locations, particulars, port calls, and more. Each endpoint costs credits based on data complexity.
View All EndpointsAll API requests require authentication using your personal API key.
Your API key is created automatically when you sign up. Find it in Dashboard → My Keys.
Go to My KeysPass your API key in the x-api-key header:
curl -X GET "https://datadocked.com/api/vessels_operations/my-credits" \
-H "accept: application/json" \
-H "x-api-key: YOUR_API_KEY"Start by checking your credit balance - it's completely free!
Request
import requests
url = "https://datadocked.com/api/vessels_operations/my-credits"
headers = {
"accept": "application/json",
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
# Response: {"detail": {"credits": 20}}Response
{
"detail": {
"credits": 20
}
}Request
import requests
url = "https://datadocked.com/api/vessels_operations/get-vessel-location"
headers = {
"accept": "application/json",
"x-api-key": "YOUR_API_KEY"
}
params = {
"imo_or_mmsi": "9247431" # IMO or MMSI number
}
response = requests.get(url, headers=headers, params=params)
data = response.json()
print(f"Vessel: {data['name']}")
print(f"Position: {data['latitude']}, {data['longitude']}")
print(f"Speed: {data['speed']} knots")Response
{
"name": "EVER GIVEN",
"imo": "9811000",
"mmsi": "353136000",
"latitude": "31.2847",
"longitude": "32.3444",
"speed": "12.5",
"course": "315",
"destination": "ROTTERDAM",
"navigationalStatus": "Underway using Engine",
"positionReceived": "Mar 24, 2026 10:30 UTC",
"updateTime": "Mar 24, 2026 10:32 UTC",
"dataSource": "Terrestrial"
}Don't have the IMO or MMSI numbers for the vessels you want to track? We can help you build a vessel list based on your criteria.
Credits are the currency for API calls. Each endpoint costs a specific number of credits based on data complexity.
No credit card required. Test any endpoint before committing to a plan.
| Endpoint | Credits | Rate Limit |
|---|---|---|
| My Credits | FREE | 50/min |
| Vessel Location | 1 | 100/min |
| Vessel Particulars | 1 | 50/min |
| Vessel Engine | 1 | 50/min |
| Vessel Management | 1 | 50/min |
| Vessel by Name | 1 | 50/min |
| Vessels by Type & Country | 1 | 50/min |
| Port Calls by Vessel | 5 | 50/min |
| Vessel Weather | 1 | 50/min |
| Vessel Inspection | 3 | 15/min |
| Vessel Info (Full) | 5 | 15/min |
| Vessels by Area | 10 | 50/min |
| Port Calls by Port | 50 | 15/min |
| Port Search | 1 | 50/min |
| Historical Data | 5/date | 15/min |
| Bulk Location | 1/vessel | 15/min |
Your API key will be temporarily disabled until you add more credits. You have two options:
Rate limits control how many API requests you can make per minute. This ensures fair usage and optimal performance for all users.
Rate limits are expressed as requests per minute. For example, "100/min" means you can make up to 100 requests to that endpoint every minute.
Vessel Location - Real-time tracking
My Credits, Vessel Particulars, Engine, Management, Vessel by Name, Vessels by Area
Vessel Info, Port Calls, Weather, Inspections, Historical Data, Bulk Search
When you exceed the rate limit, you'll receive a 429 Too Many Requests error:
{
"detail": "Rate limit exceeded. Please wait before making more requests.",
"status": 429
}Each endpoint returns specific maritime data. Click to view full documentation.
Copy-paste examples in your preferred programming language to get started quickly.
curl -X GET "https://datadocked.com/api/vessels_operations/get-vessel-location?imo_or_mmsi=9247431" \
-H "accept: application/json" \
-H "x-api-key: YOUR_API_KEY"Learn how to handle common API errors and their solutions.
401UnauthorizedAPI key is missing or invalid
{"detail": "Missing required header: x-api-key"}Solution: Verify your API key is correctly set in the x-api-key header. Get your key from the dashboard.
403Forbidden - Out of CreditsYour credit balance is zero
{"detail": "Insufficient credits. Please upgrade your plan."}Solution: Purchase more credits or subscribe to a plan. Visit the pricing page for options.
429Too Many RequestsRate limit exceeded for this endpoint
{"error": "Rate limit exceeded. Please wait before retrying."}Solution: Implement exponential backoff in your code. Check the rate limits table for each endpoint.
404Not FoundVessel not found with the provided IMO/MMSI
{"detail": "Unable to find vessel with the provided identifier"}Solution: Verify the IMO or MMSI number is correct. Use the vessel-by-name endpoint to search.
Continue your journey with these resources.
Get 20 free credits and make your first API call in minutes.