Use Data Docked from your language, BI tool, or automation platform. The API is a simple REST interface — if it can make an HTTP request, it can talk to Data Docked.
Quick-start examples for fetching vessel location data. Replace YOUR_API_KEY with your key from the quickstart guide.
Python
import requests
res = requests.get(
"https://datadocked.com/api/vessels_operations/get-vessel-location",
params={"imo_or_mmsi": "9247431"},
headers={"x-api-key": "YOUR_API_KEY"}
)
print(res.json())Node.js (fetch)
const res = await fetch(
'https://datadocked.com/api/vessels_operations/get-vessel-location?imo_or_mmsi=9247431',
{ headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const data = await res.json();cURL
curl -G https://datadocked.com/api/vessels_operations/get-vessel-location \
-d imo_or_mmsi=9247431 \
-H "x-api-key: YOUR_API_KEY"Use Google Apps Script to make authenticated API calls with custom headers and write results directly into your sheet. Apps Script lets you set up periodic time-driven triggers so your data refreshes automatically without manual intervention.
Use the Power Query From Web connector to import JSON from any Data Docked endpoint. Set the x-api-key header under "Advanced options" in the connector dialog. Power Query handles pagination and transformation directly in the M formula language.
Connect using the Web connector in Power BI Desktop. Enter the API endpoint URL, expand "Advanced", and add the x-api-key HTTP request header. Power BI will parse the JSON response into a table for direct use in reports and dashboards.
Use Tableau's Web connector or a custom Tableau Connector SDK extension to fetch JSON from Data Docked endpoints. For simpler setups, export data via a script to a local file and load it with Tableau's JSON data source connector.
Use Snowflake's External Network Rule to allow outbound HTTPS requests from a Snowflake Snowpark Python UDF or stored procedure to the Data Docked API. This lets you enrich warehouse tables with live vessel data directly inside Snowflake SQL.
For event-driven pipelines, poll Data Docked endpoints on a schedule using your preferred orchestration tool (Airflow, Prefect, dbt, etc.) and push results to your data lake or warehouse. The REST interface makes it straightforward to integrate into any HTTP-capable pipeline step.
Use the HTTP Request node in n8n to call any Data Docked endpoint. Add an HTTP Header with key x-api-key and your API key as the value. Connect the output to downstream nodes for alerting, storage, or further processing. See full endpoint docs at /api-reference.
Use Zapier's Webhooks by Zapier action (GET) to call a Data Docked endpoint on a schedule or trigger. Add your API key as a custom HTTP header. Parsed JSON fields can then be mapped to any downstream Zapier action — Slack, Google Sheets, email, and more.
Sign up in under a minute and start making requests immediately. No credit card required.
Create free account