GroundsocialDocs

API · Content analysis

GET /contentanalysis/search

Citations of a keyword in posts, videos and forum threads, each with lexicon sentiment. Metered.

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

Citations of a keyword in posts, videos and forum threads, each with lexicon sentiment. 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).
search_mode"as_is" | "one_per_author" | "one_per_domain"noas_is (default), or one citation per author (one_per_domain is the same here). One of as_is, one_per_author, one_per_domain.
order_by"date" | "engagement" | "sentiment"noDefault date. One of date, engagement, sentiment.
limitintegernoDefault 100.
cursorstringnoNot offered: the first page of each platform is read.

Responses

StatusMeaningSchema
200Citations with sentiment.
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.