instagram_search_posts
Search Instagram posts by keyword phrases to locate accounts behind captions and topics, even when unhashtagged.
Instructions
Search posts by keyword, the way the app's search results tab does.
Unlike hashtag lookup this matches captions and Instagram's own topic modelling, so it works for phrases nobody tags. Mostly useful as a way to reach the accounts behind the posts.
Args: query: The phrase to search for. amount: How many posts to fetch.
Returns: query, count and medias[]: media_id, code, url, type, taken_at, author, caption, like_count, comment_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to search for, e.g. 'amsterdam fitness coach'. | |
| amount | No | Maximum posts to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||