GroundsocialDocs

API · Instagram

GET /instagram/users/{username}/mentions

Instagram posts by others that mention an account.

RequestGET /v1/instagram/users/{username}/mentions
Operation idinstagram.search.mentions
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Instagram posts by others that mention an account.

Path parameters

NameTypeRequiredDescription
usernamestringyesUsername, with or without the @, or a profile URL. Example: natgeo.

Query parameters

NameTypeRequiredDescription
cursorstringnoThe previous page’s next_cursor. Omit for the first page.
include_self"true" | "false"notrue: keep the account’s own posts. One of true, false.

Responses

StatusMeaningSchema
200Posts mentioning the account.InstagramMediaList
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

InstagramMediaList fields

FieldTypeDescription
itemsInstagramMedia[]
more_availableboolean
next_cursorstring | nullPass as cursor for the next page; null on the last page.
userInstagramUserShort

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