Skip to main content
Complete guide to fetching Instagram data including user posts, comments, and hashtag searches.

Endpoints Overview


Get User Posts

Fetch posts from an Instagram user’s profile.

Basic Request

Using Numeric User ID

Instagram also accepts numeric user IDs:

With Pagination

With ML Enrichment

Parameters

Response


Get Post Comments

Fetch comments from Instagram posts. Supports multiple URL formats.

Using Full URL

Using Partial URL (without https://)

Using Shortcode Only

Mixed URL Formats

Parameters

Response


Search Hashtag Posts

Search Instagram posts by hashtags.

Single Hashtag

Multiple Hashtags with Enrichment

Parameters

Response


Python Examples

Fetch User Posts with Enrichment

Analyze Comments Sentiment