Analytics
Recovering of all metrics from Analytics.
Last updated
Recovering of all metrics from Analytics.
Last updated
GET
https://api.asters.ai/external/analytics/metrics/:providerName:/:language
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
[
{
"_id": "654500baea3749deffa6ce78",
"provider": "facebook",
"ref": "fb_impressions",
"graphType": "areaspline",
"name": "Post - Impressions",
"description": "Number of times page or page-related content was displayed on the screen"
},
{
"_id": "654503acea3749deffa6ce7f",
"provider": "instagram",
"ref": "ig_comment_average",
"graphType": "areaspline",
"name": "Profile - Total Comments",
"description": "Total number of comments on published posts"
},
{
"_id": "6545006cea3749deffa6ce77",
"provider": "facebook",
"ref": "fb_interactions",
"graphType": "pie",
"name": "Post - Interactions",
"description": "Number of interactions on posts on the page, grouped by type of interaction"
},
{
"_id": "6544fd76ea3749deffa6ce71",
"provider": "facebook",
"ref": "fb_page_summary",
"graphType": "text",
"name": "Page - Page Summary",
"description": "Page summary (engagement rate, impressions, reach, page likes, page views and interactions)"
},
{
"_id": "65450115ea3749deffa6ce79",
"provider": "facebook",
"ref": "fb_reach",
"graphType": "areaspline",
"name": "Post - Reach",
"description": "Number of people to whom the page content appeared on the screen"
},
{
"_id": "6544fc5eea3749deffa6ce6f",
"provider": "facebook",
"ref": "fb_media_reaction",
"graphType": "areaspline",
"name": "Page - Total Reactions",
"description": "Total reactions on published posts"
},
{
"_id": "6544ffe3ea3749deffa6ce75",
"provider": "facebook",
"ref": "fb_top_city",
"graphType": "pie",
"name": "Post - Top Cities",
"description": "Number of people who viewed page content, by city"
},
{
"_id": "6544fc15ea3749deffa6ce6e",
"provider": "facebook",
"ref": "fb_engagement_rate",
"graphType": "areaspline",
"name": "Page - Engagement Rate",
"description": "Page engagement rate"
},
{
"_id": "6545001eea3749deffa6ce76",
"provider": "facebook",
"ref": "fb_top_languages",
"graphType": "pie",
"name": "Post - Top Languages",
"description": "Number of people who viewed page content, by language"
},
{
"_id": "65450318ea3749deffa6ce7d",
"provider": "instagram",
"ref": "ig_total_follower",
"graphType": "areaspline",
"name": "Profile - Follower growth",
"description": "Total number of profile followers and growth rate"
},
{
"_id": "654503ebea3749deffa6ce80",
"provider": "instagram",
"ref": "ig_engagement_rate",
"graphType": "areaspline",
"name": "Profile - Engagement Rate",
"description": "Profile engagement rate"
},
{
"_id": "654504dbea3749deffa6ce84",
"provider": "instagram",
"ref": "ig_online_followers",
"graphType": "heatmap",
"name": "Profile - Online Followers",
"description": "Total online followers in profile time zone (days and hours)"
},
{
"_id": "6544ff14ea3749deffa6ce72",
"provider": "facebook",
"ref": "fb_online_fan",
"graphType": "heatmap",
"name": "Page - Online Fans",
"description": "Total online fans in profile time zone (days and hours)"
},
{
"_id": "6544ffaeea3749deffa6ce74",
"provider": "facebook",
"ref": "fb_top_country",
"graphType": "pie",
"name": "Post - Top Countries",
"description": "Number of people who viewed content on the page, by country"
},
{
"_id": "6544f992ea3749deffa6ce6d",
"provider": "facebook",
"ref": "fb_page_views",
"graphType": "areaspline",
"name": "Page - Page Visits",
"description": "Total number of views on the page"
},
{
"_id": "6544ff50ea3749deffa6ce73",
"provider": "facebook",
"ref": "fb_age_gender",
"graphType": "pie",
"name": "Post - Age and Gender",
"description": "Number of people who viewed page content, by age and gender"
},
{
"_id": "654504b1ea3749deffa6ce83",
"provider": "instagram",
"ref": "ig_click_link_bio",
"graphType": "areaspline",
"query": "{ig-user-id}/insights?metric=website_clicks&period=day",
"name": "Profile - Clicks on Bio Link",
"description": "Total clicks on the website link in the profile"
},
{
"_id": "6544fd00ea3749deffa6ce70",
"provider": "facebook",
"ref": "fb_media_comment",
"graphType": "areaspline",
"name": "Page - Total Comments",
"description": "Total number of comments on published posts"
},
{
"_id": "65450296ea3749deffa6ce7b",
"provider": "facebook",
"ref": "fb_video_views_duration",
"graphType": "areaspline",
"name": "Post — Average time video views",
"description": "Average time, in milliseconds, people spent viewing videos on the page"
},
{
"_id": "654502e8ea3749deffa6ce7c",
"provider": "instagram",
"ref": "ig_total_post",
"graphType": "text",
"name": "Profile - Total Post",
"description": "Total number of profile posts"
},
{
"_id": "65450372ea3749deffa6ce7e",
"provider": "instagram",
"ref": "ig_likes_average",
"graphType": "areaspline",
"name": "Profile - Total Likes",
"description": "Total number of likes on published posts"
},
{
"_id": "6545041bea3749deffa6ce81",
"provider": "instagram",
"ref": "ig_profile_summary",
"graphType": "text",
"name": "Profile - Profile Summary",
"description": "Profile summary (total posts, total followers, total following, engagement rate, average likes and average comments)"
},
{
"_id": "6544f560ea3749deffa6ce6c",
"provider": "facebook",
"ref": "fb_page_likes",
"graphType": "areaspline",
"query": "{page_ID}/insights?metric=page_fans&period=day",
"name": "Page - Follower Growth",
"description": "Total number of page fans and growth rate"
},
{
"_id": "65450472ea3749deffa6ce82",
"provider": "instagram",
"ref": "ig_profile_views",
"graphType": "areaspline",
"query": "{ig-user-id}/insights?metric=profile_views&period=day",
"name": "Profile - Profile Views",
"description": "Total number of users who have viewed the profile"
},
{
"_id": "65a103ec9b75516905956472",
"provider": "instagram",
"ref": "ig_impressions",
"graphType": "areaspline",
"name": "Post - Impressions",
"description": "Number of times posts, stories, reels and live videos were viewed on screen"
},
{
"_id": "65a105c49b75516905956474",
"provider": "instagram",
"ref": "ig_reach",
"graphType": "areaspline",
"name": "Post - Reach",
"description": "Number of unique accounts who have viewed profile content at least once, including posts, stories, reels, and live videos"
},
{
"_id": "65a12445390ea6a90ccd1be1",
"provider": "instagram",
"ref": "ig_top_country",
"graphType": "pie",
"name": "Post - Top Countries",
"description": "Number of people who saw any content associated with the profile, by country"
},
{
"_id": "65a124e8390ea6a90ccd1be2",
"provider": "instagram",
"ref": "ig_top_city",
"graphType": "pie",
"name": "Post - Top Cities",
"description": "Number of people who saw any content associated with the profile, by city"
},
{
"_id": "65a4ebcf62e5bbc2956d7700",
"provider": "instagram",
"ref": "ig_best_caption_length",
"graphType": "pie",
"name": "Post - Best Caption Length",
"description": "Better caption length based on interactions on posts"
},
{
"_id": "65a6ade2390ea6a90ccd1be3",
"provider": "instagram",
"ref": "ig_average_reel_views",
"graphType": "areaspline",
"name": "Post - Average Reel Views",
"description": "Average profile reel views"
},
{
"_id": "65a7acbe390ea6a90ccd1be4",
"provider": "instagram",
"ref": "ig_age_gender",
"graphType": "pie",
"name": "Post - Age and Gender",
"description": "Number of people who viewed profile content, by age and gender"
},
{
"_id": "65a7b599390ea6a90ccd1be6",
"provider": "instagram",
"ref": "ig_average_interaction_format",
"graphType": "pie",
"name": "Post - Total Interactions per Format",
"description": "Total interactions for each format (single photo, carousel, reel)"
},
{
"_id": "65c391d741fcf756f02059a1",
"provider": "tiktok",
"ref": "tk_total_follower",
"graphType": "areaspline"
},
{
"_id": "65c3925241fcf756f02059a3",
"provider": "tiktok",
"ref": "tk_profile_views",
"graphType": "areaspline",
"name": "Profile - Profile views",
"description": "Total number of views to the profile"
},
{
"_id": "65c3926541fcf756f02059a4",
"provider": "tiktok",
"ref": "tk_engagement_rate",
"graphType": "areaspline",
"name": "Profile - Engagement Rate",
"description": "Engagement rate of the profile"
},
{
"_id": "65c3928641fcf756f02059a5",
"provider": "tiktok",
"ref": "tk_profile_summary",
"graphType": "text",
"name": "Profile - Profile Summary",
"description": "Profile summary (total followers, total profile views, media video views, media video interactions)"
},
{
"_id": "65c3929541fcf756f02059a6",
"provider": "tiktok",
"ref": "tk_online_followers",
"graphType": "heatmap",
"name": "Audience - Online Followers",
"description": "When the followers were online in the profile's time zone (days and hours)"
},
{
"_id": "65c392af41fcf756f02059a7",
"provider": "tiktok",
"ref": "tk_top_genders",
"graphType": "pie",
"name": "Audience - Gender",
"description": "Number of people who have seen profile content, grouped by gender"
},
{
"_id": "65c392bd41fcf756f02059a8",
"provider": "tiktok",
"ref": "tk_top_countries",
"graphType": "pie",
"name": "Audience - Top Countries",
"description": "Number of people who have seen any content associated with the profile, by country"
},
{
"_id": "65c392d841fcf756f02059a9",
"provider": "tiktok",
"ref": "tk_media_video_views",
"graphType": "areaspline",
"name": "Post - Media Video Views",
"description": "Average views of profile videos"
},
{
"_id": "65c392e941fcf756f02059aa",
"provider": "tiktok",
"ref": "tk_media_video_likes",
"graphType": "areaspline",
"name": "Post - Media Video Likes",
"description": "Average likes on profile videos"
},
{
"_id": "65c392fe41fcf756f02059ab",
"provider": "tiktok",
"ref": "tk_media_video_comments",
"graphType": "areaspline",
"name": "Post - Media Video Comments",
"description": "Average comments on profile videos"
},
{
"_id": "65c3930741fcf756f02059ac",
"provider": "tiktok",
"ref": "tk_media_video_shares",
"graphType": "areaspline",
"name": "Post - Media Video Shares",
"description": "Average shares of profile videos"
},
{
"_id": "65c3931141fcf756f02059ad",
"provider": "tiktok",
"ref": "tk_best_posts",
"graphType": "column",
"name": "Post - Best Posts",
"description": "Best posts, filterable by: likes, comments, views, shares, total viewing time, full video views (%), reach and engagement)"
}
]
{
// Response
}
POST
https://api.asters.ai/external/analytics/:metricId
```json
{
"metricName": "Profile - Clicks on Bio Link",
"metricGraph": "areaspline",
"metricRef": "ig_click_link_bio",
"metricData": [
{
"metricRef": "ig_click_link_bio",
"name": "Clic sul sito web",
"dateArray": [
"09/02/2024",
"10/02/2024",
"11/02/2024",
"12/02/2024",
"13/02/2024",
"14/02/2024",
"15/02/2024",
"16/02/2024",
"17/02/2024",
"18/02/2024",
"19/02/2024",
"20/02/2024",
"21/02/2024",
"22/02/2024",
"23/02/2024",
"24/02/2024",
"25/02/2024",
"26/02/2024",
"27/02/2024",
"28/02/2024",
"29/02/2024",
"01/03/2024",
"02/03/2024",
"03/03/2024",
"04/03/2024",
"05/03/2024",
"06/03/2024",
"07/03/2024"
],
"data": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0
],
"period": {
"startDate": "2024-02-09T08:00:00+0000",
"endDate": "2024-03-07T08:00:00+0000"
},
"headerGraphData": [
{
"label": "Total link in bio clicks",
"value": "0"
}
],
"config": {
"tooltip": {
"labels": ["Date", "link in bio clicks"]
}
}
}
],
"metricDescription": "Total clicks on the website link in the profile",
"metricTooltipDescription": "Total number of clicks on the website link in the profile, in the selected period",
"socialProfile": {
"_id": "65e707dd50f7baa033fb19dc",
"name": "Test Profile",
"account_id": "17841448469655739",
"picture": "https://scontent.fflr3-2.fna.fbcdn.net/v/t39.30808-1/385698540_618743890458100_614969213646487868_n.jpg?stp=cp0_dst-jpg_p50x50&_nc_cat=102&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Nkd8sknTWLoAX81POCf&_nc_ht=scontent.fflr3-2.fna&cb_e2o_trans=q&edm=AGaHXAAEAAAA&oh=00_AfAIUQrok982lk_7qIE2aTsdoY8vDViAq6jesTqs5fUAHg&oe=65F04538",
"provider": "instagram",
"user": "64cb61be80375ed9c2088190",
"workspace": "6516a948c2938fe873d4c6e8",
"profileType": "business",
"updated_at": "2024-03-08T11:01:04.360Z",
"created_at": "2024-03-05T11:54:05.181Z",
"expired": false,
"__v": 0,
"deleted": false
},
"x": "0",
"y": "0",
"width": "1",
"_id": "65eb19a8a9686bd63bdfaa10"
},
```
{
// Response
}
Recover of all reports from Asters Analytics.
GET
https://api.asters.ai/external/analytics/reports
[
{
"_id": "65eb1935a9686bd63bdfa6da",
"social": [
{
"_id": "65e707dd50f7baa033fb19dc",
"provider": "instagram",
"name": "Test Profile",
"picture": "https://scontent.fflr3-2.fna.fbcdn.net/v/t39.30808-1/385698540_618743890458100_614969213646487868_n.jpg?stp=cp0_dst-jpg_p50x50&_nc_cat=102&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Nkd8sknTWLoAX81POCf&_nc_ht=scontent.fflr3-2.fna&cb_e2o_trans=q&edm=AGaHXAAEAAAA&oh=00_AfAIUQrok982lk_7qIE2aTsdoY8vDViAq6jesTqs5fUAHg&oe=65F04538"
}
],
"info": {
"reportName": "Report 1",
"reportLogo": "https://asters.s3.eu-central-1.amazonaws.com/64cb61be80375ed9c2088190/undefinedgeneric_workspace-placeholder%20%282%29-1709906218633.gif?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA5OA4V6PRMWDFMS4B%2F20240308%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20240308T135659Z&X-Amz-Expires=86400&X-Amz-Signature=44aa32a3dbde04403020a26acf3243c7f8cdc58a350bf7545e2d8148213f4b52&X-Amz-SignedHeaders=host&response-cache-control=No-cache&response-content-disposition=attachment%3B%20filename%3D%2264cb61be80375ed9c2088190%2Fundefinedgeneric_workspace-placeholder%20%282%29-1709906218633.gif%22",
"createdBy": "Tester1",
"updatedAt": "2024-03-08T13:57:09.211Z",
"createdAt": "2024-03-08T13:57:09.214Z"
}
},
{
"_id": "65eb1984a9686bd63bdfa93e",
"social": [
{
"_id": "65e6eb4240432c736c0c12e8",
"provider": "facebook",
"name": "Test Page",
"picture": "https://scontent-cdg4-1.xx.fbcdn.net/v/t39.30808-1/385698540_618743890458100_614969213646487868_n.jpg?stp=cp0_dst-jpg_p50x50&_nc_cat=102&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Nkd8sknTWLoAX_USpwJ&_nc_ht=scontent-cdg4-1.xx&cb_e2o_trans=q&edm=AGaHXAAEAAAA&oh=00_AfDCmmsLfhEhzg8hS7_QzXtbvFk153INjTR0pvRiVGcOUA&oe=65EE4AF8"
}
],
"info": {
"reportName": "Report 2",
"reportLogo": "https://asters.s3.eu-central-1.amazonaws.com/64cb61be80375ed9c2088190/undefinedgeneric_workspace-placeholder%20%282%29-1709906295080.gif?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA5OA4V6PRMWDFMS4B%2F20240308%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20240308T135815Z&X-Amz-Expires=86400&X-Amz-Signature=8b38d245340cee1f802aa8398821d6ccd23f24d57a7cb1e4bd3dd99eabed9cac&X-Amz-SignedHeaders=host&response-cache-control=No-cache&response-content-disposition=attachment%3B%20filename%3D%2264cb61be80375ed9c2088190%2Fundefinedgeneric_workspace-placeholder%20%282%29-1709906295080.gif%22",
"createdBy": "Tester1",
"updatedAt": "2024-03-08T13:58:28.404Z",
"createdAt": "2024-03-08T13:58:28.405Z"
}
}
]
{
// Response
}
GET
https://api.asters.ai/external/analytics/reports/:reportId
```json
{
"info": {
"reportName": "Report 1",
"reportLogo": "https://asters.s3.eu-central-1.amazonaws.com/64cb61be80375ed9c2088190/undefinedgeneric_workspace-placeholder%20%282%29-1709906218633.gif?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA5OA4V6PRMWDFMS4B%2F20240308%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20240308T135659Z&X-Amz-Expires=86400&X-Amz-Signature=44aa32a3dbde04403020a26acf3243c7f8cdc58a350bf7545e2d8148213f4b52&X-Amz-SignedHeaders=host&response-cache-control=No-cache&response-content-disposition=attachment%3B%20filename%3D%2264cb61be80375ed9c2088190%2Fundefinedgeneric_workspace-placeholder%20%282%29-1709906218633.gif%22",
"createdBy": "64cb61be80375ed9c2088190",
"updatedAt": "2024-03-08T13:57:09.211Z",
"formatDate": "MM/DD/YYYY",
"createdAt": "2024-03-08T13:57:09.214Z"
},
"_id": "65eb1935a9686bd63bdfa6da",
"workspaceId": "6516a948c2938fe873d4c6e8",
"since": "2024-02-09T00:00:00.000Z",
"until": "2024-03-07T00:00:00.000Z",
"data": [
{
"metricName": "Profile - Clicks on Bio Link",
"metricGraph": "areaspline",
"metricRef": "ig_click_link_bio",
"metricData": [
{
"metricRef": "ig_click_link_bio",
"name": "Clic sul sito web",
"dateArray": [
"09/02/2024",
"10/02/2024",
"11/02/2024",
"12/02/2024",
"13/02/2024",
"14/02/2024",
"15/02/2024",
"16/02/2024",
"17/02/2024",
"18/02/2024",
"19/02/2024",
"20/02/2024",
"21/02/2024",
"22/02/2024",
"23/02/2024",
"24/02/2024",
"25/02/2024",
"26/02/2024",
"27/02/2024",
"28/02/2024",
"29/02/2024",
"01/03/2024",
"02/03/2024",
"03/03/2024",
"04/03/2024",
"05/03/2024",
"06/03/2024",
"07/03/2024"
],
"data": [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0
],
"period": {
"startDate": "2024-02-09T08:00:00+0000",
"endDate": "2024-03-07T08:00:00+0000"
},
"headerGraphData": [
{
"label": "Total link in bio clicks",
"value": "0"
}
],
"config": {
"tooltip": {
"labels": ["Date", "link in bio clicks"]
}
}
}
],
"metricDescription": "Total clicks on the website link in the profile",
"metricTooltipDescription": "Total number of clicks on the website link in the profile, in the selected period",
"socialProfile": {
"_id": "65e707dd50f7baa033fb19dc",
"name": "Test Profile",
"account_id": "17841448469655739",
"picture": "https://scontent.fflr3-2.fna.fbcdn.net/v/t39.30808-1/385698540_618743890458100_614969213646487868_n.jpg?stp=cp0_dst-jpg_p50x50&_nc_cat=102&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Nkd8sknTWLoAX81POCf&_nc_ht=scontent.fflr3-2.fna&cb_e2o_trans=q&edm=AGaHXAAEAAAA&oh=00_AfAIUQrok982lk_7qIE2aTsdoY8vDViAq6jesTqs5fUAHg&oe=65F04538",
"provider": "instagram",
"user": "64cb61be80375ed9c2088190",
"workspace": "6516a948c2938fe873d4c6e8",
"profileType": "business",
"updated_at": "2024-03-08T11:01:04.360Z",
"created_at": "2024-03-05T11:54:05.181Z",
"expired": false,
"__v": 0,
"deleted": false
},
"x": "0",
"y": "0",
"width": "1",
"_id": "65eb19a8a9686bd63bdfaa10"
},
{
"metricName": "Profile - Profile Summary",
"metricGraph": "text",
"metricRef": "ig_profile_summary",
"metricData": [
{
"metricRef": "ig_profile_summary",
"title": "Profile Summary",
"data": [
{
"label": "Total Followers",
"value": "248"
},
{
"label": "Total follows",
"value": "0"
},
{
"label": "Post",
"value": "175"
},
{
"label": "Average likes",
"value": "0.00"
},
{
"label": "Average comments",
"value": "0.00"
},
{
"label": "Engagement rate",
"value": "0%"
}
]
}
],
"metricDescription": "Profile summary (total posts, total followers, total following, engagement rate, average likes and average comments)",
"metricTooltipDescription": "Total profile followers, total profile following, total profile posts, considering all profile history. Total likes on profile posts, total comments on profile posts, engagement rate, over the selected period",
"socialProfile": {
"_id": "65e707dd50f7baa033fb19dc",
"name": "Test Profile",
"account_id": "17841448469655739",
"picture": "https://scontent.fflr3-2.fna.fbcdn.net/v/t39.30808-1/385698540_618743890458100_614969213646487868_n.jpg?stp=cp0_dst-jpg_p50x50&_nc_cat=102&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Nkd8sknTWLoAX81POCf&_nc_ht=scontent.fflr3-2.fna&cb_e2o_trans=q&edm=AGaHXAAEAAAA&oh=00_AfAIUQrok982lk_7qIE2aTsdoY8vDViAq6jesTqs5fUAHg&oe=65F04538",
"provider": "instagram",
"user": "64cb61be80375ed9c2088190",
"workspace": "6516a948c2938fe873d4c6e8",
"profileType": "business",
"updated_at": "2024-03-08T11:01:04.360Z",
"created_at": "2024-03-05T11:54:05.181Z",
"expired": false,
"__v": 0,
"deleted": false
},
"x": "1",
"y": "0",
"width": "1",
"_id": "65eb19a8a9686bd63bdfaa11"
},
{
"metricName": "Profile - Online Followers",
"metricGraph": "heatmap",
"metricRef": "ig_online_followers",
"metricData": [
{
"metricRef": "ig_online_followers",
"data": null,
"error": "TypeError: Cannot read properties of undefined (reading '1')"
}
],
"metricDescription": "Total online followers in profile time zone (days and hours)",
"metricTooltipDescription": "Overview of the days and times when the profile's followers are online, with the best weekly time slot indicated",
"socialProfile": {
"_id": "65e707dd50f7baa033fb19dc",
"name": "Test Profile",
"account_id": "17841448469655739",
"picture": "https://scontent.fflr3-2.fna.fbcdn.net/v/t39.30808-1/385698540_618743890458100_614969213646487868_n.jpg?stp=cp0_dst-jpg_p50x50&_nc_cat=102&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Nkd8sknTWLoAX81POCf&_nc_ht=scontent.fflr3-2.fna&cb_e2o_trans=q&edm=AGaHXAAEAAAA&oh=00_AfAIUQrok982lk_7qIE2aTsdoY8vDViAq6jesTqs5fUAHg&oe=65F04538",
"provider": "instagram",
"user": "64cb61be80375ed9c2088190",
"workspace": "6516a948c2938fe873d4c6e8",
"profileType": "business",
"updated_at": "2024-03-08T11:01:04.360Z",
"created_at": "2024-03-05T11:54:05.181Z",
"expired": false,
"__v": 0,
"deleted": false
},
"x": "0",
"y": "1",
"width": "2",
"_id": "65eb19a8a9686bd63bdfaa12"
},
{
"metricName": "Profile - Total Comments",
"metricGraph": "areaspline",
"metricRef": "ig_comment_average",
"metricData": [
{
"metricRef": "ig_comment_average",
"name": "Comments for Post undefined",
"data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"dateArray": [
"12/02/2024",
"13/02/2024",
"14/02/2024",
"20/02/2024",
"26/02/2024",
"28/02/2024",
"29/02/2024",
"03/03/2024",
"04/03/2024",
"06/03/2024"
],
"headerGraphData": [
{
"label": "Total posts comments",
"value": "0.00"
}
],
"config": {
"tooltip": {
"labels": ["Date", "comments"]
}
}
}
],
"metricDescription": "Total number of comments on published posts",
"metricTooltipDescription": "Total number of comments on profile posts, in the selected period",
"socialProfile": {
"_id": "65e707dd50f7baa033fb19dc",
"name": "Test Profile",
"account_id": "17841448469655739",
"picture": "https://scontent.fflr3-2.fna.fbcdn.net/v/t39.30808-1/385698540_618743890458100_614969213646487868_n.jpg?stp=cp0_dst-jpg_p50x50&_nc_cat=102&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Nkd8sknTWLoAX81POCf&_nc_ht=scontent.fflr3-2.fna&cb_e2o_trans=q&edm=AGaHXAAEAAAA&oh=00_AfAIUQrok982lk_7qIE2aTsdoY8vDViAq6jesTqs5fUAHg&oe=65F04538",
"provider": "instagram",
"user": "64cb61be80375ed9c2088190",
"workspace": "6516a948c2938fe873d4c6e8",
"profileType": "business",
"updated_at": "2024-03-08T11:01:04.360Z",
"created_at": "2024-03-05T11:54:05.181Z",
"expired": false,
"__v": 0,
"deleted": false
},
"x": "1",
"y": "2",
"width": "1",
"_id": "65eb19a8a9686bd63bdfaa13"
}
],
"deleted": false,
"__v": 0
}
```
{
// Response
}
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
providerName*
String
Provider name : facebook - instagram - x - youtube - tiktok - linkedin
language*
String
Language of the description
x-asters-token*
String
API Key generated in Asters for user authentication
metricId*
String
Identifier of the metric requested
x-asters-token*
String
API Key generated in Asters for user authentication
socialAccountId*
String
Social account id of the account
startDate*
Date
Start date of the metrics
endDate*
Date
End date of the metrics
x-asters-token*
String
API Key generated in Asters for user authentication
reportId*
String
Report Identifier
x-asters-token*
String
API Key generated in Asters for user authentication