# Brand24

> Read Brand24 project analytics, mention trends and account usage.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/brand24

## Actions

### Count mentions

Read the daily total of mentions.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date, required): Start of date range. Allowed format: YYYY-MM-DD.
- Date to (`date_to`, date, required): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from`.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "mentions_count": {},
      "total": 1
    },
    "status": "success"
  }
}
```

### Get account limits

Read the plan allowances and usage.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "credits": {
        "estimated_usage": 1,
        "limit": 1,
        "paid_limit": 1,
        "used": 1
      },
      "mentions": {
        "limit": 1,
        "paid_limit": 1,
        "used": 1
      },
      "phrases": {
        "limit": 1,
        "paid_limit": 1,
        "used": 1
      }
    },
    "status": "success"
  }
}
```

### Get AI insights

Read AI-generated insights about a project.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted and `date_to` is provided, defaults to `date_to` minus 31 days. If both dates are omitted, defaults to 31 days ago.
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Optional. if omitted and `date_from` is provided, defaults to `date_from` plus 31 days. If both dates are omitted, defaults to today. Returns 400 if both dates are provided and the range exceeds 31 days.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "date_from": "example",
      "date_to": "example",
      "headline": "example",
      "insights": "example",
      "project_id": 1,
      "recommendations": "example",
      "trends": "example"
    },
    "status": "success"
  }
}
```

### Get AI summary

Read Brand24’s AI-generated project summary.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted and `date_to` is provided, defaults to `date_to` minus 31 days. If both dates are omitted, defaults to 31 days ago.
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Optional. if omitted and `date_from` is provided, defaults to `date_from` plus 31 days. If both dates are omitted, defaults to today. Returns 400 if both dates are provided and the range exceeds 31 days.
- Language (`language`, text): Language of the summary text. One of `en`, `pl`, `es`, `id`. Optional. if omitted, defaults to `en`. One of: `en`, `pl`, `es`, `id`.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "date_from": "example",
      "date_to": "example",
      "project_id": 1,
      "summary": "example"
    },
    "status": "success"
  }
}
```

### Get daily metrics

Read daily metrics and optionally break them down by source.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Start date (`start_date`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted and `to` is provided, defaults to `to` minus 31 days. If both dates are omitted, defaults to 31 days ago.
- End date (`end_date`, date): End of date range. Allowed format: YYYY-MM-DD. Optional. if omitted and `from` is provided, defaults to `from` plus 31 days. If both dates are omitted, defaults to today. Returns 400 if both dates are provided and the range exceeds 31 days.
- Source (`source`, text): Optional source filter. If omitted, totals include all sources. One of: `twitter`, `facebook`, `instagram`, `reddit`, `youtube`, `tiktok`, `news`.
- Include by source (`include_by_source`, true/false): If true, includes source breakdown in `by_source` for each day. Allowed values: true, false, 1, 0.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "days": [],
      "from": "example",
      "project_id": 1,
      "to": "example"
    },
    "status": "success"
  }
}
```

### Get demographics

Read available audience demographics.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted, defaults to 30 days before `date_to` (or 30 days ago when both are omitted).
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from` when both are provided. Optional. if omitted, defaults to today.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "date_from": "example",
      "date_to": "example",
      "demographics": {
        "ages": {
          "female": [],
          "male": []
        },
        "countries": [],
        "educations": [],
        "incomes": [],
        "interests": [],
        "occupations": [],
        "sex": [],
        "social_media_presence": []
      },
      "project_id": 1
    },
    "status": "success"
  }
}
```

### Get mention countries

Read the geographic breakdown of mentions.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date, required): Start of date range. Allowed format: YYYY-MM-DD.
- Date to (`date_to`, date, required): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from`.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "countries": [],
      "date_from": "example",
      "date_to": "example",
      "geolocation_coverage_percent": 1,
      "project_id": 1
    },
    "status": "success"
  }
}
```

### Get mention reach

Read the estimated reach of mentions.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date, required): Start of date range. Allowed format: YYYY-MM-DD.
- Date to (`date_to`, date, required): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from`.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "mentions": {},
      "mentions_total": 1,
      "non_social_media_reach": {},
      "non_social_media_reach_total": 1,
      "social_media_reach": {},
      "social_media_reach_total": 1
    },
    "status": "success"
  }
}
```

### Get mention sentiment

Read daily counts by sentiment.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date, required): Start of date range. Allowed format: YYYY-MM-DD.
- Date to (`date_to`, date, required): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from`.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "mentions": {},
      "negative_mentions": {},
      "neutral_mentions": {},
      "positive_mentions": {},
      "total_mentions": 1,
      "total_negative_mentions": 1,
      "total_neutral_mentions": 1,
      "total_positive_mentions": 1
    },
    "status": "success"
  }
}
```

