GroundsocialDocs

API · Content analysis

GET /contentanalysis/phrase-trends

A keyword’s citations and sentiment per day, week or month. Metered.

RequestGET /v1/contentanalysis/phrase-trends
Operation idcontentanalysis.phrase_trends.get
Cost20 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A keyword’s citations and sentiment per day, week or month. Metered.

Query parameters

NameTypeRequiredDescription
keywordstringyesThe keyword or phrase. Example: notion.
page_typestring | string[]noKinds of source: posts, videos, forum, pins, code (default all).
platformsstring | string[]noPlatforms to search (default the social, video and forum ones).
filtersstringnoJSON object of filters: platform, language, sentiment (positive|negative|neutral), min_likes, min_views, author (see contentanalysis/filters).
date_fromstringyesYYYY-MM-DD. Example: 2026-11-01.
date_tostringnoYYYY-MM-DD (default today).
date_group"day" | "week" | "month"noDefault day. One of day, week, month.
internal_list_limitintegernoDefault 5.

Responses

StatusMeaningSchema
200A series per bucket.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No citation of that keyword was found.Error
429Too many requests. Wait for Retry-After seconds.Error
503Content analysis is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.