Instagram Insights

Overview

Instagram data synced to V4MOS.AI, through the integration's own endpoints

The V4MOS.AI Instagram API gives you the raw records synced from the Instagram accounts connected to your organization: daily account insights, insights per media product type, published media, follower count and follower demographics. Rows come as they were synced, with the warehouse column names (snake_case), so you can load them straight into your BI. All endpoints use the /v1/instagram-insights prefix and the same authentication, pagination and response format.

Getting started

Base URL: https://data.v4mos.ai. Every call requires your API credentials and the organizationId — see Authentication.

  1. Connect Instagram in app.v4mos.ai (Connected accounts) and wait for the first sync.
  2. Call any endpoint below with your organizationId, for example GET /v1/instagram-insights/daily?organizationId=….
  3. Every row carries integration_id and integration_name: the connection it came from. To read a single connection, pass that value as integrationId. integration_id is a 17-digit identifier: always treat it as text.

Available endpoints

Resources

EndpointWhat one row isdateFrom / dateTo filter
GET /v1/instagram-insights/dailyOne row per account and day: views, reach, accounts engaged, interactions, profile visits, link taps, website clicks, follows and unfollows.date
GET /v1/instagram-insights/by-product-typeOne row per account, day and media product type (POST, REEL, STORY, CAROUSEL_CONTAINER, AD): views, reach, interactions, likes, comments, shares and saves.date
GET /v1/instagram-insights/mediaOne row per published media of the account: type, permalink, caption, like and comment counts.media_timestamp
GET /v1/instagram-insights/follower-countOne row per account and day with the follower count.date
GET /v1/instagram-insights/demographicsLifetime follower demographics snapshot by breakdown (age, gender, country, city). Each load replaces the rows of a breakdown as a whole, including clearing it when the source confirms it is empty; if an extraction fails the previous snapshot is kept, so check inserted_at for freshness. Requires 100+ followers.—

Scope

views and reach in daily include ads. For organic numbers use by-product-type and leave out the rows where media_product_type is AD (a row with no product type counts as organic). reach and accounts_engaged are deduplicated by Meta: never sum them across days or across product types.

Pagination and filters

  • page (default 1) and limit (default 500, max 5000). meta.hasNextPage says whether another page exists; rows come in a stable order, so walk the pages until it is false.
  • dateFrom / dateTo (YYYY-MM-DD, inclusive) filter by the date column shown in the table above. Resources without one reject them.
  • integrationId keeps the rows of one connection.
  • A 404 saying the resource is not available in this environment yet means its warehouse table is not deployed there yet; retry after the release.
  • Answers are cached for 30 minutes and the data is synced once a day — see Data sync.

Response format

{
  "data": [{ "...": "one object per row, with the columns listed on each endpoint" }],
  "meta": {
    "page": 1,
    "limit": 500,
    "hasNextPage": true,
    "hasPreviousPage": false
  }
}

Large counters (format: int64 fields in each endpoint's schema) arrive as text, for example "1250", so no precision is lost. Convert them to a numeric type on your side.

On this page