Instagram posts by profile, tag, search
instagramInstagram posts as JSON. Mode profile returns an account's posts, hashtag returns posts under a tag, and search or user take a keyword and scrape the best-matching hashtag or account. Send {mode, query, limit} with limit 1-20. Each post has a normalized object: caption, likes, comments_count, views, posted_at, media_type, media_url, hashtags, author, author_name, shortcode, url. No Instagram login or API key needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | profile=account's posts, hashtag=posts under a tag, search=keyword→posts, user=posts from matching users | |
| limit | No | number of posts wanted, 1 to 20 (default 5). A larger value is lowered to 20 and 0 or a negative one means the default; the quote follows the value used. | |
| query | Yes | username (profile), hashtag without #, or search keywords |