Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Ravenpost Analytics API
version: 1.0.0
description: Schedule and publish social posts across Instagram, TikTok, X, Telegram, LinkedIn, Threads, Bluesky, Discord, Mastodon, YouTube, Pinterest, DEV and Hashnode. Every endpoint delegates to the same service the Ravenpost dashboard uses. Authenticate with a personal access token from Settings → API tokens; the token carries one workspace, which is why no route takes a workspace id.
contact:
name: Ravenpost support
email: support@ravenpo.st
servers:
- url: https://api.ravenpo.st
security:
- bearerAuth: []
tags:
- name: Analytics
paths:
/v1/analytics:
get:
summary: Followers per account, a 30-day daily series, and engagement on recent posts
description: 'A `followers` of `null` means we hold none for the platform — LinkedIn, Threads, YouTube and Discord give an app like ours no follower count, DEV and Hashnode have none to give, TikTok’s need a scope that is not approved yet (once it is, an account connected before it was asked for carries `reconnectForFollowers: true` until it is reconnected), and X’s are not read because X charges for every API read. Null means unknown, never zero; an absent post metric was not collected rather than being 0.'
tags:
- Analytics
operationId: getAnalytics
parameters: []
responses:
'200':
description: Success
'401':
description: Missing, malformed or revoked token
'429':
description: Rate limited (120 requests/minute)
/v1/best-times:
get:
summary: Recommended posting hours, measured from this workspace’s own posts
description: 'Overall and per platform, in the workspace timezone. `score` is a multiple of a typical post for that account, so 1.8 means “roughly 80% better than normal”. When `insufficient` is true `slots` is empty — that is “unknown”, not “no good time”. `reason` says which wall it hit: `few_posts` / `few_samples` (more publishing fixes it — `observations` vs `minObservations` says how far off), `low_engagement` (posts earn too few interactions for any hour to stand out), `not_collected` (the platform reports no per-post engagement at all).'
tags:
- Analytics
operationId: getBestTimes
parameters: []
responses:
'200':
description: Success
content:
application/json:
example:
overall:
timezone: Europe/Istanbul
observations: 46
insufficient: false
minObservations: 12
reason: ok
slots:
- weekday: 2
minutes: 1140
score: 1.84
samples: 5
grid:
- - null
- null
- 0.9
- '...'
byPlatform:
- platform: INSTAGRAM
report:
'...': '...'
'401':
description: Missing, malformed or revoked token
'429':
description: Rate limited (120 requests/minute)
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: rvp_…