Discover social posts with filters
Search many platforms and keep only rows passing your filters (views, likes, words, languages). Metered.
GET /v1/prism/discoverBeta30 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/prism/discover?keywords=notion%20ai&min_likes=50&period=week",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 30 credits{ "keywords": [ "notion ai" ], "platforms": [ "reddit", "bluesky", "… 4 more" ], "window": { "since": "2026-11-20T01:33:01.975Z", "until": null }, "matched": 2, "count": 2, "results": [ { "platform": "threads", "id": "4037870233293434126_63234207892", "url": "https://www.threads.com/@mrs.holmesmania/post/DgJZZVolC0O", "title": null, "text": "This is the stupidest things ever, but I once, years ago, had a dream where i had a fancy sandwich with an accompanying…", "author": "mrs.holmesmania", "author_name": null, "author_id": null, "created_at": "2026-11-25T01:54:23.000Z", "likes": 775, "comments": 102, "shares": 0, "views": null, "followers": null, "links": [ "https://www.threads.com/@mrs.holmesmania/post/DgJZZVolC0O" ], "query": "notion ai", "keyword": "notion ai" }, { "platform": "threads", "id": "4037770218411792879_77390625024", "url": "https://www.threads.com/@ineedcoffee1.0/post/DgJCp7hFhnv", "title": null, "text": "As a former Democrat of 23 years... I truly cannot understand how anyone could vote Democrat at this point with how far …", "author": "ineedcoffee1.0", "author_name": null, "author_id": null, "created_at": "2026-11-24T22:35:40.000Z", "likes": 55, "comments": 238, "shares": 3, "views": null, "followers": null, "links": [ "https://www.threads.com/@ineedcoffee1.0/post/DgJCp7hFhnv" ], "query": "notion ai", "keyword": "notion ai" } ], "legs": [ { "key": "reddit#0", "platform": "reddit", "endpoint": "reddit.search.posts", "status": "ok", "credits": 2, "ms": 1, "error": null }, { "key": "bluesky#0", "platform": "bluesky", "endpoint": "bluesky.search.posts", "status": "failed", "credits": 0, "ms": 1, "error": { "kind": "not_found", "message": "Bluesky has nothing at that address." } }, "… 4 more" ], "credits_used": 4, "failed": [ "bluesky#0", "tiktok#0", "… 1 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
keywordsquery | string | string[] | Up to 5 keywords. Example: notion ai. |
queryquery | string | Same as one keyword. |
platformsquery | string | string[] | Platforms to search. |
periodquery | "day" | "week" | "month" | "year" | Window from now. One of day, week, month, year. |
sincequery | string | YYYY-MM-DD. |
untilquery | string | YYYY-MM-DD. |
min_viewsquery | integer | null | Minimum views. |
min_likesquery | integer | null | Minimum likes. |
min_commentsquery | integer | null | Minimum comments. |
containsquery | string | Words every row must contain. |
exclude_termsquery | string | Comma list; rows with any are dropped. |
languagesquery | string | string[] | Keep rows in these languages. |
max_per_authorquery | integer | At most this many rows per author. |
max_per_platformquery | integer | At most this many rows per platform. |
sortquery | "relevance" | "date" | "engagement" | Default relevance. One of relevance, date, engagement. |
limitquery | integer | Default 50. |
includequery | string | native: native rows. |
author_list_idquery | string | Keep only these authors (a stored list). |
exclude_list_idquery | string | Leave out these authors (a stored list). |
Status codes
| Status | Meaning |
|---|---|
200 | Filtered rows and a status per platform. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Nothing was found for that input on any platform. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Prism composites 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.