API
इंस्टाग्राम API
इंस्टाग्राम लगभग 3 अरब मासिक उपयोगकर्ताओं तक पहुंचता है, जो फ़ोटो, कहानियों, रीलों और सीधे संदेशों के माध्यम से ब्रांड कहानी कहने, निर्माता साझेदारियों, उत्पाद पहचान और दृश्य वाणिज्य के लिए महत्वपूर्ण है।
API Reference Version: 1.0.0 9 Endpoints Authentication
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 टिप्पणियाँ
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| shortcode | string | query | Yes | शॉर्टकोड |
| count | integer | query | No | लौटाए जाने वाले परिणामों की संख्या |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
Code Examples
curl -X GET "https://api.pressmonitor.com/comments?shortcode=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/followers अनुयायी
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | उपयोगकर्ता नाम या आईडी या URL |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
Code Examples
curl -X GET "https://api.pressmonitor.com/followers?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/following अनुसरण कर रहे हैं
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | उपयोगकर्ता नाम या आईडी या URL |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
Code Examples
curl -X GET "https://api.pressmonitor.com/following?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/hashtag-posts हैशटैग पोस्ट
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| hashtag | string | query | Yes | हैशटैग |
| count | integer | query | No | लौटाए जाने वाले परिणामों की संख्या |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
Code Examples
curl -X GET "https://api.pressmonitor.com/hashtag-posts?hashtag=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/info जानकारी
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | उपयोगकर्ता नाम या आईडी या URL |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
| include_about | string | query | No | के बारे में शामिल करें |
| url_embed_safe | string | query | No | URL एम्बेड सुरक्षित |
Code Examples
curl -X GET "https://api.pressmonitor.com/info?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/post-info पोस्ट जानकारी
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| url_or_shortcode | string | query | Yes | URL या शॉर्टकोड |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
| url_embed_safe | string | query | No | URL एम्बेड सुरक्षित |
Code Examples
curl -X GET "https://api.pressmonitor.com/post-info?url_or_shortcode=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/posts पोस्ट
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | उपयोगकर्ता नाम या आईडी या URL |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
Code Examples
curl -X GET "https://api.pressmonitor.com/posts?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/search-posts पोस्ट खोजें
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| search_query | string | query | Yes | खोज क्वेरी |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
Code Examples
curl -X GET "https://api.pressmonitor.com/search-posts?search_query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता
GET
/search-users उपयोगकर्ता खोजें
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| search_query | string | query | Yes | खोज क्वेरी |
| cursor | integer | query | No | अगले पृष्ठ के लिए पेजिनेशन कर्सर |
Code Examples
curl -X GET "https://api.pressmonitor.com/search-users?search_query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 सफलता