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

# Search Events

&#x20;Required API key permission: **Read Tenant**

> [!NOTE]
>
> This endpoint is subject to quotas and is subject to the `Search` ratelimiting tier.
> See
> [Rate Limits and Quotas ](https://api.docs.flare.io/concepts/rate-limits-and-quotas.md).

## Guides

See the guide for using this endpoint:
[Search in All of Flare's Events ](https://api.docs.flare.io/guides/global-search.md).

```json Response Example theme={null}
{
    "items": [
        {
            "metadata": {
                "estimated_created_at": "2019-09-20T16:30:37.589388Z",
                "matched_at": "2019-09-21T10:15:22.123456Z",
                "type": "listing",
                "uid": "listing/apollon_market/9861",
                "severity": "critical"
            },
            "tenant_metadata": {
                "severity": {
                    "original": "low",
                    "override": "critical"
                },
                "tags": [
                    "important",
                ],
                "notes": "This reason why this is tagged as 'important' is: ..."
            },
            "highlights": {
                "description": [
                    "Bank Statement PSD <mark>Template</mark>\r\n\r\nWe promise:\r\n- Your order will be delivered instantly."
                ],
                "title": [
                    "Bank Statement PSD <mark>Template</mark>"
                ]
            }
        }
    ],
    "next": "WzE1Njg5OTcwMzc1ODksICJsaXN0aW5nL2Fwb2xsb25fbWFya2V0Lzk4NjEiXQ%3D%3D"
}
```

## Paging

This endpoint supports the
[Flare standard paging pattern ](https://api.docs.flare.io/concepts/paging.md).

## Body Parameters

**query** `object`

One of the supported queries.&#x20;

```json Domain theme={null}
{
  "type": "domain",
  "fqdn": "<string>"
}
```

```json Email theme={null}
{
  "type": "email",
  "email": "<string>"
}
```

```json Keyword theme={null}
{
  "type": "keyword",
  "keyword": "<string>"
}
```

```json Query String theme={null}
{
  "type": "query_string",
  "query_string": "<string>"
}
```

```json Username theme={null}
{
  "type": "username",
  "username": "<string>"
}
```

```json GitHub Repository theme={null}
{
  "type": "github_repository",
  "repo_owner": "<string>"
  "repo_name": "<string>"
}
```

```json Brand theme={null}
{
  "type": "brand",
  "name": "<string>"
}
```

```json Name theme={null}
{
  "type": "name",
  "first_name": "<string>"
  "last_name": "<string>"
  "is_strict": "<boolean>"
}
```

```json CC Bin theme={null}
{
  "type": "bin",
  "bin": "<string>"
}
```

```json IP theme={null}
{
  "type": "ip",
  "ip": "<string>"
}
```

```json Credentials theme={null}
{
  "type": "credentials",
  "username": "<string>"
  "password": "<string>"
}
```

```json Secret theme={null}
{
  "type": "secret",
  "secret": "<string>"
}
```

```json Azure Tenant theme={null}
{
  "type": "azure_tenant",
  "tenant_id": "<string>"
}
```

**size** `number`

Maximum number of items to return. Older plans return at most 10 items per page.

**from** `string`

The `next` value from the last response.

**order** `string` (default: desc)

Sort order of the results by estimated creation date (`estimated_created_at`).

**valid order values**

`asc`
`desc`

**filters** `object`

**severity** `string[]`

If a string value is specified, results will contain events that have a greater than or equal severity. Otherwise, if an array of severities is specified, results will only contain events that exactly match one of them.

**valid severity values**

`info`
`low`
`medium`
`high`
`critical`

**type** `string[]`

**valid type values**

`illicit_networks`
`open_web`
`leak`
`domain`
`listing`
`forum_content`
`blog_content`
`blog_post`
`profile`
`chat_message`
`ransomleak`
`infected_devices`
`financial_data`
`bot`
`stealer_log`
`paste`
`social_media`
`source_code`
`source_code_files`
`stack_exchange`
`google`
`service`
`buckets`
`bucket`
`bucket_object`

Learn more about [Event Source Filters ](https://api.docs.flare.io/advanced/event-source-filters.md).

**estimated\_created\_at** `object`

Filters on the estimated date the event was created on its source.

**gt** `string`

Matches values greater than the specified timestamp.

Format: ISO-8601

**gte** `string`

Matches values greater than or equal to the specified timestamp.

Format: ISO-8601

**lt** `string`

Matches values lesser than the specified timestamp.

Format: ISO-8601

**lte** `string`

Matches values lesser than or equal to the specified timestamp.

Format: ISO-8601


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.