---
title: Get indicator feed data
---

[Skip to content](#_top)

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

[Intel](https://developers.cloudflare.com/api/go/resources/intel)

[Indicator Feeds](https://developers.cloudflare.com/api/go/resources/intel/subresources/indicator_feeds)

Copy Markdown

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

---

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

# Get indicator feed data

client.Intel.IndicatorFeeds.Data(ctx, feedID, query) (\*string, error)

GET/accounts/{account\_id}/intel/indicator-feeds/{feed\_id}/data

Retrieves the raw data entries in a custom threat indicator feed.

##### Security

API Email + API Key

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

**Example:**`X-Auth-Email: user@example.com`

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

**Example:**`X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194`

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

`Intel Write``Intel Read`

##### ParametersExpand Collapse

feedID int64

Indicator feed ID

[Link to this property](<#(resource)%20intel.indicator_feeds%20%3E%20(method)%20data%20%3E%20(params)%20default%20%3E%20(param)%20feed_id%20%3E%20(schema)>)

<details>

<summary>

query IndicatorFeedDataParams

</summary>

AccountID param.Field\[string]

Identifier

maxLength32

<a href="#(resource)%20intel.indicator_feeds%20%3E%20(method)%20data%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20intel.indicator_feeds%20%3E%20(method)%20data%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

type IndicatorFeedDataResponse string

[Link to this property](<#(resource)%20intel.indicator_feeds%20%3E%20(method)%20data%20%3E%20(network%20schema)>)

### Get indicator feed data

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

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

func main() {
  client := cloudflare.NewClient(
    option.WithAPIKey("144c9defac04969c7bfad8efaa8ea194"),
    option.WithAPIEmail("user@example.com"),
  )
  response, err := client.Intel.IndicatorFeeds.Data(
    context.TODO(),
    int64(12),
    intel.IndicatorFeedDataParams{
      AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response)
}
```

##### Returns Examples