---
title: List bots
---

[Skip to content](#_top)

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

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

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

Copy Markdown

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

---

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

# List bots

client.Radar.Bots.List(ctx, query) (\*[BotListResponse](<https://developers.cloudflare.com/api/go/resources/radar#(resource)%20radar.bots%20%3E%20(model)%20BotListResponse%20%3E%20(schema)>), error)

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>

query BotListParams

</summary>

<details>

<summary>

BotCategory param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</a>]Optional

Filters results by bot category.

</summary>

const BotListParamsBotCategorySearchEngineCrawler <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</a> = "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>

const BotListParamsBotCategorySearchEngineOptimization <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryMonitoringAndAnalytics <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryAdvertisingAndMarketing <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategorySocialMediaMarketing <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryPagePreview <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryAcademicResearch <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategorySecurity <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryAccessibility <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryWebhooks <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryFeedFetcher <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryAICrawler <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryAggregator <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryAIAssistant <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryAISearch <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

const BotListParamsBotCategoryArchiver <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botCategory%20%3E%20(schema)">BotListParamsBotCategory</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>

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

BotOperator param.Field\[string]Optional

Filters results by bot operator.

maxLength100

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

<details>

<summary>

BotVerificationStatus param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botVerificationStatus%20%3E%20(schema)">BotListParamsBotVerificationStatus</a>]Optional

Filters results by bot verification status.

</summary>

const BotListParamsBotVerificationStatusVerified <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20botVerificationStatus%20%3E%20(schema)">BotListParamsBotVerificationStatus</a> = "VERIFIED"

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

</details>

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

<details>

<summary>

Format param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)">BotListParamsFormat</a>]Optional

Format in which results will be returned.

</summary>

const BotListParamsFormatJson <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)">BotListParamsFormat</a> = "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>

const BotListParamsFormatCsv <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)">BotListParamsFormat</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>

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

<details>

<summary>

Kind param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20kind%20%3E%20(schema)">BotListParamsKind</a>]Optional

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

</summary>

const BotListParamsKindAgent <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20kind%20%3E%20(schema)">BotListParamsKind</a> = "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>

const BotListParamsKindBot <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/bots/methods/list#(resource)%20radar.bots%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20kind%20%3E%20(schema)">BotListParamsKind</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>

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

Limit param.Field\[int64]Optional

Limits the number of objects returned in the response.

exclusiveMinimum

minimum0

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

Offset param.Field\[int64]Optional

Skips the specified number of objects before fetching the results.

minimum0

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

</details>

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

##### ReturnsExpand Collapse

<details>

<summary>

type BotListResponse struct{…}

</summary>

<details>

<summary>

Bots \[]BotListResponseBot

</summary>

Category string

The category of the bot.

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

Description string

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

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

DeprecatedKind string

The kind of the bot.

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

Name string

The name of the bot.

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

Operator string

The organization that owns and operates the bot.

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

Slug string

A kebab-case identifier derived from the bot name.

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

UserAgentPatterns \[]string

<a href="#(resource)%20radar.bots%20%3E%20(model)%20BotListResponse%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)%20BotListResponse%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)%20BotListResponse%20%3E%20(schema)>)

### List bots

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/option"
  "github.com/cloudflare/cloudflare-go/radar"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  bots, err := client.Radar.Bots.List(context.TODO(), radar.BotListParams{

  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", 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
}
```