Comments on one of your Instagram posts
instagram.instagram.post.commentsList the comments on one of your Instagram posts
- Price
- free제공업체 원가
- Success rate
- 100%Last 30 days · 1,777 calls
- Latency p50
- 165 msp95 481 ms
- Last verified
- 2026. 7. 28.Verified working
GEThttps://toolswitch.dev/v1/tools/instagram.instagram.post.comments?limit=5&fields=id%2Ctext%2Cusername%2Ctimestamp%2Clike_countPreviewTry online출시 예정Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
파라미터
reads comments on YOUR OWN media only — instagram_basic does not open other accounts' comment threads (use the scraped any_account route for those). Replying needs instagram_manage_comments, which treg does not request
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 경로 파라미터 | ||||
ig_media_id | 문자열 | 필수 | media id from instagram.user.posts | 17900000000000000 |
| 쿼리 파라미터 | ||||
limit | 정수 | 선택 | 25 | |
fields | 문자열 | 선택 | id,text,username,timestamp,like_count,replies{id,text,username,timestamp} | |
- 경로 파라미터
ig_media_id문자열필수media id from instagram.user.posts
예시:
17900000000000000- 쿼리 파라미터
limit정수선택예시:
25fields문자열선택예시:
id,text,username,timestamp,like_count,replies{id,text,username,timestamp}
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/instagram.instagram.post.comments?limit=5&fields=id%2Ctext%2Cusername%2Ctimestamp%2Clike_count' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/instagram.instagram.post.comments?limit=5&fields=id%2Ctext%2Cusername%2Ctimestamp%2Clike_count",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/instagram.instagram.post.comments?limit=5&fields=id%2Ctext%2Cusername%2Ctimestamp%2Clike_count", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 free이며 서비스 수수료가 포함되어 있습니다.