---
title: List bots
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Radar](https://developers.cloudflare.com/api/python/resources/radar)

[Bots](https://developers.cloudflare.com/api/python/resources/radar/subresources/bots)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# List bots

radar.bots.list(BotListParams\*\*kwargs) -> [BotListResponse](<https://developers.cloudflare.com/api/python/resources/radar#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)>)

GET/radar/bots

Retrieves a list of bots.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`User Details Write``User Details Read`

##### ParametersExpand Collapse

<details>

<summary>

bot\_category: Optional\[Literal\["SEARCH\_ENGINE\_CRAWLER", "SEARCH\_ENGINE\_OPTIMIZATION", "MONITORING\_AND\_ANALYTICS", 13 more]]

Filters results by bot category.

</summary>

One of the following:

"SEARCH\_ENGINE\_CRAWLER"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"SEARCH\_ENGINE\_OPTIMIZATION"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"MONITORING\_AND\_ANALYTICS"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

"ADVERTISING\_AND\_MARKETING"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

"SOCIAL\_MEDIA\_MARKETING"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

"PAGE\_PREVIEW"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

"ACADEMIC\_RESEARCH"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

"SECURITY"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

"ACCESSIBILITY"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

"WEBHOOKS"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

"FEED\_FETCHER"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

"AI\_CRAWLER"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

"AGGREGATOR"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

"AI\_ASSISTANT"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

"AI\_SEARCH"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

"ARCHIVER"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)%20%3E%20(member)%2015">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)>)

bot\_operator: Optional\[str]

Filters results by bot operator.

maxLength100

[Link to this property](<#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botOperator%20%3E%20(schema)>)

bot\_verification\_status: Optional\[Literal\["VERIFIED"]]

Filters results by bot verification status.

[Link to this property](<#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botVerificationStatus%20%3E%20(schema)>)

<details>

<summary>

format: Optional\[Literal\["JSON", "CSV"]]

Format in which results will be returned.

</summary>

One of the following:

"JSON"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"CSV"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)>)

<details>

<summary>

kind: Optional\[Literal\["AGENT", "BOT"]]

Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.

</summary>

One of the following:

"AGENT"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20kind%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"BOT"

<a href="#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20kind%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20kind%20%3E%20(schema)>)

limit: Optional\[int]

Limits the number of objects returned in the response.

exclusiveMinimum

minimum0

[Link to this property](<#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20limit%20%3E%20(schema)>)

offset: Optional\[int]

Skips the specified number of objects before fetching the results.

minimum0

[Link to this property](<#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20offset%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

class BotListResponse: …

</summary>

<details>

<summary>

bots: List\[Bot]

</summary>

category: str

The category of the bot.

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots%20%3E%20(items)%20%3E%20(property)%20category">Link to this property</a>

description: str

A summary for the bot (e.g., purpose).

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

Deprecatedkind: str

The kind of the bot.

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots%20%3E%20(items)%20%3E%20(property)%20kind">Link to this property</a>

name: str

The name of the bot.

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

operator: str

The organization that owns and operates the bot.

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots%20%3E%20(items)%20%3E%20(property)%20operator">Link to this property</a>

slug: str

A kebab-case identifier derived from the bot name.

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots%20%3E%20(items)%20%3E%20(property)%20slug">Link to this property</a>

user\_agent\_patterns: List\[str]

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots%20%3E%20(items)%20%3E%20(property)%20userAgentPatterns">Link to this property</a>

</details>

<a href="#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)%20%3E%20(property)%20bots">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bots%20%3E%20(model)%20bot_list_response%20%3E%20(schema)>)

### List bots

Python

HTTPTypeScriptPythonGoTerraform

```
import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),  # This is the default and can be omitted
)
bots = client.radar.bots.list()
print(bots.bots)
```

200 example

```
{
  "result": {
    "bots": [
      {
        "category": "AI_CRAWLER",
        "description": "OpenAI/ChatGPT's web crawler",
        "kind": "AGENT",
        "name": "GPTBot",
        "operator": "OpenAI",
        "slug": "gptbot",
        "userAgentPatterns": [
          "GPTBot"
        ]
      }
    ]
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "result": {
    "bots": [
      {
        "category": "AI_CRAWLER",
        "description": "OpenAI/ChatGPT's web crawler",
        "kind": "AGENT",
        "name": "GPTBot",
        "operator": "OpenAI",
        "slug": "gptbot",
        "userAgentPatterns": [
          "GPTBot"
        ]
      }
    ]
  },
  "success": true
}
```