> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datadocked.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Docked API

> Access real-time vessel tracking, port operations, and comprehensive maritime intelligence through our REST API. Track ships globally with AIS data, query port traffic, and integrate shipping data into your applications.

## Build with Maritime Intelligence

Access comprehensive maritime data through our REST API. Track vessels in real-time, query port operations, and integrate shipping intelligence into your applications.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Make your first API call and start tracking vessels
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/introduction">
    Explore all available endpoints and parameters
  </Card>
</CardGroup>

***

## Choose Your Use Case

<Tabs>
  <Tab title="Vessel Tracking">
    Track any vessel worldwide with real-time AIS data.

    ```bash theme={null}
    curl -X GET "https://datadocked.com/api/vessels_operations/get-vessel-location?imo_or_mmsi=9247431" \
      -H "x-api-key: YOUR_API_KEY"
    ```

    <CardGroup cols={2}>
      <Card title="Real-time Location" icon="location-dot" href="/api-reference/vessel/get-vessel-location">
        Position, speed, course, and destination
      </Card>

      <Card title="Bulk Search" icon="magnifying-glass" href="/api-reference/vessel/get-vessels-location-bulk">
        Track up to 50 vessels per request
      </Card>

      <Card title="Historical Data" icon="clock-rotate-left" href="/api-reference/vessel/get-vessel-historical-data">
        Voyage reconstruction with 2 years of data
      </Card>

      <Card title="Area Search" icon="map" href="/api-reference/vessel/get-vessels-by-area">
        Find all vessels in a geographic area
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Vessel Details">
    Access comprehensive vessel specifications and management data.

    <CardGroup cols={2}>
      <Card title="Full Vessel Info" icon="ship" href="/api-reference/vessel/get-vessel-info">
        Complete vessel profile in one call
      </Card>

      <Card title="Particulars" icon="ruler" href="/api-reference/vessel/get-vessel-particulars">
        Dimensions, tonnage, and capacity
      </Card>

      <Card title="Engine Data" icon="gear" href="/api-reference/vessel/get-vessel-engine-data">
        Engine specs, fuel type, and power
      </Card>

      <Card title="Management" icon="building" href="/api-reference/vessel/get-vessel-management-data">
        Owner, manager, and P\&I details
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Port Operations">
    Monitor port traffic and track vessel movements.

    <CardGroup cols={2}>
      <Card title="Port Calls by Vessel" icon="anchor" href="/api-reference/port/port-calls-by-vessel">
        A vessel's complete port history
      </Card>

      <Card title="Port Traffic" icon="arrow-right-arrow-left" href="/api-reference/port/port-calls-by-port">
        Arrivals, departures, and expected vessels
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Compliance">
    Access inspection records and certification data.

    <CardGroup cols={2}>
      <Card title="PSC Inspections" icon="clipboard-check" href="/api-reference/vessel/vessel-inspection-data">
        Port State Control records and deficiencies
      </Card>

      <Card title="Weather Data" icon="cloud-sun" href="/api-reference/vessel/vessel-weather-data">
        Current conditions at vessel location
      </Card>
    </CardGroup>
  </Tab>
</Tabs>

***

## Quick Integration

<Steps>
  <Step title="Get your API key">
    [Sign up](https://datadocked.com/signup) and find your key in the [dashboard](https://datadocked.com/dashboard/my_keys)
  </Step>

  <Step title="Make a request">
    Add your API key to the `x-api-key` header

    ```bash theme={null}
    curl -H "x-api-key: YOUR_API_KEY" \
      "https://datadocked.com/api/vessels_operations/get-vessel-location?imo_or_mmsi=9247431"
    ```
  </Step>

  <Step title="Parse the response">
    All responses are JSON with vessel data in the `detail` field

    ```json theme={null}
    {
      "detail": {
        "name": "EVER GIVEN",
        "latitude": "31.234567",
        "longitude": "32.345678",
        "speed": "12.5"
      }
    }
    ```
  </Step>
</Steps>

***

## API Capabilities

<CardGroup cols={3}>
  <Card title="14 Endpoints" icon="plug">
    Vessel tracking, port operations, and compliance data
  </Card>

  <Card title="Global Coverage" icon="globe">
    AIS data from terrestrial and satellite sources
  </Card>

  <Card title="Real-time Data" icon="bolt">
    Live vessel positions updated continuously
  </Card>

  <Card title="2 Year History" icon="database">
    Historical voyage data for route analysis
  </Card>

  <Card title="Credit-based" icon="coins">
    Pay only for what you use, starting at 1 credit per call
  </Card>

  <Card title="REST API" icon="code">
    Simple JSON responses, easy to integrate
  </Card>
</CardGroup>

***

## Popular Endpoints

| Endpoint                                                               | Description                                | Credits |
| ---------------------------------------------------------------------- | ------------------------------------------ | ------- |
| [Get Vessel Location](/api-reference/vessel/get-vessel-location)       | Real-time position, speed, and destination | 1       |
| [Get Vessel Info](/api-reference/vessel/get-vessel-info)               | Complete vessel profile                    | 5       |
| [Port Calls by Vessel](/api-reference/port/port-calls-by-vessel)       | Port history for a vessel                  | 5       |
| [Vessel Inspection Data](/api-reference/vessel/vessel-inspection-data) | PSC inspections and certificates           | 3       |
| [Historical Data](/api-reference/vessel/get-vessel-historical-data)    | Voyage reconstruction                      | 5/day   |
| [Vessels by Area](/api-reference/vessel/get-vessels-by-area)           | Find vessels in a region                   | 10      |
