Skip to main content
POST
/
boosted-posts
/
batch-insights
Get Boosted Posts Statistics
curl --request POST \
  --url https://api.boosterberg.com-beta.com/v1/boosted-posts/batch-insights \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": "1177985513573014,348442786842806,355753532778398,2439500536060799,175826907122208,254209629599456,339351814418570,254239936263092,254241576262928"
}
'
{
  "posts": "16",
  "reach": "3600",
  "engagement": "9570",
  "clicks": "180",
  "spend": "25.50",
  "cpm": "5.25",
  "ctr": "1.85",
  "cpc": "0.42",
  "cpa": "2.15",
  "conversions": "45",
  "conversion_rate": "12.5"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ids
string

Comma separated ids of boosted posts

Example:

"1177985513573014,348442786842806,355753532778398,2439500536060799,175826907122208,254209629599456,339351814418570,254239936263092,254241576262928"

Response

200 - application/json

Returns insights for given boosted posts

posts
integer
Example:

"16"

reach
integer
Example:

"3600"

engagement
integer
Example:

"9570"

clicks
integer
Example:

"180"

spend
number
Example:

"25.50"

cpm
number
Example:

"5.25"

ctr
number
Example:

"1.85"

cpc
number
Example:

"0.42"

cpa
number
Example:

"2.15"

conversions
integer
Example:

"45"

conversion_rate
number
Example:

"12.5"