← All APIs
Reddit API
3 endpoints returning Reddit data as JSON, with the same API key, response envelope and credits as every other serpfast API.
Endpoints
| Path | Description |
|---|---|
| /reddit/post | Post · Get a public Reddit post and available discussion comments. |
| /reddit/search | Search · Search public Reddit posts by keywords, sort order, and time range. |
| /reddit/subreddit-posts | Subreddit Posts · Read public posts from a subreddit with pagination. |
Example request
Post
curl "https://serpfast.com/api/v1/reddit/post?url=https%3A%2F%2Fwww.reddit.com%2Fr%2FPython%2Fcomments%2F1xbnrhi%2Flitellm_11070_on_pypi_is_compromised%2F&limit=3" \
-H "Authorization: Bearer $SERPFAST_KEY"Pricing
One credit per request on every Reddit endpoint. Failed requests are refunded automatically. Start with 5,000 free credits.
Prijzen