Reddit
Reddit subreddit.posts
List the posts of a Reddit subreddit. Normalized JSON, one price per record, automatic failover across sources.
POST
List the posts of a Reddit subreddit. The response is normalized, so it keeps the same shape whichever offer served it.
The call is synchronous and comes back
completed or failed. Body fields and error codes shared by every service are documented on Run a service.
Body
string[]
required
The URLs to fetch, as
urls (array) or url (single string). Each one must match an accepted format below, and a mismatch returns 400 invalid_input_format before any routing or billing.string
Single-input form of
urls.number
default:"100"
Maximum number of records to return. Integer, 1-250.
string
Pin one offer, as
source/name. Serving this service: apify/harshmaur, apify/trudax. Omit it (the default) to let the router walk the failover chain.object
Typed options for this service. Validation is strict, so an unknown key or an out-of-enum value returns a corrective
400 instead of being dropped.Accepted URL formats
A sort suffix (/hot, /new, /top, /rising) is accepted too. /r/all and /r/popular work.
Offers
In failover order. The head serves unless you pin another withprovider, and served_by in the response names the one that answered.
Prices are live in the catalogue:
GET /v1/services/reddit/subreddit.posts. See Credits for how a call is billed.
Response
data[] holds the normalized records, served_by names the offer that answered, and credits_used carries the actual charge.
The example response is a real run with values shortened for readability. A field is present when Reddit exposes it for that item, so the exact set varies record to record.