GET
/
stats
/
content_platform_composition
cURL
curl --request GET \
  --url https://api.growi.io/api/public/v1/stats/content_platform_composition \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {}
}

Retrieves a breakdown of content by platform within a specified date range.

Request Parameters

ParameterTypeDescriptionRequired
start_dateStringStart date in MM/DD/YYYY formatYes
end_dateStringEnd date in MM/DD/YYYY formatYes
limitIntegerLimit the number of results. Default is 4. Recommended is 20. Set to 10,000 to get all data.No

Request Example

curl -X GET "https://api.growi.io/api/public/v1/stats/content_platform_composition?start_date=01/01/2023&end_date=01/31/2023" \
     -H "Authorization: Bearer YOUR_PUBLIC_API_KEY" \
     -H "Content-Type: application/json"

Response Example

{
  "success": true,
  "data": {
    "content_platform_composition": {
      "tik_tok": 216,
      "instagram": 416,
      "twitter": 2,
      "youtube": 0,
      "unknown": 2
    }
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

start_date
string
default:05/01/2025
required

Start date in MM/DD/YYYY format

end_date
string
default:05/08/2025
required

End date in MM/DD/YYYY format

limit
integer
default:4

Limit the number of results. Default is 4. Recommended is 20. Set to 10,000 to get all data.

Response

200
application/json

Content platform composition retrieved successfully

The response is of type object.