# Instagram V2 API

> Retrieve public Instagram posts, reels, stories, highlights, profiles, comments, likes, and hashtag media. Search accounts, posts, and reels by keyword.

Page: https://docs.toolzerhub.com/reference/instagram-v2

## Hashtag

Retrieve public Instagram posts, reels, stories, highlights, profiles, comments, likes, and hashtag media. Search accounts, posts, and reels by keyword.

- [List Instagram hashtag media](https://docs.toolzerhub.com/reference/instagram-v2/hashtag/get-hashtag-media-v2.md): `GET /v2/instagram/hashtag/media`. Returns media for a public Instagram hashtag, from the recent or top tab. Pass max_id from next_max_id for the next page, or next_page for the top tab.

## Media

Retrieve public Instagram posts, reels, stories, highlights, profiles, comments, likes, and hashtag media. Search accounts, posts, and reels by keyword.

- [Get Instagram media (retired)](https://docs.toolzerhub.com/reference/instagram-v2/media/get-media-info-web-v2.md): `GET /v2/instagram/media/info/web`. Retired: always returns 410 and is not charged. Use /media/info for media details and /media/comments for comments.
- [Get Instagram post or reel details](https://docs.toolzerhub.com/reference/instagram-v2/media/get-media-info-v2.md): `GET /v2/instagram/media/info`. Returns the details of one public Instagram post or reel: owner, caption, like_count, comment_count and media. code takes a shortcode, a numeric media ID or the post URL.
- [List Instagram post comments](https://docs.toolzerhub.com/reference/instagram-v2/media/get-media-comments-v2.md): `GET /v2/instagram/media/comments`. Returns comments on a public Instagram post or reel, identified by code. sort_type picks popular, recent or verified order. Pass pagination_token from the previous response for the next page.
- [List Instagram post likes](https://docs.toolzerhub.com/reference/instagram-v2/media/get-media-likes-v2.md): `GET /v2/instagram/media/likes`. Returns accounts that liked a public Instagram post or reel, identified by code, with user_count. The route takes no pagination input.

## Search

Retrieve public Instagram posts, reels, stories, highlights, profiles, comments, likes, and hashtag media. Search accounts, posts, and reels by keyword.

- [Search Instagram posts by keyword](https://docs.toolzerhub.com/reference/instagram-v2/search/get-posts-by-keyword-v2.md): `GET /v2/instagram/search/posts`. Returns public Instagram posts that match keyword. Pass pagination_token from the previous response for the next page; has_more is false on the last page.
- [Search Instagram reels by keyword](https://docs.toolzerhub.com/reference/instagram-v2/search/get-reels-by-keyword-v2.md): `GET /v2/instagram/search/reels`. Returns public Instagram reels that match keyword in reels_serp_modules. Pass reels_max_id from the previous response for the next page.
- [Search Instagram users by keyword](https://docs.toolzerhub.com/reference/instagram-v2/search/search-users-v2.md): `GET /v2/instagram/search/users`. Returns public Instagram accounts that match keyword, each with its rank in position and a user object.

## User

Retrieve public Instagram posts, reels, stories, highlights, profiles, comments, likes, and hashtag media. Search accounts, posts, and reels by keyword.

- [Get Instagram highlight stories](https://docs.toolzerhub.com/reference/instagram-v2/user/get-highlight-details-v2.md): `GET /v2/instagram/highlight/stories`. Returns the media items in one Instagram highlight reel, with its title and media_count. highlight_id comes from the id of a user highlights result.
- [List accounts an Instagram user follows](https://docs.toolzerhub.com/reference/instagram-v2/user/get-user-following-v2.md): `GET /v2/instagram/user/following`. Returns accounts that a public Instagram profile follows, identified by username_or_id, with total_followings. Pass max_id from the previous response's next_max_id for the next page.
- [List Instagram tagged posts](https://docs.toolzerhub.com/reference/instagram-v2/user/get-user-tagged-posts-v2.md): `GET /v2/instagram/user/tagged-posts`. Returns posts that tag a public Instagram profile, identified by username_or_id, with total_count. Pass max_id from the previous response's next_max_id for the next page.
- [List Instagram user followers](https://docs.toolzerhub.com/reference/instagram-v2/user/get-user-followers-v2.md): `GET /v2/instagram/user/followers`. Returns accounts that follow a public Instagram profile, identified by username_or_id, with the total in count. Pass end_cursor from the previous response's page_info.end_cursor for the next page.
- [List Instagram user highlights](https://docs.toolzerhub.com/reference/instagram-v2/user/get-user-highlights-v2.md): `GET /v2/instagram/user/highlights`. Returns the highlight reels pinned to a public Instagram profile, identified by username_or_id, with each highlight's id, title and cover. Pass an id to the highlight stories route for its media.
- [List Instagram user posts](https://docs.toolzerhub.com/reference/instagram-v2/user/get-user-posts-v2.md): `GET /v2/instagram/user/posts`. Returns recent posts from a public Instagram profile, identified by username_or_id. count sets the page size. Pass max_id from the previous response's next_max_id for the next page.
- [List Instagram user reels](https://docs.toolzerhub.com/reference/instagram-v2/user/get-user-reels-v2.md): `GET /v2/instagram/user/reels`. Returns reels from a public Instagram profile, identified by username_or_id. Pass max_id from the previous response's paging_info.max_id for the next page.
- [List Instagram user stories](https://docs.toolzerhub.com/reference/instagram-v2/user/get-user-stories-v2.md): `GET /v2/instagram/user/stories`. Returns the stories currently live on a public Instagram profile, identified by username_or_id.
- [List similar Instagram users](https://docs.toolzerhub.com/reference/instagram-v2/user/get-similar-users-v2.md): `GET /v2/instagram/user/similar`. Returns accounts that Instagram suggests as similar to a public profile, identified by username_or_id. The response is a single list in users and is not paginated.
