Overview

The Instagram API Suite offers multiple types of APIs, each designed for specific data collection needs from Instagram. Below is an overview of how these APIs connect and interact, based on the available features:

The suite of APIs is designed to offer flexibility for targeted data collection, where users can input specific URLs to gather detailed post and comment data, either in bulk or with precise filtering options.

Profiles API

Collect by URL

This API allows users to collect detailed data about an Instagram profile by providing the profile URL. It provides a comprehensive overview of an Instagram profile, including business and engagement information, posts, and user details.

Input Parameters

URL
string
required

The Instagram profile URL.

Output Structure
Includes comprehensive data points:

  • Page/Profile Details:
    account, id, followers, posts_count, is_business_account, is_professional_account, is_verified, avg_engagement, profile_name, profile_url, profile_image_link, and more.

    For all data points, click here.

Posts API

Collect by URL

This API enables users to collect detailed data from Instagram posts by providing a post URL.

Input Parameters

URL
string
required

The Instagram post URL.

Output Structure
Includes comprehensive data points:

  • Post Details:
    post_id, description, hashtags, date_posted, num_comments, likes, content_type, video_view_count, video_play_count, and more.

    For all data points, click here.

  • Page/Profile Details:
    user_posted, followers, posts_count, profile_image_link, is_verified, profile_url.

    We provide a limited set of data points about the profile.

  • Attachments and Media:
    photos, videos, thumbnail, display_url (link only, not the file itself), audio.

Discover by URL

This API allows users to discover recent Instagram posts from a public profile by providing the profile URL and specifying additional parameters.

Input Parameters

URL
string
required

The Instagram profile URL.

num_of_posts
number

The number of recent posts to collect. If omitted, there is no limit.

posts_to_not_include
array

Array of post IDs to exclude from the results.

start_date
string

Start date for filtering posts in MM-DD-YYYY format (should be earlier than end_date).

end_date
string

End date for filtering posts in MM-DD-YYYY format (should be later than start_date).

post_type
string

Specify the type of posts to collect (e.g., post, reel).

Output Structure
Includes comprehensive data points:

  • Post Details: post_id, description, hashtags, date_posted, num_comments, likes, video_view_count, video_play_count,and more.

    For all data points, click here.

  • Page/Profile Details: user_posted, followers, posts_count, profile_image_link, is_verified, profile_url, is_paid_partnership, partnership_details, user_posted_id

  • Attachments and Media:
    photos, videos, thumbnail, audio, display_url, content_type, product_type, coauthor_producers, tagged_users.

This API is designed to allow for filtering, exclusion of specific posts, and collecting posts by type (regular post or reel) within a defined time frame. It provides detailed post and profile information, making it ideal for data collection and analytics.

Comments API

Collect by URL

This API allows users to collect the latest comments from a specific Instagram post by providing the post URL.

This API retrieves the most recent 10 comments along with associated metadata.

Input Parameters

URL
string
required

The Instagram post URL.

Output Structure
Includes comprehensive data points:

  • Comment Details:
    comment_id, comment_user, comment_user_url, comment_date, comment, likes_number, replies_number, replies, hashtag_comment, tagged_users_in_comment, and more.

    For all data points, click here.

  • User Details: user_name, user_id, user_url

    We provide a limited set of data points about the profile.

  • Post Metadata:
    post_url, post_user, post_id.

Reels API

Collect by URL

This API allows users to collect detailed data about Instagram reels from public profiles by providing the reel URL.

Input Parameters

URL
string
required

The Instagram reel URL.

Output Structure
Includes comprehensive data points:

  • Reel Details:
    post_id, description, hashtags, date_posted, tagged_users, num_comments, likes, views, video_play_count, length, and more.

    For all data points, click here.

  • Page/Profile Details:
    user_posted, followers, posts_count, profile_image_link, is_verified, profile_url.

    We provide a limited set of data points about the profile.

  • Attachments and Media:
    video_url, thumbnail, audio_url.

Discover by URL

This API allows users to discover Instagram Reels videos from a profile URL or direct search URL.

Input Parameters

URL
string
required

The Instagram profile or direct search URL.

num_of_posts
number

The number of recent reels to collect. If omitted, there is no limit.

posts_to_not_include
array

Array of post IDs to exclude from the results.

start_date
string

Start date for filtering reels in MM-DD-YYYY format.

end_date
string

End date for filtering reels in MM-DD-YYYY format (should be later than start_date).

Output Structure
Includes comprehensive data points:

  • Reel Details:
    post_id, description, hashtags, date_posted, num_comments, likes, views, video_play_count, top_comments, length, video_url, audio_url, content_id, and more.

    For all data points, click here.

  • Profile Details:
    user_posted, followers, posts_count, following.

  • Attachments and Media:
    video_url, thumbnail, audio_url (link only, not the file itself).

This API provides detailed information about Instagram Reels, with filtering options by date range, exclusion of specific posts, and a limit on the number of reels collected.

Was this page helpful?