API
Instagram API
Instagram reaches about 3 billion monthly users through photos, Stories, Reels, and direct messages, making it important for brand storytelling, creator partnerships, product discovery, and visual commerce.
API Reference Version: 1.0.0 9 Endpoints Authentication
Base URL
https://api.pressmonitor.ca Authentication
All requests use Bearer token authentication. Add the Authorization header to every call.
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 | Number of results to return |
| cursor | integer | query | No | Pagination cursor for next page |
Code Examples
curl -X GET "https://api.pressmonitor.ca/comments?shortcode=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/followers Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | |
| cursor | integer | query | No | Pagination cursor for next page |
Code Examples
curl -X GET "https://api.pressmonitor.ca/followers?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/following Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | |
| cursor | integer | query | No | Pagination cursor for next page |
Code Examples
curl -X GET "https://api.pressmonitor.ca/following?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/hashtag-posts Hashtag Posts
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| hashtag | string | query | Yes | |
| count | integer | query | No | Number of results to return |
| cursor | integer | query | No | Pagination cursor for next page |
Code Examples
curl -X GET "https://api.pressmonitor.ca/hashtag-posts?hashtag=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/info Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | |
| cursor | integer | query | No | Pagination cursor for next page |
| include_about | string | query | No | |
| url_embed_safe | string | query | No |
Code Examples
curl -X GET "https://api.pressmonitor.ca/info?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/post-info Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| url_or_shortcode | string | query | Yes | |
| cursor | integer | query | No | Pagination cursor for next page |
| url_embed_safe | string | query | No |
Code Examples
curl -X GET "https://api.pressmonitor.ca/post-info?url_or_shortcode=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/posts Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| username_or_id_or_url | string | query | Yes | |
| cursor | integer | query | No | Pagination cursor for next page |
Code Examples
curl -X GET "https://api.pressmonitor.ca/posts?username_or_id_or_url=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/search-posts Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| search_query | string | query | Yes | |
| cursor | integer | query | No | Pagination cursor for next page |
Code Examples
curl -X GET "https://api.pressmonitor.ca/search-posts?search_query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success
GET
/search-users Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| search_query | string | query | Yes | |
| cursor | integer | query | No | Pagination cursor for next page |
Code Examples
curl -X GET "https://api.pressmonitor.ca/search-users?search_query=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success