Skip to main content
GET
Get account insights

Authentication

Use the hmat_ channel token from GET /meta/channels/{id}/token or hookmyapp channels env <channel>. Do not use an hmok_ API key for this call.

Path parameters

string
required
The connected Instagram account ID.

Query parameters

string
required
Comma-separated metrics: reach, views, likes, comments, shares, saves, total_interactions, accounts_engaged, profile_links_taps, follows_and_unfollows. Demographic metrics follower_demographics and engaged_audience_demographics are also available — they need timeframe, period=lifetime, and at least 100 followers.
string
required
Aggregation period, e.g. day.
string
Pass total_value whenever you request total-value metrics such as views, likes, comments, shares, saves, total_interactions, or accounts_engaged — Meta rejects those metrics without it. Metrics that support a time series (such as reach) work without it and return per-period values instead.
string
For supported interaction metrics: follow_type, media_product_type, or contact_button_type. For the demographic metrics (follower_demographics, engaged_audience_demographics), pass a demographic dimension instead — age, city, country, or gender — together with metric_type=total_value; Meta rejects a demographics call without one.
string
Required for demographic metrics: last_14_days, last_30_days, last_90_days, prev_month, or this_month.
See Insights for metric definitions and data caveats (48-hour lag, values under 5 withheld).

Example

Successful response