100 free credits. No credit card required. Get a key

Keyword citations with sentiment

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

GET /v1/contentanalysis/searchBeta20 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/contentanalysis/search?keyword=notion",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 20 credits
{
"keyword": "notion",
"total_count": 132,
"count": 100,
"items": [
{
"platform": "bluesky",
"id": "at://did:plc:a3rlpxrg7unxd3akbwypo7ih/app.bsky.feed.post/3n3auzhfjis2f",
"url": "https://bsky.app/profile/davegrapes.bsky.social/post/3n3auzhfjis2f",
"title": null,
"text": "the satire: Homeless encampment sweeps don't actually typically welcome volunteers. The Onion is playing upon the notion…",
"author": "davegrapes.bsky.social",
"author_name": "davegrapes",
"author_id": "did:plc:a3rlpxrg7unxd3akbwypo7ih",
"created_at": "2026-11-27T00:00:18.071Z",
"likes": 1,
"comments": 0,
"shares": 0,
"views": null,
"followers": null,
"links": [],
"sentiment": "neutral",
"sentiment_score": 0,
"language": "en"
},
{
"platform": "bluesky",
"id": "at://did:plc:xusvyqwadkmbbd67hz7eyeqj/app.bsky.feed.post/3n3auwydvb22h",
"url": "https://bsky.app/profile/gregk.co.uk/post/3n3auwydvb22h",
"title": null,
"text": "British journalists when you suggest the notion of applying scrutiny to anyone with actual power or influence",
"author": "gregk.co.uk",
"author_name": "Gregk Foley",
"author_id": "did:plc:xusvyqwadkmbbd67hz7eyeqj",
"created_at": "2026-11-26T23:58:55.162Z",
"likes": 16,
"comments": 1,
"shares": 1,
"views": null,
"followers": null,
"links": [],
"sentiment": "neutral",
"sentiment_score": 0,
"language": "en"
},
"… 98 more"
],
"legs": [
{
"key": "reddit",
"platform": "reddit",
"endpoint": "reddit.search.posts",
"status": "ok",
"credits": 2,
"ms": 1835,
"error": null
},
{
"key": "bluesky",
"platform": "bluesky",
"endpoint": "bluesky.search.posts",
"status": "ok",
"credits": 1,
"ms": 264,
"error": null
},
"… 6 more"
],
"credits_used": 9,
"failed": []
}

Parameters

NameTypeDescription
keywordquery · requiredstringThe keyword or phrase. Example: notion.
page_typequerystring | string[]Kinds of source: posts, videos, forum, pins, code (default all).
platformsquerystring | string[]Platforms to search (default the social, video and forum ones).
filtersquerystringJSON object of filters: platform, language, sentiment (positive|negative|neutral), min_likes, min_views, author (see contentanalysis/filters).
search_modequery"as_is" | "one_per_author" | "one_per_domain"as_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_byquery"date" | "engagement" | "sentiment"Default date. One of date, engagement, sentiment.
limitqueryintegerDefault 100.
cursorquerystringNot offered: the first page of each platform is read.
Status codes
StatusMeaning
200Citations with sentiment.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No citation of that keyword was found.
429Too many requests. Wait for Retry-After seconds.
503Content analysis is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

How is it charged?

Per platform that answers, at that platform’s own price, up to the ceiling shown. A platform that fails is listed in legs and not charged; if none answers, nothing is.

Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.