GroundsocialDocs

API · Instagram

GET /instagram/posts/{shortcode}/comments/find

Find an Instagram comment by id, author or text.

RequestGET /v1/instagram/posts/{shortcode}/comments/find
Operation idinstagram.comment.get
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Find an Instagram comment by id, author or text.

Path parameters

NameTypeRequiredDescription
shortcodestringyesA post or reel shortcode, or its URL (instagram.com/p/<code>/ or /reel/<code>/). Example: DfAWxdIFmVB.

Query parameters

NameTypeRequiredDescription
comment_idstringnoNumeric comment id (pk).
author_usernamestringno
text_containsstringno
maxintegernoMatches to return (default 5).
max_pagesintegerno

Responses

StatusMeaningSchema
200The matching comments.InstagramCommentLookup
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The account or post does not exist, or was removed.Error
429Too many requests. Wait for Retry-After seconds.Error
503Instagram is temporarily unavailable. Retryable; nothing was charged.Error

InstagramCommentLookup fields

FieldTypeDescription
commentsInstagramComment[]
pages_scannedinteger

Errors use one shape everywhere; see Errors for every code and what to do.