X post analytics
Retrieve post analytics for an X profile within a date range. When a post was published from Ordinal, the response includes an ordinalPost object with the linked post’s id, title, labels, and campaign.
/analytics/x/{profileId}/postsAuthorizationBearer token · headerrequiredAPI key authentication. Generate an API key from your workspace settings.
profileIdstring<uuid>requiredX profile ID (UUID)
startDatestring<date>Start date for analytics (defaults to 30 days ago)
endDatestring<date>End date for analytics (defaults to today)
X post analytics
TwitterPostAnalyticsidstring<uuid>requiredurlstring<uri>requiredTwitter post URL
textstring | nullTweet text content
publishedAtstring<date-time> | nulllikeCountinteger | nullreplyCountinteger | nullretweetCountinteger | nullquoteCountinteger | nullbookmarkCountinteger | nullimpressionCountinteger | nullengagementnumber | nullEngagement rate (total engagements / impressions), typically between 0 and 1
emvnumber | nullEarned Media Value calculated as (impressionCount / 1000) * CPM
ordinalPostOrdinalPostReference | nullLinked Ordinal post when this external post was published from Ordinal, null otherwise
Show propertiesHide properties
idstring<uuid>requiredOrdinal post ID
titlestringrequiredOrdinal post title
labelsobject[]requiredShow propertiesHide properties
objectnamestringrequiredLabel name
labelIdstring<uuid>requiredLabel ID
campaignobject | nullShow propertiesHide properties
idstring<uuid>namestringnullUnauthorized - Missing or invalid API key
codestringmessagestringForbidden - Insufficient permissions
codestringmessagestringNot Found - Resource does not exist
codestringmessagestring