Set up your account and make your first API request in minutes.
First, you'll need an API key to authenticate your requests. You can create one from your dashboard.
Your API key will be displayed only once. Store it securely and never commit it to version control.
Include your API key in every request. Use the x-api-key header:
curl -X GET "https://api.webscrapingapis.com/v1/reddit/search?q=nodejs" \
-H "x-api-key: YOUR_API_KEY"Alternatively, use the Authorization header with a Bearer token:
curl -X GET "https://api.webscrapingapis.com/v1/reddit/search?q=nodejs" \
-H "Authorization: Bearer YOUR_API_KEY"Try searching Reddit for posts. Replace YOUR_API_KEY with your actual key:
curl -X GET "https://api.webscrapingapis.com/v1/reddit/search?q=nodejs" \
-H "x-api-key: YOUR_API_KEY"See the Reddit API reference for more details about available endpoints.