### Get mention usage

Read used and projected mentions for the billing period.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "mentions_usage_estimation_at_the_end": 1.0,
      "usage": 1
    },
    "status": "success"
  }
}
```

### Get presence score

Read a project’s online presence score.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. defaults to 30 days before `date_to`.
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Optional. defaults to today. A later date is treated as today.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "benchmark_percentage": 1,
      "date_from": "example",
      "date_to": "example",
      "project_id": 1,
      "score": 1,
      "time_series": {}
    },
    "status": "success"
  }
}
```

### List keywords

Read the keywords tracked by a project.

**Inputs**

- Project (`project_id`, number, required): ID of your project

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "keywords": []
    },
    "status": "success"
  }
}
```

### List popular domains

Read the domains where the project was mentioned.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted, defaults to 30 days before `date_to` (or 30 days ago when both are omitted).
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from` when both are provided. Optional. if omitted, defaults to today.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "date_from": "example",
      "date_to": "example",
      "domains": [],
      "project_id": 1,
      "total_domains": 1
    },
    "status": "success"
  }
}
```

### List project events

Read reported spikes and events for a project.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted, defaults to 31 days before `date_to` (or 31 days ago when both are omitted).
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from` when both are provided. Optional. if omitted, defaults to today.
- Sort order (`sort_order`, text): Sort order for returned events by anomaly date. One of: `asc`, `desc`.
- Limit (`limit`, number): Maximum number of events to return. At least 1.
- Exclude duplicates (`exclude_duplicates`, true/false): When `true` (or `1`), drops events driven by duplicated mentions (`is_duplicates_anomaly: true`). Applied before `limit`, so `total` counts only the remaining events. Optional. by default all events are returned.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "anomalies": [],
      "project_id": 1,
      "project_name": "example",
      "total": 1
    },
    "status": "success"
  }
}
```

### List projects

Read the projects in the connected Brand24 account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "projects": []
  }
}
```

### List saved filters

Read a project’s saved filters.

**Inputs**

- Project (`project_id`, number, required): ID of your project

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "filters": []
    },
    "status": "success"
  }
}
```

### List tags

Read available mention tags in the project.

**Inputs**

- Project (`project_id`, number, required): ID of your project

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "tags": []
    },
    "status": "success"
  }
}
```

### List topics

Read the topics found in a project’s mentions.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted, defaults to 30 days before `date_to` (or 30 days ago when both are omitted).
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from` when both are provided. Optional. if omitted, defaults to today.
- Event date (`event_date`, date): Day of a project event, as `anomaly_date` returned by `/project_events`. Allowed format: YYYY-MM-DD. Optional. Sets the date range to that day, so it cannot be combined with `date_from` or `date_to` (400). A date with no event for the project returns 400.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "event_date": "example",
      "project_id": 1,
      "status": "ok",
      "topics": []
    },
    "status": "success"
  }
}
```

### List trending hashtags

Read hashtags trending in project mentions.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted, defaults to 30 days before `date_to` (or 30 days ago when both are omitted).
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from` when both are provided. Optional. if omitted, defaults to today.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "date_from": "example",
      "date_to": "example",
      "hashtags": [],
      "project_id": 1,
      "total_hashtags": 1
    },
    "status": "success"
  }
}
```

### List trending links

Read links trending in project mentions.

**Inputs**

- Project (`project_id`, number, required): ID of your project
- Date from (`date_from`, date): Start of date range. Allowed format: YYYY-MM-DD. Optional. if omitted, defaults to 30 days before `date_to` (or 30 days ago when both are omitted).
- Date to (`date_to`, date): End of date range. Allowed format: YYYY-MM-DD. Must be equal to or after `date_from` when both are provided. Optional. if omitted, defaults to today.
- Search (`search`, text): Optional. Only mentions matching this phrase, in the panel syntax: keywords joined by `{AND}`, `{OR}`, `{NOT}`, `{IS}` (exact match). Advanced syntax (quotes, parentheses, proximity, unbraced `AND`/`OR`/`NOT`) works only where the project's mentions for the requested dates are served by the search index; otherwise the request is rejected. Wildcards (`*` and
- Sentiment (`sentiment`, text): Optional. Comma-separated: `positive`, `negative`, `neutral`.
- Filter id (`filter_id`, number): Optional. Saved filter id from `GET /project/{project_id}/saved-filters`. Its filters apply first; any filter parameter sent with the request replaces the saved value for that filter. The saved dates are ignored. At least 1.

**Outputs**

- `data` (object): The response from Brand24.

**Example output**

```json
{
  "data": {
    "message": {
      "date_from": "example",
      "date_to": "example",
      "project_id": 1,
      "total_links": 1,
      "trending_links": []
    },
    "status": "success"
  }
}
```
