Skip to main content
GET
Get LinkedIn org analytics

Request contract

  • Method and path: GET /apis/v1/social/analytics/linkedin/org-aggregate-analytics
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/analytics/linkedin/org-aggregate-analytics
  • accountId: query; required
  • metrics: query; optional
  • fromDate: query; optional
  • toDate: query; optional
  • since: query; optional
  • until: query; optional
  • metricType: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.001 USD per successful request. Failed or unknown outcomes are not charged. Identical requests served from cache within 15 minutes are free. A forced refresh is charged. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
metrics
string

Comma-separated list. Defaults to "impressions,clicks,engagement_rate,organic_followers_gained,followers_gained,followers_lost".

Share statistics (support both total_value and time_series):

  • impressions
  • unique_impressions
  • clicks
  • likes
  • comments
  • shares
  • engagement_rate (0..1, LinkedIn-computed)

Follower-gain statistics (support total_value and time_series):

  • organic_followers_gained (per-day organic gains for time_series; sum of organic gains over the range for total_value)
  • paid_followers_gained (per-day paid gains for time_series; sum of paid gains over the range for total_value)

Page-view statistics (total_value ONLY - LinkedIn platform limit):

  • page_views_total
  • page_views_overview
  • page_views_careers
  • page_views_jobs
  • page_views_life

AIsa-synthesized from daily follower snapshots:

  • followers_gained
  • followers_lost
fromDate
string<date>

Start date (YYYY-MM-DD). Defaults to 30 days ago.

toDate
string<date>

End date (YYYY-MM-DD). Defaults to today.

since
string<date>

Alias of fromDate, kept for existing callers

until
string<date>

Alias of toDate, kept for existing callers

metricType
enum<string>
default:total_value
Available options:
time_series,
total_value

Response

Organization analytics data

Shared account-insights response envelope used by every platform-level analytics endpoint (/apis/v1/social/analytics/{facebook|instagram|youtube|linkedin|tiktok}/*). The name is historical - the shape was first shipped for Instagram and every new platform endpoint reuses it for response-shape consistency. The platform field echoes back which platform served the response.

accountId
string

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
breakdown
string

Breakdown dimension used (only present when breakdown was requested)

dataDelay
string
dateRange
object
metricType
enum<string>
Available options:
time_series,
total_value
metrics
object

Object keyed by metric name.

  • For time_series: each metric has "total" (number) and "values" (array of {date, value}).
  • For total_value: each metric has "total" (number) and optionally "breakdowns" (array of {dimension, value}).

Monetary metrics also carry "unit" and "currency". AIsa never rescales money: "total" and every "values[].value" are the platform's raw numbers in the stated unit.

Monetary metrics keep "values" even on metricType=total_value, because their "total" is the sum of the daily buckets the platform returned over the range. Keep the series to reconcile that sum against the platform's own reporting before invoicing on it.

A metric that could not be served is absent from this object and listed in "unavailableMetrics" instead, so an unavailable metric is never reported as a zero.

platform
enum<string>

Platform that served this response.

Available options:
facebook,
instagram,
youtube,
linkedin,
tiktok
success
boolean
unavailableMetrics
object[]

Requested metrics that could not be served. Present only when at least one metric is unavailable, absent otherwise.

Each listed metric is OMITTED from "metrics" rather than reported as 0, which is how an unavailable metric is distinguished from a genuine zero. The request itself still succeeds with HTTP 200.