Skip to main content
POST
Bridgly SDK

Authorizations

Authorization
string
header
required

A Bridgly API key (bgly_…). Metered endpoints deduct credits from the resolved account.

Body

application/json
subreddit
string
required

Subreddit name without the "r/" prefix, e.g. "programming".

sort
enum<string>

Feed ordering. Defaults to "hot".

Available options:
hot,
new,
top,
rising
time
enum<string>

Restrict results to a recent window. Defaults to "all".

Available options:
hour,
day,
week,
month,
year,
all
count
integer
default:10

Number of posts to return (1–10). Defaults to 10.

Required range: 1 <= x <= 10
after
string

Pagination cursor (a Reddit fullname returned as after from a previous page).

Response

Default Response

timeMs
number
required

Wall-clock time the request took to complete, in milliseconds.

creditsCost
number
required

Number of account credits this request consumed.

data
object
required