comment_idstringwymagane
Parent comment ID (required, get `pk` field from get_post_comments response)
https://api.sandbase.ai/v1/api/instagram/v3/comment-repliesReturns child comment replies for a specific Instagram comment using the post media ID and parent comment ID. Supports pagination via cursor tokens.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Retrieve threaded comment replies for an Instagram post by supplying media_id and comment_id. Additional pages can be fetched using min_id.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/comment-replies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"comment_id": "18065937092249736", "media_id": "3829530490739515971"}'
| Name | Type | Required | Description |
|---|---|---|---|
media_id | string | Yes | Post media ID (numeric ID, required), can be obtained via /shortcode_to_media_id endpoint |
comment_id | string | Yes | Parent comment ID (required, get pk field from get_post_comments response) |
min_id | string | No | Pagination cursor, omit for first request, get from previous response data.next_min_child_cursor |
media_id via the /shortcode_to_media_id endpoint.comment_id from the pk field of post comment results.min_id with data.next_min_child_cursor from the previous response for pagination.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/comment-replies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"media_id": "3829530490739515971",
"comment_id": "18065937092249736"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
comment_idstringwymaganeParent comment ID (required, get `pk` field from get_post_comments response)
media_idstringwymaganePost media ID (numeric ID, required), can be obtained via `/shortcode_to_media_id` endpoint
min_idstringPagination cursor, omit for first request, get from previous response `data.next_min_child_cursor`
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Instagram | $0.008 za wywołanie | JSON |
Instagram | $0.008 za wywołanie | JSON |
Instagram | $0.008 za wywołanie | JSON |
Instagram | $0.002 za wywołanie | JSON |
Instagram | $0.008 za wywołanie | JSON |
Instagram | $0.008 za wywołanie | JSON |
Przewodniki:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/instagram/v3/comment-replies z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.008 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: comment_id (string) i media_id (string). Opcjonalne: min_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Instagram Comment Replies (V3) działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Instagram.