API

인스타그램 API

인스타그램은 사진, 스토리, 릴, 직접 메시지를 통해 약 30억 명의 월간 사용자를 대상으로 브랜드 스토리텔링, 크리에이터 파트너십, 제품 발견 및 비주얼 상거래에 중요한 플랫폼입니다.

API 참조 버전: 1.0.0 9 엔드포인트 인증
인스타그램

기본 URL

https://api.pressmonitor.com

인증

모든 요청은 Bearer 토큰 인증을 사용합니다. 각 호출에 Authorization 헤더를 추가하세요.

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

댓글

매개변수

이름 유형 위치 필수 설명
shortcode string query 단축 코드
count integer query 아니요 반환할 결과 수
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서

코드 예제

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

응답

200 성공
GET /followers

팔로워

매개변수

이름 유형 위치 필수 설명
username_or_id_or_url string query 사용자 이름 또는 ID 또는 URL
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서

코드 예제

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"

응답

200 성공
GET /following

팔로잉

매개변수

이름 유형 위치 필수 설명
username_or_id_or_url string query 사용자 이름 또는 ID 또는 URL
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서

코드 예제

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"

응답

200 성공
GET /hashtag-posts

해시태그 게시물

매개변수

이름 유형 위치 필수 설명
hashtag string query 해시태그
count integer query 아니요 반환할 결과 수
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서

코드 예제

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

응답

200 성공
GET /info

정보

매개변수

이름 유형 위치 필수 설명
username_or_id_or_url string query 사용자 이름 또는 ID 또는 URL
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서
include_about string query 아니요 소개 포함
url_embed_safe string query 아니요 URL 임베드 안전

코드 예제

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"

응답

200 성공
GET /post-info

게시물 정보

매개변수

이름 유형 위치 필수 설명
url_or_shortcode string query URL 또는 단축 코드
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서
url_embed_safe string query 아니요 URL 임베드 안전

코드 예제

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"

응답

200 성공
GET /posts

게시물

매개변수

이름 유형 위치 필수 설명
username_or_id_or_url string query 사용자 이름 또는 ID 또는 URL
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서

코드 예제

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"

응답

200 성공
GET /search-posts

게시물 검색

매개변수

이름 유형 위치 필수 설명
search_query string query 검색 쿼리
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서

코드 예제

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"

응답

200 성공
GET /search-users

사용자 검색

매개변수

이름 유형 위치 필수 설명
search_query string query 검색 쿼리
cursor integer query 아니요 다음 페이지를 위한 페이지네이션 커서

코드 예제

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"

응답

200 성공