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

# Get Devices Count For IOC

Get the number of hosts in your customer account that have observed a given customer IOC.

**Note:** This response has a limit of 2,000 hosts. If there are more than 2,000 hosts, `limit_exceeded` is returned as true in the response. You can use the `Search Across Devices` action to page through results for hosts counts over 2,000.

The following permission is required to run this action:

* `IOC Management`: **Read** and **Write**.

* `IOCs (Indicators of Compromise)`: **Read**.

**Note:** An error with 404 response code may occur if no devices are found for the indicator, or if the host has aged out.

<Note>
  External Documentation

  To learn more, visit the [CrowdStrike documentation](https://falcon.us-2.crowdstrike.com/documentation/page/ed1b4a95/detection-and-prevention-policy-apis#x1d88002).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                       |
  | -------------- | ------------------------------------------------------------------------------------------------- |
  | Indicator Type | The type of the indicator.                                                                        |
  | Value          | The string representation of the indicator, can be obtained by using the `Get Indicator Details`. |
</div>

## Example Output

```json theme={"dark"}
{
	"meta": {
		"query_time": 0.041169611,
		"trace_id": "7e2c0465-81ce-41b0-b87f-1a2ffb96f65c"
	},
	"resources": [
		{
			"id": "domain:example.com",
			"type": "domain",
			"value": "example.com",
			"device_count": 13
		}
	],
	"errors": []
}
```

## Workflow Library Example

[Get Devices Count for Ioc with Crowdstrike and Send Results Via Email](https://library.blinkops.com/workflows/get-devices-count-for-ioc-with-crowdstrike-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-devices-count-for-ioc-with-crowdstrike-and-send-results-via-email/canvas" />
</div>
