GET_ACCOUNT_METRICS_INSTAGRAM

Get metrics such as impressions or reach about your accounts and aggregate results by day, week or month.

icon of InstagramInstagram
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
GET_ACCOUNT_METRICS_INSTAGRAM(username
[account_metrics]
[aggregation_period]
[date_range]
)
username

The Instagram username of your business or creator account. For example: "adidas".

[optional] account_metrics

Metrics to retrieve about the account, separated by commas. By default it will return the number of followers, impressions, profile views, reach, and website clicks. followercount, online_followers, and all audience* metrics are not available for accounts with fewer than 100 followers.

For a complete list of possible metrics, see the Instagram Insights API documentation.

Selected options:
Email contacts
Follower count
Directions clicks
Impressions
Phone call clicks
Profile views
Reach
Text message clicks
Website clicks
[optional] aggregation_period

Period of aggregation of the data. For example: "day", "week", "day_28".

For a complete list of possible aggregation periods, see the Metrics and Insights Instagram API documentation.

Selected options:
Day
Days_28
Lifetime
Week
[optional] date_range

Date range to get insights for. Can be a period of up to 30 days.

For example: ">2020-11-01" or "[2019-01-01;2019-01-20]". By default, it gets the last two days.

Examples

GET_ACCOUNT_METRICS_INSTAGRAM("adidas") returns the list of metrics available for the "adidas" account for the last 2 days.