> ## 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.

# Run Search

Run a search query across Censys data.

<Note>
  External Documentation

  To learn more, visit the [Censys documentation](https://docs.censys.com/reference/v3-globaldata-search-query).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                                                                                                                             |
  | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Fields          | A comma-separated list of fields to include in the response. All other fields will be excluded.<br /><br />For example:<br />\* `host, web`<br />\* `web.endpoints`<br />\* `cert`<br /><br />For a complete list of all available fields, please visit the [Censys docs](https://platform.censys.io/home/definitions). |
  | Organization ID | The ID of the organization to associate the request with.                                                                                                                                                                                                                                                               |
  | Query           | The CenQL query string to search by.<br /><br />For example: `host.services.port=21` or `host.services.protocol=FTP`<br /><br />For more information about Censys query syntax, see the [Censys documentation](https://docs.censys.com/docs/censys-query-language#/).                                                   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                                                                                       |
  | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Page Size  | The amount of results to return per page.                                                                                                                                         |
  | Page Token | A page token for the requested page of search results.<br /><br />The page token can be obtained from the `next_page_token` or `previous_page_token` fields in the response json. |
</div>

## Example Output

```json theme={"dark"}
{
	"result": {
		"hits": [
			{
				"certificate_v1": {},
				"host_v1": {},
				"webproperty_v1": {}
			}
		],
		"next_page_token": "string",
		"previous_page_token": "string",
		"query_duration_millis": 0,
		"total_hits": 0
	}
}
```

## Workflow Library Example

[Run Search with Censys and Send Results Via Email](https://library.blinkops.com/workflows/run-search-with-censys-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/run-search-with-censys-and-send-results-via-email/canvas" />
</div>
