Skip to main content
GET
Get latest post metrics and audience counts
Use profile_id to read analytics for a non-default connection profile. Omit it to read analytics for the default profile. The response has two lists:
  • data.analytics has the latest metrics for recent posts. Use post_id to limit this list to one post.
  • data.audience has the latest saved follower or subscriber count for each connected account in the profile. It uses the same fields and statuses as Get Audience Counts. The post_id filter does not change this list.
To search, filter, sort, and page through every post group, use Browse Post Analytics. Mallary updates supported audience counts once every 24 hours. TikTok follower counts become available after a connection grants user.info.stats and Mallary saves its first count. Existing connections without that permission return permission_required for their audience count. They keep working as before. Metrics keep the meaning supplied by each platform. Impressions, reach, and views are separate measurements. A metric the platform did not supply is null, while a reported zero remains 0. Check captured_at and metric_window to see when Mallary saved a metric and whether it covers a lifetime or rolling period. engagementRate remains a ratio for existing API clients. engagementRatePercent is the same value shown as a percentage. engagementRateDenominator names the base used for the calculation when a rate is available. If an older LinkedIn connection needs the analytics permission, the response uses status: "reconnect_required" and says Reconnect to get analytics. Reconnect LinkedIn once from the Platforms page. Mallary will then start collecting those post results.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer {api_key}

Query Parameters

post_id
integer

Filter post metrics to a single post/job ID owned by the authenticated user. Audience counts still cover the whole selected profile.

profile_id
string

Select the connection profile for both post metrics and audience counts. Omit to use the default profile. Random public connection profile ID returned by GET /api/v1/profiles.

Pattern: ^[A-Za-z0-9]{6,32}$
Example:

"AbC123xYz90"

Response

Analytics retrieved

status
enum<string>
Available options:
ok
data
object
Last modified on October 7, 2026