Instagram

Introduction

The Instagram API allows you to access and interact with Instagram's social media content. It provides endpoints for searching users, hashtags, and locations, as well as retrieving posts, media, and more.

  • Base URL: https://api.webit.live/api/v1/realtime/social/instagram/v1

Key Endpoints

  • Search: Retrieve data by searching for users, hashtags, or locations on Instagram. This endpoint allows you to find relevant content or profiles based on specific queries.

  • Profiles: Access detailed information about Instagram user profiles, including their bio, follower count, and recent posts. This helps in obtaining user-specific data for further analysis.

  • Posts: Get details about individual posts, including media, captions, likes, and comments. This endpoint is useful for analyzing specific content and its engagement metrics.

  • Hashtags: Search for posts related to specific hashtags and retrieve information about hashtag trends and usage. This is helpful for tracking topics and trends within Instagram.

  • Locations: Find posts and information related to specific geographic locations. This endpoint allows you to explore content based on where it was created.

  • Comments: Retrieve comments on individual posts and their details. This is useful for analyzing engagement and interactions on specific posts.

Additional Information

rank_token

This parameter is a UUID version 5, and for each request that use it you should pass a newly generated UUID. If the request is of pagination type, use the same rank_token for all pagination requests.

For example, when you request the paris hashtag feed and the generated UUID is f0d8368d-85e2-54fb-73c4-2d60374295e3, all the pagination requests of paris hashtag will use the same UUID:

GET /instagram/v1/feed/tag/paris?rank_token=f0d8368d-85e2-54fb-73c4-2d60374295e3
GET /instagram/v1/feed/tag/paris?rank_token=f0d8368d-85e2-54fb-73c4-2d60374295e3&max_id=QVFCQ0ZDMUlNOEw0X3dyNGJQSXR0UVVNaU9yM2tNdzlFN2ZyMnJDY1V2VXhTemEzbTQzTmxfRTNhY3pHUlFMT0kwQ2RVMTNqSy1DRXJadm1SWW41THhQTw==
GET /instagram/v1/feed/tag/paris?rank_token=f0d8368d-85e2-54fb-73c4-2d60374295e3&max_id=...

Then, when you request for a different hashtag, let's say israel, you'll have to generate a new UUID:

GET /instagram/v1/feed/tag/israel?rank_token=35adbb92-df2c-4ec3-909e-ddaa081d2b39
GET /instagram/v1/feed/tag/israel?rank_token=35adbb92-df2c-4ec3-909e-ddaa081d2b39&max_id=...

Last updated