PulseEmetrics

Reddit

7 endpoints. All requests need an x-api-key header.

GET/v1/reddit/post

Post

Retrieves public Reddit post details by URL without fetching or returning comments. Returns the text post body in selftext when present, plus the title, author, subreddit, score, upvote ratio, comment count, timestamps, permalink, and post flags. Accepts canonical Reddit post URLs and Reddit mobile share URLs.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringReddit post URL Example: https://www.reddit.com/r/webscraping/comments/1q6pxwn/just_started_web_scraping_is_this_a_good_start/
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/reddit/post?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fwebscraping%2Fcomments%2F1q6pxwn%2Fjust_started_web_scraping_is_this_a_good_start%2F" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/reddit/post?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fwebscraping%2Fcomments%2F1q6pxwn%2Fjust_started_web_scraping_is_this_a_good_start%2F", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/reddit/post",
    params={"url": "https://www.reddit.com/r/webscraping/comments/1q6pxwn/just_started_web_scraping_is_this_a_good_start/"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/reddit/post/comments

Post Comments

Retrieves comments and post details from a Reddit post by URL. Returns the post with title, author, score, ups, upvote_ratio, num_comments, and created_utc, plus a comments array where each comment includes author, body, body_html, score, created_utc, parent_id, permalink, and nested replies. Both GET and POST are supported. Use GET for normal requests. Pass one opaque cursor exactly as returned by more.cursor or replies.more.cursor to load the next page. Cursor batching and comma-separated curs

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringReddit post URL Example: https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/
cursorstringOne opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors. Example: opaque_cursor_returned_by_previous_response
trimbooleanSet to true for a trimmed down version of the response Example: false
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/reddit/post/comments?url=https%3A%2F%2Fwww.reddit.com%2Fr%2FAskReddit%2Fcomments%2Fablzuq%2Fpeople_who_havent_pooped_in_2019_yet_why_are_you%2F" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/reddit/post/comments?url=https%3A%2F%2Fwww.reddit.com%2Fr%2FAskReddit%2Fcomments%2Fablzuq%2Fpeople_who_havent_pooped_in_2019_yet_why_are_you%2F", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/reddit/post/comments",
    params={"url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/reddit/post/transcript

Post Transcript

Gets the transcript from a Reddit video post or direct v.redd.it URL when Reddit exposes a VTT caption file. Returns the raw WebVTT in raw_vtt plus a parsed plain-text transcript. If Reddit does not expose captions for the video, transcript is null and transcriptNotAvailable is true. Returned native captions cost 1 credit; empty transcripts and errors cost 0 credits. This endpoint does not use AI transcription.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringReddit post URL or direct v.redd.it video URL Example: https://www.reddit.com/r/youseeingthisshit/comments/1oiu9xm/football_nostalgiasaints_punter_head_coach_cant/
languagestring2 letter language code. Defaults to en. Example: en
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/reddit/post/transcript?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fyouseeingthisshit%2Fcomments%2F1oiu9xm%2Ffootball_nostalgiasaints_punter_head_coach_cant%2F&language=en" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/reddit/post/transcript?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fyouseeingthisshit%2Fcomments%2F1oiu9xm%2Ffootball_nostalgiasaints_punter_head_coach_cant%2F&language=en", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/reddit/post/transcript",
    params={"url": "https://www.reddit.com/r/youseeingthisshit/comments/1oiu9xm/football_nostalgiasaints_punter_head_coach_cant/", "language": "en"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/reddit/search

Search

Searches across all of Reddit for posts or comments matching a query. Set filter to posts (the default) or comments. Post results include title, author, selftext, subreddit, score, ups, upvote_ratio, num_comments, created_utc, url, permalink, and is_video. Comment results include the matching body, author, votes, timestamps, comment URL, parent relationship, and post/subreddit context. Comment searches support relevance, new, and top sorting. Timeframe filtering applies to post searches. Paginat

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
queryrequiredstringSearch query
filterstringSearch posts or comments One of: postscomments Example: posts
sortstringSort by. Comment search supports relevance, new, and top; comment_count is for post search only. One of: relevancenewtopcomment_count Example: relevance
timeframestringPost search timeframe One of: alldayweekmonthyear Example: all
afterstringUsed to paginate to next page Example: t3_1i8z28z
trimbooleanSet to true for a trimmed down version of the response Example: false
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/reddit/search?query=value" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/reddit/search?query=value", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/reddit/search",
    params={"query": "value"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/reddit/subreddit

Subreddit Posts

Fetches posts from a subreddit with sorting and filtering options. Each post includes title, author, link_flair_text when Reddit exposes it, selftext, score, ups, upvote_ratio, num_comments, created_utc, url, permalink, subreddit_subscribers, and is_video. Supports sort (best, hot, new, top, rising), timeframe filtering, pagination via the after token, and a trim parameter for lighter responses.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
subredditrequiredstringSubreddit name
timeframestringTimeframe to get posts from One of: alldayweekmonthyear
sortstringSort order One of: besthotnewtoprising
afterstringAfter to get more posts. Get 'after' from previous response. Example: t3_1234567890
trimbooleanSet to true for a trimmed down version of the response Example: false
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/reddit/subreddit?subreddit=value" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/reddit/subreddit?subreddit=value", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/reddit/subreddit",
    params={"subreddit": "value"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/reddit/subreddit/details

Subreddit Details

Retrieves metadata about a subreddit by name or URL. The subreddit name must be case-sensitive. Returns display_name, description, subscribers, weekly_active_users, weekly_contributions, rules, icon_img, header_img, advertiser_category, submit_text, and created_at.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
subredditstringSubreddit name. MUST be case sensitive. So 'AskReddit' not 'askreddit'. Example: AskReddit
urlstringSubreddit URL Example: https://www.reddit.com/r/AbsoluteUnits/
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/reddit/subreddit/details?subreddit=AskReddit&url=https%3A%2F%2Fwww.reddit.com%2Fr%2FAbsoluteUnits%2F" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/reddit/subreddit/details?subreddit=AskReddit&url=https%3A%2F%2Fwww.reddit.com%2Fr%2FAbsoluteUnits%2F", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/reddit/subreddit/details",
    params={"subreddit": "AskReddit", "url": "https://www.reddit.com/r/AbsoluteUnits/"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/reddit/subreddit/search

Subreddit Search

Searches within a specific subreddit for posts, comments, and media matching a query. Returns posts with title, votes, num_comments, url, and created_at; comments with author, body, votes, and parent post info; and media with title, media_type, image dimensions, and gallery_count. Supports sort, timeframe filtering, and cursor-based pagination.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
subredditrequiredstringSubreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)
querystringSearch query to find matching content Example: push ups
sortstringSort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new One of: relevancehottopnewcomments
timeframestringTimeframe to filter results One of: allyearmonthweekdayhour
cursorstringCursor to get more results. Get 'cursor' from previous response. Example: eyJjYW5kaWRhdGVzX3JldHVybmVkIjoi...
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/reddit/subreddit/search?subreddit=value" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/reddit/subreddit/search?subreddit=value", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/reddit/subreddit/search",
    params={"subreddit": "value"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())