Reddit Scraping
Reddit Post Endpoint
POST /v1/reddit/post
#Request Example
curl -X POST /v1/reddit/post \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.reddit.com/r/laravel/comments/abc123/example_post/"
}'
#Request Body
{
"url": "https://www.reddit.com/r/laravel/comments/abc123/example_post/"
}
#Pricing
- 3 credits on successful
200response
#Validation
This endpoint accepts post URLs only. If a comment URL is provided, the API returns:
{
"message": "Invalid Reddit post URL. Please provide a post URL only (not a comment URL). Use /reddit/comment for comment URLs."
}