Buyer leads in comments
Buyer leads from the comments under a keyword search’s most discussed posts. Metered.
GET /v1/prism/comment-leadsBeta60 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/prism/comment-leads?query=crm%20for%20small%20business",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 60 credits{ "query": "crm for small business", "platform": "reddit", "posts_considered": 25, "posts_opened": 5, "comments_read": 238, "count": 33, "leads": [ { "platform": "reddit", "id": "pac2j6v", "url": "https://www.reddit.com/r/CRM/comments/1wdihhj/comment/pac2j6v/", "title": "t1_pac2j6v", "text": "hi, aligned, the CRM market is super saturated. I think before deciding, the main questions to clarify is\n\n1/ what is yo…", "author": "FineOcelot801", "author_name": null, "author_id": null, "created_at": "2026-09-17T09:25:19.000Z", "likes": 1, "comments": null, "shares": null, "views": null, "followers": null, "links": [], "signals": [ "vs", "better than" ], "post": { "url": "https://www.reddit.com/r/CRM/comments/1wdihhj/what_crm_should_a_small_business_use/", "title": "What CRM should a small business use?" } }, { "platform": "reddit", "id": "okhzqb4", "url": "https://www.reddit.com/r/CRM/comments/1t6jj1s/comment/okhzqb4/", "title": "t1_okhzqb4", "text": "Hello!\n\nI'm Thor. Honestly for where you’re at right now, I’d avoid jumping straight into HubSpot unless you *really* ne…", "author": "ChameleonCRM", "author_name": null, "author_id": null, "created_at": "2026-05-07T18:52:31.000Z", "likes": -3, "comments": null, "shares": null, "views": null, "followers": null, "links": [ "https://chameleon-crm.com/?utm_source=chatgpt.com", "http://Cal.com" ], "signals": [ "instead of", "pricing" ], "post": { "url": "https://www.reddit.com/r/CRM/comments/1t6jj1s/which_crm_would_you_recommend_for_our_small/", "title": "Which CRM would you recommend for our small business?" } }, "… 31 more" ], "legs": [ { "key": "reddit#0", "platform": "reddit", "endpoint": "reddit.search.posts", "status": "ok", "credits": 2, "ms": 3706, "error": null }, { "key": "0", "platform": "reddit", "endpoint": "reddit.post.thread", "status": "ok", "credits": 5, "ms": 7428, "error": null }, "… 4 more" ], "credits_used": 27, "failed": []}Parameters
| Name | Type | Description |
|---|---|---|
queryquery · required | string | What buyers talk about. Example: crm for small business. |
platformquery | "reddit" | "youtube" | "tiktok" | "hackernews" | Default reddit. One of reddit, youtube, tiktok, hackernews. |
postsquery | integer | Results to consider (default 25). |
openquery | integer | Posts to open (default 5). |
comments_per_postquery | integer | Most comments kept per post (default 100). |
includequery | string | all: every comment read, not only leads. |
Status codes
| Status | Meaning |
|---|---|
200 | Lead comments with their posts. |
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.