API

Reddit API

Reddit लगभग 121 मिलियन दैनिक सक्रिय उपयोगकर्ताओं को फोरम, थ्रेड्स, टेक्स्ट पोस्ट्स, लिंक्स, चित्रों और टिप्पणियों के माध्यम से सेवा देता है, जो सामुदायिक अंतर्दृष्टि, प्रतिष्ठा ट्रैकिंग, उत्पाद फीडबैक और निचे की खोज के लिए महत्वपूर्ण है।

API Reference Version: 1.0.0 14 Endpoints Authentication
Reddit

Base URL

https://api.pressmonitor.com

Authentication

All requests use Bearer token authentication.

Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID
GET /comments-by-username

यूज़रनेम द्वारा टिप्पणियाँ

Code Examples

curl -X GET "https://api.pressmonitor.com/comments-by-username" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /get-cursor

कर्सर प्राप्त करें

Code Examples

curl -X GET "https://api.pressmonitor.com/get-cursor" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /new-subreddits

नए सबरेडिट्स

Code Examples

curl -X GET "https://api.pressmonitor.com/new-subreddits" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /post-details

पोस्ट विवरण

Parameters

Name Type Location Required Description
post_url string query Yes पोस्ट URL

Code Examples

curl -X GET "https://api.pressmonitor.com/post-details?post_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /posts-by-subreddit

सबरेडिट द्वारा पोस्ट्स

Code Examples

curl -X GET "https://api.pressmonitor.com/posts-by-subreddit" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /posts-by-username

यूज़रनेम द्वारा पोस्ट्स

Code Examples

curl -X GET "https://api.pressmonitor.com/posts-by-username" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /search-posts

पोस्ट खोजें

Parameters

Name Type Location Required Description
query string query Yes सर्च क्वेरी

Code Examples

curl -X GET "https://api.pressmonitor.com/search-posts?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /search-subreddits

सबरेडिट्स खोजें

Parameters

Name Type Location Required Description
query string query Yes सर्च क्वेरी

Code Examples

curl -X GET "https://api.pressmonitor.com/search-subreddits?query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /top-comments-by-username

यूज़रनेम द्वारा शीर्ष टिप्पणियाँ

Code Examples

curl -X GET "https://api.pressmonitor.com/top-comments-by-username" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता
GET /top-posts-by-username

यूज़रनेम द्वारा शीर्ष पोस्ट्स

Code Examples

curl -X GET "https://api.pressmonitor.com/top-posts-by-username" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 सफलता