SocialPipe docs

Reddit App Fetch Post Details

GET/v1/reddit/app/fetch_post_details

Returns personal data about the subject you named. See our terms for what you may do with it.

Costs 1 credit. A cache hit costs nothing, and an answer that contains no data is never charged.

curl "https://api.socialpipe.dev/v1/reddit/app/fetch_post_details" \  -H "Authorization: Bearer $SOCIALPIPE_KEY"
AuthorizationBearer <token>

Your SocialPipe API key, as Authorization: Bearer sp_live_…. Create one in the dashboard.

In: header

Query Parameters

post_id*Post Id

ID/Post ID

language?|

IETF en-US / Preferred response language as an IETF language tag; default: en-US

include_comment_id?|

ID/Include specific comment ID

comment_id?|

ID/Comment ID (when include_comment_id is True)

need_format?|

Whether to clean and format the data

cache_ttl?|

Max acceptable age of a cached result, in seconds. A lower value demands fresher data; it does not shorten what is stored.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/reddit/app/fetch_post_details?post_id=t3_1ojnh50"
{  "cache_age": 0,  "cached": false,  "credits_remaining": 0,  "credits_used": 0,  "data": {},  "schema_version": "2",  "success": true,  "took_ms": 0}