API · Reddit
GET /reddit/posts/{id}/visibility
Whether a post is still publicly visible or quietly removed.
| Request | GET /v1/reddit/posts/{id}/visibility |
| Operation id | reddit.post.visibility |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Whether a post is still publicly visible or quietly removed.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | A post id (1y1u285), fullname (t3_1y1u285) or post URL. Example: 1y1u285. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The verdict. | Visibility |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The subreddit, post or user does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Reddit is temporarily unavailable. Retryable; nothing was charged. | Error |
Visibility fields
| Field | Type | Description |
|---|---|---|
post_id | string | |
verdict | "live" | "not_visible" | "undecidable" | |
reason | string | |
confident | boolean | |
removed | boolean | |
removal_marker | "[removed]" | "[deleted]" | null | |
author | string | null |
Errors use one shape everywhere; see Errors for every code and what to do.