Skip to main content

Engagement rate calculator API

Enter likes, comments, shares and saves, choose what to divide by, and get the engagement rate together with the exact formula behind it.

  • Endpoint: POST https://postboost.co/app/api/tools/engagement-rate-calculator (operationId calculateEngagementRate)
  • Web tool: postboost.co/tools/engagement-rate-calculator
  • Token: optional (limits)
  • MCP: tool calculate-engagement-rate on https://postboost.co/mcp/tools

Request​

FieldTypeDefaultDescription
likesinteger0
commentsinteger0
sharesinteger0
savesinteger0
clicksinteger0
methodstring: followers, reach, impressions"followers"What to divide by.
baseintegerFollowers, or the total reach or impressions of the posts.
postsinteger1Number of posts the engagements come from.

Call it​

curl -X POST https://postboost.co/app/api/tools/engagement-rate-calculator \
-H 'Content-Type: application/json' \
-d '{"likes":120,"comments":30,"shares":10,"base":4000,"posts":2}'

With a token, send Authorization: Bearer YOUR_API_TOKEN as a default header (how, per SDK).

Response​

{
"engagements": 160,
"posts": 2,
"rate": 2,
"formula": "160 engagements ÷ 2 posts ÷ 4,000 followers × 100 = 2.00%"
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Calculate an engagement rate with the PostBoost calculate-engagement-rate tool.

Errors​

StatusWhen
401The Authorization header holds an invalid token. Leave it out to call as a guest.
413The JSON body is larger than 128 KB.
422A field is invalid; the body lists the errors per field.
429A limit is reached; see limits.