Reddit Post by ID API
Get Reddit Post by ID data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by JustOneAPI, pass parameters such as postId, and retrieve structured data including post fullname, post title, post score, comment count, and creation timestamp to inspect a known post id, and plan comment follow-up.
- Selected price
- $0.015385 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Reddit Post by ID API
Prepare your request, then continue with your agent.
Selected price
$0.015385 / call
- Provider
- API
- Pricing
On this page
Overview
Reddit Post by ID API
Send postId in t3_<post-id> format. The response contains data.postsInfoByIds, whose entries use postTitle for the title and can have null content.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required query: postId in t3_<post-id> format. |
| Selected implementation | justoneapi · Reddit Post Details API (V1) |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Inspect a known post ID: Retain post identity, source URL and available content.
- Plan comment follow-up: Use the post reference in a compatible comment lookup.
Returned Data
| Field | Meaning |
|---|---|
data.postsInfoByIds[].id |
Post fullname |
data.postsInfoByIds[].postTitle |
Post title |
data.postsInfoByIds[].score |
Post score |
data.postsInfoByIds[].commentCount |
Comment count |
data.postsInfoByIds[].createdAt |
Creation timestamp |
data.postsInfoByIds[].content |
Post content when available; may be null |
data.postsInfoByIds[].url |
Source post URL |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/justoneapi/api/reddit/get-post-detail/v1 \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode postId=t3_1q4aqti
Request and Response Examples
The response is a historical documentation reference; the request is an independent calling template. Returned records and available content can differ.
Published Reddit Post by ID API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Reddit Post Details API (V1) · GET · View API reference | $0.015385 / call | 0 | —successP50— |
- Unit price
- $0.015385
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $1.5385
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/reddit/get-post-detail/v1- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
postId | URL query parametersquery | string | Yes | The Reddit post identifier in t3_<post-id> format. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobjectpostsInfoByIdsobject[]__typenamestringattributionInfonullauthorCommunityBadgenullauthorFlairnullauthorInfoobject__typenamestringaccountTypestringiconSmallobject__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
idstringisBlockedbooleanisCakeDayNowbooleannamestringnewIconobject__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
profileobjectisNsfwboolean
snoovatarIconobject__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
awardingsobject[]__typenamestringawardobject__typenamestringidstringnamestringstatic_icon_16object__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
static_icon_24object__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
static_icon_32object__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
static_icon_48object__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
static_icon_64object__typenamestringdimensionsobjectheightintegerwidthinteger
urlstring
tagsstring[]
totalinteger
awardingsInfonullcommentCountintegercontentnullcreatedAtstringcrosspostRootnullcrowdControlLevelstringdevvitnulldistinguishedAsnulldomainstringeditedAtnullflairnullgallerynullidstringisArchivedbooleanisAuthorBlockedbooleanisCommercialCommunicationbooleanisContestModebooleanisCrosspostablebooleanisCrowdControlFilterEnabledbooleanisFollowedbooleanisGildablebooleanisHiddenbooleanisLockedbooleanisNsfwbooleanisPollIncludedbooleanisReactAllowedbooleanisSavedbooleanisScoreHiddenbooleanisSelfPostbooleanisSpoilerbooleanisStickiedbooleanisThumbnailEnabledbooleanisTranslatablebooleanisTranslatedbooleanlanguageCodestringmedianullmoderationInfonulloutboundLinkobjectexpiresAtstringurlstring
permalinkstringpollnullpostEventInfonullpostHintnullpostStatsobjectshareAllTotalintegerviewCountTotalnull
postStatsPrivateobjectviewCountTotalsnull
postTitlestringpredictedRemovalSavedResponsesunknown[]reactedFromnullremovedByCategorystringscoreintegersubredditobject__typenamestringcommunityStatusnullidstringisNsfwbooleanisQuarantinedbooleanisSubscribedbooleanisThumbnailsEnabledbooleanisTitleSafebooleanisUserBannedbooleanmodPermissionsnullnamestringprefixedNamestringstylesobjectbackgroundColornullbannerBackgroundImagestringiconstringlegacyIconobjecturlstring
legacyPrimaryColorstringprimaryColorstring
subscribersCountnumbertippingStatusnulltitlestringtypestringwhitelistStatusstring
suggestedCommentSortstringthumbnailnulltranslatedLanguagenullupvoteRationumberurlstringviewCountnullvoteStatestring
messagenullrecordTimenull
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Historical response; independent request temp
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
postId- The Reddit post identifier in t3_<post-id> format.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/reddit/get-post-detail/v1?postId=%3CREPLACE_POSTID%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "postsInfoByIds": [ { "__typename": "SubredditPost", "attributionInfo": null, "authorCommunityBadge": null, "authorFlair": null, "authorInfo": { "__typename": "Redditor", "accountType": "USER", "iconSmall": { "__typename": "MediaSource", "dimensions": { "height": 50, "width": 50 }, "url": "https://preview.redd.it/snoovatar/avatars/495a64a3-a7b9-4289-90a8-8bba16564b1b-headshot.png?width=50&height=50&auto=webp&s=8fbe87c6a54b0bb02d1fbd4c2289ec0698f23003" }, "id": "t2_144icfdwdo", "isBlocked": false, "isCakeDayNow": false, "name": "goswamitulsidas", "newIcon": { "__typename": "MediaSource", "dimensions": { "height": 256, "width": 256 }, "url": "https://preview.redd.it/snoovatar/avatars/495a64a3-a7b9-4289-90a8-8bba16564b1b-headshot.png?auto=webp&s=fe2ac439bb6f9d827747f37a05dac029a8fce7a5" }, "profile": { "isNsfw": false }, "snoovatarIcon": { "__typename": "MediaSource", "dimensions": { "height": 600, "width": 380 }, "url": "https://i.redd.it/snoovatar/avatars/495a64a3-a7b9-4289-90a8-8bba16564b1b.png" } }, "awardings": [ { "__typename": "AwardingTotal", "award": { "__typename": "Award", "id": "award_free_popcorn_2", "name": "Popcorn", "static_icon_16": { "__typename": "MediaSource", "dimensions": { "height": 16, "width": 16 }, "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/Popcorn_16.png" }, "static_icon_24": { "__typename": "MediaSource", "dimensions": { "height": 24, "width": 24 }, "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/Popcorn_24.png" }, "static_icon_32": { "__typename": "MediaSource", "dimensions": { "height": 32, "width": 32 }, "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/Popcorn_32.png" }, "static_icon_48": { "__typename": "MediaSource", "dimensions": { "height": 48, "width": 48 }, "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/Popcorn_48.png" }, "static_icon_64": { "__typename": "MediaSource", "dimensions": { "height": 64, "width": 64 }, "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/Popcorn_64.png" }, "tags": [ "award:legacy", "award:unlimited_free", "award:sort:50", "award:quick_give" ] }, "total": 5 } ], "awardingsInfo": null, "commentCount": 714, "content": null, "createdAt": "2026-01-05T03:30:19.779000+0000", "crosspostRoot": null, "crowdControlLevel": "OFF", "devvit": null, "distinguishedAs": null, "domain": "v.redd.it", "editedAt": null, "flair": null, "gallery": null, "id": "t3_1q4aqti", "isArchived": false, "isAuthorBlocked": false, "isCommercialCommunication": false, "isContestMode": false, "isCrosspostable": false, "isCrowdControlFilterEnabled": false, "isFollowed": false, "isGildable": false, "isHidden": false, "isLocked": true, "isNsfw": false, "isPollIncluded": false, "isReactAllowed": false, "isSaved": false, "isScoreHidden": false, "isSelfPost": false, "isSpoiler": false, "isStickied": false, "isThumbnailEnabled": true, "isTranslatable": false, "isTranslated": false, "languageCode": "en", "media": null, "moderationInfo": null, "outboundLink": { "expiresAt": "2026-10-23T16:00:16.617649+0000", "url": "https://www.reddit.com/r/Whatcouldgowrong/comments/1q4aqti/removed_by_moderator/" }, "permalink": "/r/Whatcouldgowrong/comments/1q4aqti/removed_by_moderator/", "poll": null, "postEventInfo": null, "postHint": null, "postStats": { "shareAllTotal": 3234, "viewCountTotal": null }, "postStatsPrivate": { "viewCountTotals": null }, "postTitle": "[ Removed by moderator ]", "predictedRemovalSavedResponses": [], "reactedFrom": null, "removedByCategory": "MODERATOR", "score": 32609, "subreddit": { "__typename": "Subreddit", "communityStatus": null, "id": "t5_2x2oy", "isNsfw": false, "isQuarantined": false, "isSubscribed": false, "isThumbnailsEnabled": true, "isTitleSafe": true, "isUserBanned": false, "modPermissions": null, "name": "Whatcouldgowrong", "prefixedName": "r/Whatcouldgowrong", "styles": { "backgroundColor": null, "bannerBackgroundImage": "https://styles.redditmedia.com/t5_2x2oy/styles/bannerBackgroundImage_noc56x5mbi821.png?frame=1&auto=webp&s=1f3624576a44b55f140b70f788d5377147af899c", "icon": "https://a.thumbs.redditmedia.com/wk4DdnifrZxOjoVTiBzk1jsK8RqACLAQi6TO4JMxCx0.png", "legacyIcon": { "url": "https://a.thumbs.redditmedia.com/wk4DdnifrZxOjoVTiBzk1jsK8RqACLAQi6TO4JMxCx0.png" }, "legacyPrimaryColor": "#222222", "primaryColor": "#B8001F" }, "subscribersCount": 8010123.0, "tippingStatus": null, "title": "What Could Possibly Go Wrong?", "type": "PUBLIC", "whitelistStatus": "ALL_ADS" }, "suggestedCommentSort": "TOP", "thumbnail": null, "translatedLanguage": null, "upvoteRatio": 0.9703780024470345, "url": "https://www.reddit.com/r/Whatcouldgowrong/comments/1q4aqti/removed_by_moderator/", "viewCount": null, "voteState": "NONE" } ] }, "message": null, "recordTime": null }