API
Reddit API
The AI-powered Reddit provides 360° Global Media Data & Intelligence on Reddit communities, moderators, brand researchers, and community engagement teams.
API संदर्भ संस्करण: 1.0.0 3 एंडपॉइंट प्रमाणीकरण
बेस URL
https://pressmonitor.com/api प्रमाणीकरण
सभी अनुरोधों के लिए x-api-key और x-subscription-id हेडर आवश्यक हैं। x-api-key आपके खाते को प्रमाणित करता है; x-subscription-id सब्सक्राइब किए गए सेवा को चुनता है।
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/reddit_subreddit Reddit Subreddit
पैरामीटर
| नाम | प्रकार | स्थान | आवश्यक | विवरण |
|---|---|---|---|---|
| subreddit | string | query | हां | Subreddit name |
| limit | integer | query | नहीं | Number of results |
कोड उदाहरण
curl -X GET \
"https://pressmonitor.com/api/reddit_subreddit?subreddit=VALUE&limit=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" प्रतिक्रियाएं
200 Success
GET
/reddit_search Reddit Recherche
पैरामीटर
| नाम | प्रकार | स्थान | आवश्यक | विवरण |
|---|---|---|---|---|
| query | string | query | हां | Search query |
| limit | integer | query | नहीं | Number of results |
कोड उदाहरण
curl -X GET \
"https://pressmonitor.com/api/reddit_search?query=VALUE&limit=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" प्रतिक्रियाएं
200 Success
GET
/reddit_user Reddit Utilisateur
पैरामीटर
| नाम | प्रकार | स्थान | आवश्यक | विवरण |
|---|---|---|---|---|
| username | string | query | हां | Username |
कोड उदाहरण
curl -X GET \
"https://pressmonitor.com/api/reddit_user?username=VALUE" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" प्रतिक्रियाएं
200 Success
