Skip to main content

Web Search 🔎

Search for a specific user, hashtag or place.

info

As of September 2024, we no longer recommend using this method, as it now only returns a maximum of 5 users and leaves the places and hashtags arrays empty. Instead, please use the following separate methods:

Params

NameTypeDefaultDescription
query (required)stringThe search query

Usage

from rocketapi import InstagramAPI


instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.search(query="kanyewest"))

Response example

Loading...