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

Reddit post visibility (shadow removal) check API

Whether a post is still publicly visible: it reads the post and its author’s public post list, and answers live, not_visible or undecidable with a reason.

GET /v1/reddit/posts/{id}/visibility2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/reddit/posts/1y1u285/visibility",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"post_id": "1y1u285",
"author": "tylerthe-theatre",
"verdict": "live",
"reason": "The post is in its author's public post list.",
"confident": true,
"removed": false,
"removal_marker": null
}

Parameters

NameTypeDescription
idpath · requiredstringA post id (1y1u285), fullname (t3_1y1u285) or post URL. Example: 1y1u285.
Response fields

200 with a Visibility, in Reddit’s own Things and Listings.

FieldTypeDescription
post_idstring
verdict"live" | "not_visible" | "undecidable"
reasonstring
confidentboolean
removedboolean
removal_marker"[removed]" | "[deleted]" | null
authorstring | null
Status codes
StatusMeaning
200The verdict.
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.
404The subreddit, post or user does not exist.
429Too many requests. Wait for Retry-After seconds.
503Reddit is temporarily unavailable. Retryable; nothing was charged.

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

Questions

Does it say who removed a post?

No. A moderator, an admin, a spam filter and an author hiding their posts look the same from outside; removed is true only when Reddit marks the post removed or deleted.

Reddit is a trademark of Reddit, Inc. We are not affiliated with or endorsed by Reddit.