# Get AIS apparent fishing effort bins for zoom 1 in a daily interval (/docs/examples/bins/bins-example1)



**Path parameters**

| Parameter | Value | Description |
| --------- | ----- | ----------- |
| `z`       | `1`   | Zoom level  |

**Query parameters**

| Parameter              | Value                                 | Description                         |
| ---------------------- | ------------------------------------- | ----------------------------------- |
| `datasets[0]`          | `public-global-fishing-effort:latest` | AIS apparent fishing effort dataset |
| `temporal-aggregation` | `false`                               | Don't aggregate values across time  |
| `num-bins`             | `9`                                   | Number of bins to generate          |
| `interval`             | `DAY`                                 | Daily temporal resolution           |

**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/bins/1?datasets[0]=public-global-fishing-effort%3Alatest&temporal-aggregation=false&num-bins=9&interval=DAY' \
      -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/bins/1?datasets[0]=public-global-fishing-effort%3Alatest&temporal-aggregation=false&num-bins=9&interval=DAY',
      { headers: { Authorization: 'Bearer [TOKEN]' } }
    )
    const data = await res.json()
    ```
  </Tab>
</Tabs>

**Response**

```json
{
  "total": 1,
  "limit": null,
  "offset": null,
  "nextOffset": null,
  "metadata": {},
  "entries": [
    [
      0, 9.614632153181205, 46.89072615583312, 135.94034024094597, 257.06961050684566,
      568.6451974803559, 913.1298155603789, 1173.3012226127767, 1554.9284184570513
    ]
  ]
}
```
