instagram/v3/location-posts
Get Instagram location-related posts Support sorting by top or latest Location ID can be obtained from search API (search_places) or post details
Input
Idle
Example output — click Run to generate your own
API README
Get location posts
Purpose:
- Get Instagram location-related posts
- Support sorting by top or latest
- Location ID can be obtained from search API (search_places) or post details Parameters:
- location_id: Location ID (numeric)
- tab: Post sort order
ranked: Top posts (default)recent: Latest posts
- first: Posts per page (default 12, max 50)
- after: Pagination cursor from previous response
page_info.end_cursor - page_size_override: Posts per page (default 12) Return:
data.sections: Post section listlayout_content.medias: Media listmedia.id: Post IDmedia.code: Post shortcodemedia.media_type: Media type (1=image, 2=video, 8=carousel)media.like_count: Likes countmedia.comment_count: Comments countmedia.caption.text: Post caption textmedia.user: Publisher info
data.next_max_id: Next page cursordata.next_page: Next page infodata.more_available: Whether has more content Price:- 0.008 USD/request
location_id = "1016248898" tab = "ranked"
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

