Post Comment Tree by ID (alias)
Alias of GET /api/reddit/post/{postId}/comments — identical response shape and identical $0.0015 price. Provided so the three intuitive comment URL shapes all resolve: /comments?permalink=…, /post/{postId}/comments, and /comments/{postId}. Does not affect GET /api/reddit/comments?permalink=, which remains the permalink-based form. Cost: $0.0015 per call.
Request
- Base URL: https://api.redditapis.com
- URL: https://api.redditapis.com/api/reddit/comments/{postId}
- Auth: HTTP bearer
Path parameters
Reddit post id (e.g. 1sgjld3)
Query parameters
Maximum number of top-level comments, 1-500 (default 100). Reddit's own knob on the thread read.
Maximum reply depth to include, 1-10. Absent, Reddit's full tree is returned. depth=1 returns top-level comments only.
Comment ordering: confidence (Reddit's best), top, new, controversial, old or qa. Absent, Reddit's default for the thread.
Response
Successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.