Store an author or exclude list
Stores an author or exclude list for 30 days, for prism discover and creators. Free.
POST /v1/prism/discover/inputsBeta0 credits per callRefunded on failureimport os, requests
res = requests.post(
"https://api.groundsocial.dev/v1/prism/discover/inputs",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
json={"kind":"exclude","exclude":["tiktok:khaby.lame","mkbhd"]},
)
res.raise_for_status()
data = res.json()Response
200 · 0 credits{ "id": "lst_8cd06926-2df3-4f24-9e69-f9993fec9e8a", "kind": "exclude", "count": 2, "expires_at": "2026-12-27T01:33:01.990Z", "use_as": "exclude_list_id"}Status codes
| Status | Meaning |
|---|---|
200 | The list id and its expiry. |
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
Does it cost anything?
No. Discovery endpoints are free and need no API key, so an agent can look around before it signs up.
Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.