GET_METRICS_INSTAGRAM

Get metrics for accounts with more than 100 followers such as views 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_METRICS_INSTAGRAM(username
[account_metrics]
[aggregation_period]
[date_range]
[breakdowns]
)
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, 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:
Accounts engaged
Comments
Follows & unfollows
Likes
Profile link taps
Reach
Replies
Saves
Shares
Total interactions
Views
[optional] aggregation_period

Period of aggregation of the data. For example: daily or all.

Selected options:
All
Daily
[optional] date_range

The date range to get insights for. It 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.

This value is ignored when using a timeframe such as last_14_days or this_month.

[optional] breakdowns

Breakdowns separated by commas to segment your results into specific subsets. For example, country or media_product_type. For a complete list of breakdowns, see the Metrics and Insights Instagram API documentation

Selected options:
Media product type
Follow type
Contact button type
Follower type

Examples

GET_METRICS_INSTAGRAM("adidas") returns the list of metrics available for the "adidas" account for the last 7 days.