Instagram APIs
Browse public Instagram API documentation. Availability follows the live catalog.
Get started
Learn to authenticate and send requests to Instagram APIs
Quickstart →Get a token →Examples →APIMethodPathCategory
Get cities by countryGet cities/regions list of specified countryGET/api/v1/instagram/v1/fetch_citiesData→Get comment repliesGet child comments (replies) under a specific comment with paginationGET/api/v1/instagram/v1/fetch_comment_repliesComments→Get explore page sectionsGet all sections and subsections of Instagram explore pageGET/api/v1/instagram/v1/fetch_explore_sectionsData→Get posts by hashtagGet posts under specific hashtagGET/api/v1/instagram/v1/fetch_hashtag_postsContent→Get location infoGet detailed information of specified locationGET/api/v1/instagram/v1/fetch_location_infoData→Get posts by locationGet posts tagged at specified locationGET/api/v1/instagram/v1/fetch_location_postsContent→Get locations by cityGet Instagram locations list of specified cityGET/api/v1/instagram/v1/fetch_locationsData→Get posts using specific musicGet Reels and posts using specific music/audioGET/api/v1/instagram/v1/fetch_music_postsContent→Get post by IDGet single post details by IDGET/api/v1/instagram/v1/fetch_post_by_idContent→Get post by URLGet single post details by URLGET/api/v1/instagram/v1/fetch_post_by_urlContent→Get post by URL V2Get single post details by URL V2 - Data is not as complete as V1, but faster. Recommended for downloading large number of postsGET/api/v1/instagram/v1/fetch_post_by_url_v2Content→Get post comments V2Get post comments list with pagination
Returns more complete comment data including child comment previews and more metadataGET/api/v1/instagram/v1/fetch_post_comments_v2Comments→Get related profilesGet related/similar user recommendationsGET/api/v1/instagram/v1/fetch_related_profilesData→话题/地点/Search users/hashtags/placesSearch users, hashtags or places on InstagramGET/api/v1/instagram/v1/fetch_searchSearch→Get posts by sectionGet posts under specific explore sectionGET/api/v1/instagram/v1/fetch_section_postsContent→Get user about infoGet user's "About This Account" information
Contains account creation date, location, verification status and moreGET/api/v1/instagram/v1/fetch_user_about_infoAccount→Get user data by user IDGet user data by Instagram user IDGET/api/v1/instagram/v1/fetch_user_info_by_idAccount→Get user data by user ID V2Get user data by Instagram user ID with more detailsGET/api/v1/instagram/v1/fetch_user_info_by_id_v2Account→Get user data by usernameGet user data by Instagram usernameGET/api/v1/instagram/v1/fetch_user_info_by_usernameAccount→Get user data by username V2Get user data by Instagram usernameGET/api/v1/instagram/v1/fetch_user_info_by_username_v2Account→Get user data by username V3Get user data by Instagram username with more detailsGET/api/v1/instagram/v1/fetch_user_info_by_username_v3Account→Get user posts listGet user posts list with pagination supportGET/api/v1/instagram/v1/fetch_user_postsAccount→Get user posts list V2Get user posts list with paginationGET/api/v1/instagram/v1/fetch_user_posts_v2Account→Get user Reels listGet user Reels list with paginationGET/api/v1/instagram/v1/fetch_user_reelsAccount→Get user reposts listGet user reposts/shares list with paginationGET/api/v1/instagram/v1/fetch_user_repostsAccount→Get user tagged postsGet posts where this user is tagged by othersGET/api/v1/instagram/v1/fetch_user_tagged_postsAccount→Convert media ID to shortcodeConvert Instagram post media ID to shortcode
Shortcode can be used to construct post URL: instagram.com/p/{shortcode}/GET/api/v1/instagram/v1/media_id_to_shortcodeData→Convert shortcode to media IDConvert Instagram post shortcode to media ID
Shortcode is the unique identifier in post URL, e.g., DRhvwVLAHAG in instagram.com/p/DRhvwVLAHAG/GET/api/v1/instagram/v1/shortcode_to_media_idData→Get user info by user IDGet user info by Instagram user ID
Can be used to convert user ID to username and get full profileGET/api/v1/instagram/v1/user_id_to_usernameAccount→Get comment repliesGet list of replies to a comment
Need to get comment ID from fetch_post_comments first
Support paginationGET/api/v1/instagram/v2/fetch_comment_repliesComments→Get hashtag postsGet posts under specified hashtag
Support filtering by top, recent, or reels only
Support paginationGET/api/v1/instagram/v2/fetch_hashtag_postsContent→Get highlight storiesGet all stories in a specific highlight
Need to get highlight ID from fetch_user_highlights firstGET/api/v1/instagram/v2/fetch_highlight_storiesData→Get location postsGet posts at specified location
Location ID can be obtained from search_locations
Support paginationGET/api/v1/instagram/v2/fetch_location_postsContent→Get music postsGet posts using specified music
Audio ID can be obtained from post details
Support paginationGET/api/v1/instagram/v2/fetch_music_postsContent→Get post commentsGet list of comments on the post
Support sorting by recent or popular
Support paginationGET/api/v1/instagram/v2/fetch_post_commentsComments→Get post infoGet detailed information of Instagram post
Support shortcode or full URLGET/api/v1/instagram/v2/fetch_post_infoContent→Get post likesGet list of users who liked the post
Support paginationGET/api/v1/instagram/v2/fetch_post_likesContent→Get similar usersGet recommended similar users
Based on Instagram's recommendation algorithmGET/api/v1/instagram/v2/fetch_similar_usersAccount→Get user followersGet list of followers of Instagram user
Support paginationGET/api/v1/instagram/v2/fetch_user_followersAccount→Get user followingGet list of users that Instagram user is following
Support paginationGET/api/v1/instagram/v2/fetch_user_followingAccount→Get user highlightsGet Instagram user's highlights list
Highlights are saved story collectionsGET/api/v1/instagram/v2/fetch_user_highlightsAccount→Get user infoGet detailed Instagram user information
Support query by username or user IDGET/api/v1/instagram/v2/fetch_user_infoAccount→Get user postsGet list of posts published by Instagram user
Support paginationGET/api/v1/instagram/v2/fetch_user_postsAccount→Get user reelsGet list of Reels published by Instagram user
Support paginationGET/api/v1/instagram/v2/fetch_user_reelsAccount→Get user storiesGet current stories published by Instagram user
Stories expire after 24 hoursGET/api/v1/instagram/v2/fetch_user_storiesAccount→Get user tagged postsGet posts where the user is tagged by others
Support paginationGET/api/v1/instagram/v2/fetch_user_tagged_postsAccount→General searchPerform general search on Instagram by keyword
Support paginationGET/api/v1/instagram/v2/general_searchSearch→Convert media ID to shortcodeConvert Instagram post media ID to shortcode
Shortcode can be used to construct post URL: instagram.com/p/{shortcode}/GET/api/v1/instagram/v2/media_id_to_shortcodeData→Search locations by coordinatesSearch nearby Instagram locations by GPS coordinatesGET/api/v1/instagram/v2/search_by_coordinatesSearch→Search hashtagsSearch Instagram hashtags by keywordGET/api/v1/instagram/v2/search_hashtagsSearch→Search locationsSearch Instagram locations by keywordGET/api/v1/instagram/v2/search_locationsSearch→Search musicSearch available music on Instagram by keywordGET/api/v1/instagram/v2/search_musicSearch→Search reelsSearch Instagram Reels by keyword
Support paginationGET/api/v1/instagram/v2/search_reelsSearch→Search usersSearch Instagram users by keywordGET/api/v1/instagram/v2/search_usersAccount→Convert shortcode to media IDConvert Instagram post shortcode to media ID
Shortcode is the unique identifier in post URL, e.g., DRhvwVLAHAG in instagram.com/p/DRhvwVLAHAG/GET/api/v1/instagram/v2/shortcode_to_media_idData→Get user info by user IDGet user info by Instagram user ID
Can be used to convert user ID to username and get full profileGET/api/v1/instagram/v2/user_id_to_usernameAccount→Bulk translate commentsBulk translate Instagram comments
Support translating multiple comments at once for better efficiency
Comment IDs can be obtained from get_post_comments APIGET/api/v1/instagram/v3/bulk_translate_commentsComments→Extract shortcode from URLExtract shortcode from full Instagram post URL
Supports /p/, /reel/, /reels/, /tv/ URL formatsGET/api/v1/instagram/v3/extract_shortcodeData→General search (with pagination)Instagram general search API (with pagination)
Support pagination via next_max_id to fetch more search results
Returns blended results of users, hashtags, places, etcGET/api/v1/instagram/v3/general_searchSearch→回复/Get comment repliesGet Instagram comment's child comments (replies) list
Support pagination to fetch all replies
Parent comment's comment_id can be obtained from get_post_comments APIGET/api/v1/instagram/v3/get_comment_repliesComments→Get explore feedGet Instagram Explore/Discover page recommended posts
Returns personalized recommended post list
Support pagination to fetch more recommendationsGET/api/v1/instagram/v3/get_exploreData→Get hashtag postsGet posts under a hashtag, with paginationGET/api/v1/instagram/v3/get_hashtag_postsContent→Get highlight storiesGet Instagram Highlight's detailed story/post content
Returns all Stories media in the highlight collectionGET/api/v1/instagram/v3/get_highlight_storiesData→Get location infoGet Instagram location/place detail info
Including name, address, coordinates, nearby places, etc.
Location ID can be obtained from search API (search_places) or post detailsGET/api/v1/instagram/v3/get_location_infoData→Get nearby location contentGet nearby local content aggregation for a location, including nearby places and popular posts
Useful for discovering related content in a geographic areaGET/api/v1/instagram/v3/get_location_nearbyData→Get location postsGet Instagram location-related posts
Support sorting by top or latest
Location ID can be obtained from search API (search_places) or post detailsGET/api/v1/instagram/v3/get_location_postsContent→Get music (audio) postsGet Reels using a specific audio (background music), with paginationGET/api/v1/instagram/v3/get_music_postsContent→Get post commentsGet Instagram post comment list
Support pagination to fetch all comments
Support sorting by popular or newestGET/api/v1/instagram/v3/get_post_commentsComments→Get post info (media_id or URL)Get post details by media ID or post URL
Returns complete post info including images/videos, likes, comments, author info, etcGET/api/v1/instagram/v3/get_post_infoContent→Get post info by shortcodeGet post details by shortcode
Shortcode is the identifier in the post URL, e.g., DUajw4YkorV from https://www.instagram.com/p/DUajw4YkorV/
Returns complete post infoGET/api/v1/instagram/v3/get_post_info_by_codeContent→Get post likesGet list of users who liked an Instagram postGET/api/v1/instagram/v3/get_post_likesContent→Get post oEmbed infoGet Instagram post oEmbed embed info
Returns HTML code for embedding and post metadata
Suitable for embedding Instagram posts on third-party websitesGET/api/v1/instagram/v3/get_post_oembedContent→Get recommended Reels feedGet Instagram Reels recommendation feed
Support pagination to fetch more ReelsGET/api/v1/instagram/v3/get_recommended_reelsData→Get similar usersGet recommended accounts similar to the given userGET/api/v1/instagram/v3/get_similar_usersAccount→Get user about infoGet Instagram user's About This Account information
Including account creation date, location, etcGET/api/v1/instagram/v3/get_user_aboutAccount→Get user brief infoGet Instagram user brief/hover card info
Returns core user info, faster response than get_user_profile
Suitable for batch fetching user summary infoGET/api/v1/instagram/v3/get_user_briefAccount→Get user followers listGet Instagram user's followers list
Returns all accounts that follow this user
Support paginationGET/api/v1/instagram/v3/get_user_followersAccount→Get user following listGet Instagram user's following list
Returns all accounts the user follows
Support paginationGET/api/v1/instagram/v3/get_user_followingAccount→Get username change countGet the number of times an Instagram user has changed their usernameGET/api/v1/instagram/v3/get_user_former_usernamesAccount→Get user highlightsGet Instagram user's Highlights list
Returns all highlight collections created by the user
Support paginationGET/api/v1/instagram/v3/get_user_highlightsAccount→Get user ID by usernameGet Instagram user ID by username
User ID is the unique identifier used internally by Instagram, usually a numeric stringGET/api/v1/instagram/v3/get_user_id_by_usernameAccount→Get user postsGet user's post list with forward/backward paginationGET/api/v1/instagram/v3/get_user_postsAccount→Get user profileGet complete Instagram user profile information
Including basic info, statistics, recent posts, etcGET/api/v1/instagram/v3/get_user_profileAccount→Get user reelsGet Instagram user's Reels list
Support pagination to fetch all user's ReelsGET/api/v1/instagram/v3/get_user_reelsAccount→Get user storiesGet Instagram user's Stories list
Stories displayed when clicking on user's profile picture (published within 24 hours)GET/api/v1/instagram/v3/get_user_storiesAccount→Get user tagged postsGet Instagram user's tagged posts list
Posts where other users tagged this user
Support paginationGET/api/v1/instagram/v3/get_user_tagged_postsAccount→Convert media ID to shortcodeConvert numeric media_id to post shortcode
Shortcode can be used to construct post URL: instagram.com/p/{shortcode}/GET/api/v1/instagram/v3/media_id_to_shortcodeData→Search locations by coordinatesSearch nearby Instagram locations by GPS coordinatesGET/api/v1/instagram/v3/search_by_coordinatesSearch→Search hashtagsInstagram hashtag search API
Returns only hashtag search resultsGET/api/v1/instagram/v3/search_hashtagsSearch→Search usersInstagram user search API
Returns only user search resultsGET/api/v1/instagram/v3/search_usersAccount→Convert shortcode to media IDConvert post shortcode to numeric media_idGET/api/v1/instagram/v3/shortcode_to_media_idData→帖子文本/Translate comment or captionTranslate Instagram post caption
Internally forces is_caption=True, specifically for translating post captionsGET/api/v1/instagram/v3/translate_commentComments→Get user info by user IDGet Instagram user info by user ID
Inverse operation of get_user_id_by_username (ID → user info)GET/api/v1/instagram/v3/user_id_to_usernameAccount→No matching APIs
Build with confidence
Read the docs →Need help with Instagram APIs?
Read the quickstart, review examples, or explore other platforms