Canonical: https://weaveos.com/reference/digitalocean/list-droplets-by-tag

1. [Software capabilities](https://weaveos.com/reference)
2. /[DigitalOcean](https://weaveos.com/reference/digitalocean)
3. /List DigitalOcean Droplets by tag

[![](https://weaveos.com/reference/logos/digitalocean.svg)DigitalOcean](https://weaveos.com/reference/digitalocean)

# List DigitalOcean Droplets by tag

Filter Droplets by tag in the API or with doctl. Both return non-GPU Droplets by default. The API’s tag filter cannot be combined with the name or GPU filter.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: GET /v2/droplets](https://weaveos.com/reference/digitalocean/list-droplets-by-tag#method-1)
2. [2CLI: doctl compute droplet list](https://weaveos.com/reference/digitalocean/list-droplets-by-tag#method-2)

API

### GET /v2/droplets

List Droplets with the exact tag\_name and read region, size, and status metadata.

[Read source: DigitalOcean list Droplets API](https://docs.digitalocean.com/reference/api/reference/droplets/#list-all-droplets)

- Requirements

  A DigitalOcean token with droplet:read and tag:read, and the name of the tag.

- Limitations

  per\_page accepts 1 to 200 and defaults to 20. Follow links.pages.next to retrieve the full tagged inventory.

Example shell

Copy

```
curl --fail --get "https://api.digitalocean.com/v2/droplets" --data-urlencode "tag_name=$DIGITALOCEAN_TAG" --data-urlencode "per_page=100" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN"
```

CLI

### doctl compute droplet list

Use --tag-name to list tagged Droplets, with --region to narrow the display and --format to select columns.

[Read source: doctl droplet list](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/list/)

- Requirements

  An authenticated doctl context with droplet:read and tag:read.

- Limitations

  The normal list excludes GPU Droplets. Use a separate GPUs-only listing when auditing GPU capacity.

Example shell

Copy

```
doctl compute droplet list --tag-name "$DIGITALOCEAN_TAG" --format ID,Name,Region,Status
```

## More from DigitalOcean

[View all 1 DigitalOcean tasks](https://weaveos.com/reference/digitalocean)
