Platform Analytics

Get Mastodon and Bluesky profile statistics

Changed on

Followers, following and post count of one connected Mastodon or Bluesky account. Cached for about 2 hours. Requires a plan with analytics.

post/profile-statistics

Request

  • Base URL
    https://api.publora.com/api/v1
  • Auth
    API key in header x-publora-key

Request body

platform'mastodon' | 'bluesky' required
platformIdstring required

Connection ID, with or without the <platform>- prefix

Example request

{
  "platformId": "mastodon-110300915972205108"
}

Response

Profile retrieved

successboolean
cachedboolean

true when the answer came from the cache

fetchedAtstring date-time nullable
rateLimitedboolean

Present only during a rate-limit cooldown

unavailable'AUTH_REVOKED' | 'FORBIDDEN'

Present only when the connection is marked unavailable for analytics

Example response

{
  "profile": {
    "followers": 1234,
    "following": 321,
    "posts": 987
  }
}

Changes