GroundsocialDocs

API · Instagram

GET /instagram/locations/{location_id}/posts

The top Instagram posts tagged at a place.

RequestGET /v1/instagram/locations/{location_id}/posts
Operation idinstagram.location.posts
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

The top Instagram posts tagged at a place.

Path parameters

NameTypeRequiredDescription
location_idstringyesLocation id, or its instagram.com/explore/locations/<id>/ URL. Example: 6889842.

Responses

StatusMeaningSchema
200The place and its top posts.InstagramLocationPosts
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

InstagramLocationPosts fields

FieldTypeDescription
locationInstagramLocationInfo
itemsInstagramMedia[]
more_availableboolean

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