Reddit

Reddit Post Crossposts

Get the other submissions of a Reddit post's link across Reddit: crossposts and reposts of the same URL, by post URL or ID. Returns the same post fields as Post Details for each one (subreddit, author, date, score, upvote ratio, comment count). Up to 100 per request.

Price: $0.003 per request. Free tier: 50 requests/month.

get/v1/reddit/post/crossposts

Request

  • Base URL: https://apidirect.io
  • URL: https://apidirect.io/v1/reddit/post/crossposts
  • Auth: API key in header X-API-Key

Query parameters

urlstring

Reddit post URL, e.g. https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/ or https://redd.it/1wwv97o (max 500 characters). Provide exactly one of url or post_id.

post_idstring

Reddit post ID, e.g. 1wwv97o (a t3_ prefix is accepted). Provide exactly one of url or post_id.

get_sentimentboolean

Set to true to add AI emotion analysis to each post (returned in the posts array). Adds a sentiment object containing emotions (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), dominant_emotion, emotional_intensity (0-10), and polarity (positive, negative or neutral). Any post that cannot be scored returns sentiment: null.

Response

Successful response

post_idstring nullable
countnumber nullable

Changes

No recorded changes to this operation across all 1 revision of this API.