Re-check known comments
Re-check up to 25 known comments: current text, score, still there. Metered.
POST /v1/prism/comment-lookupBeta50 credits per callRefunded on failureimport os, requests
res = requests.post(
"https://api.groundsocial.dev/v1/prism/comment-lookup",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
json={"items":[{"platform":"tiktok","post":"7707446852798549279","comment":"7707556469470167839"}]},
)
res.raise_for_status()
data = res.json()Response
200 · 50 credits{ "count": 1, "results": [ { "item": { "platform": "tiktok", "post": "7707446852798549279", "comment": "7707556469470167839" }, "ok": true, "exists": true, "comment": { "platform": "tiktok", "id": "7707556469470167839", "url": "https://www.tiktok.com/@neiaiko/video/7707446852798549279", "title": null, "text": "this with broccoli 😻", "author": "neiaiko", "author_name": "️", "author_id": null, "created_at": "2026-11-13T07:37:00.000Z", "likes": 5269, "comments": 6, "shares": null, "views": null, "followers": null, "links": [ "https://m.tiktok.com/v/7707446852798549279.html?_d=0&comment_author_id=6984625953838629894&preview_pb=0&share_comment_id…", "https://m.tiktok.com/v/7707446852798549279.html?_d=0&comment_author_id=6925204018239423494&preview_pb=0&share_comment_id…" ] } } ], "legs": [ { "key": "0", "platform": "tiktok", "endpoint": "tiktok.comment.get", "status": "ok", "credits": 2, "ms": 0, "error": null } ], "credits_used": 2, "failed": []}Status codes
| Status | Meaning |
|---|---|
200 | One row per comment. |
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.