# Get AIS vessel presence heatmap in MVT format (/docs/examples/tiles/tiles-example6)



**Path parameters**

| Parameter | Value   | Description      |
| --------- | ------- | ---------------- |
| `z/x/y`   | `0/0/0` | Tile coordinates |

**Query parameters**

| Parameter              | Value                           | Description                  |
| ---------------------- | ------------------------------- | ---------------------------- |
| `date-range`           | `2023-05-01,2023-10-20`         | Filter to this time period   |
| `datasets[0]`          | `public-global-presence:latest` | AIS vessel presence dataset  |
| `format`               | `MVT`                           | Tile output format           |
| `interval`             | `DAY`                           | Daily temporal resolution    |
| `temporal-aggregation` | `true`                          | Aggregate values across time |

**Request**

<Tabs items="['cURL', 'JavaScript']">
  <Tab value="cURL">
    ```shell
    # Make sure to replace [TOKEN] with your API Access Token
    curl --location --globoff 'https://gateway.api.globalfishingwatch.org/v3/4wings/tile/heatmap/0/0/0?date-range=2023-05-01%2C2023-10-20&datasets[0]=public-global-presence%3Alatest&format=MVT&interval=DAY&temporal-aggregation=true' \
      -H "Authorization: Bearer [TOKEN]" \
    ```
  </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/4wings/tile/heatmap/0/0/0?date-range=2023-05-01%2C2023-10-20&datasets[0]=public-global-presence%3Alatest&format=MVT&interval=DAY&temporal-aggregation=true',
      { headers: { Authorization: 'Bearer [TOKEN]' } }
    )
    const blob = await res.blob()
    ```
  </Tab>
</Tabs>

**Response**

If the request is successful, in this example the response will be a MVT file <a external="true" href="/our-apis/documentation/assets/sar_fixed_infrastructure.mvt" target="_blank">similar to this.</a>
