All platforms

Reddit API

7 endpoints for public Reddit data, from 5 credits a call. Same response format and field names as every other platform.

curl "https://scrapeio.com/v1/reddit/post?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/reddit/post5 credits

Post

ParameterTypeDescription
urlrequiredstringReddit post URL
curl "https://scrapeio.com/v1/reddit/post?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/reddit/post/comments5 credits

Post Comments

ParameterTypeDescription
urlrequiredstringReddit post URL
trimbooleanSet to true for a trimmed down version of the response
cursorstringOne opaque cursor returned by the previous response to get more comments or replies.
curl "https://scrapeio.com/v1/reddit/post/comments?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/reddit/post/transcript5 credits

Post Transcript

ParameterTypeDescription
urlrequiredstringReddit post URL or direct v.redd.it video URL
languagestring2 letter language code.
cache_max_age1d, 3d, 7d, 14d, 30dIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "ca
curl "https://scrapeio.com/v1/reddit/post/transcript?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/reddit/subreddit5 credits

Subreddit Posts

ParameterTypeDescription
subredditrequiredstringSubreddit name
timeframeall, day, week, month, yearTimeframe to get posts from
sortbest, hot, new, top, risingSort order
trimbooleanSet to true for a trimmed down version of the response
cache_max_age1d, 3d, 7d, 14d, 30dIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "ca
afterstringAfter to get more posts.
curl "https://scrapeio.com/v1/reddit/subreddit?subreddit=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/reddit/subreddit/details5 credits

Subreddit Details

ParameterTypeDescription
subredditstringSubreddit name.
urlstringSubreddit URL
cache_max_age1d, 3d, 7d, 14d, 30dIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "ca
curl "https://scrapeio.com/v1/reddit/subreddit/details" \
  -H "x-api-key: YOUR_KEY"

Other platforms