API ReferenceInsights
Get a summary of several accounts
Several accounts at once: combined totals vs the period before, per day, per account, and the biggest outliers
GET
Several accounts at once: combined totals vs the period before, per day, per account, and the biggest outliers
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
days?numberDefault
30from?stringStart day (YYYY-MM-DD); with to it replaces days
Match
^\d{4}-\d{2}-\d{2}$to?stringMatch
^\d{4}-\d{2}-\d{2}$account_ids?stringComma-separated; default every account with statistics
OK
application/json- response
from*stringto*stringtotals*previous*engagement_rate*number|nullfollowers*number|nullposts*numberdaily*array<>accounts*array<>outliers*array<>curl -X GET 'https://socmed.growpaces.com/api/v1/insights/summary'Example Response200
{ "from": "string", "to": "string", "totals": { "property1": 0, "property2": 0 }, "previous": { "property1": 0, "property2": 0 }, "engagement_rate": 0, "followers": 0, "posts": 0, "daily": [ { "day": "string", "metrics": { "property1": 0, "property2": 0 } } ], "accounts": [ { "account_id": "string", "platform": "string", "username": "string", "posts": 0, "followers": 0, "totals": { "property1": 0, "property2": 0 }, "engagement_rate": 0 } ], "outliers": [ { "id": "string", "platform_post_id": "string", "kind": "string", "caption": "string", "permalink": "string", "thumbnail_url": "string", "published_at": "string", "from_app": true, "post_id": "string", "metrics": { "property1": 0, "property2": 0 }, "views": 0, "interactions": 0, "engagement_rate": 0, "outlier_score": 0, "fetched_at": "string", "account_id": "string", "platform": "string" } ]}