Search

Description

This endpoint searches for Instagram users based on a query string.

Endpoint

GET api/v1/realtime/social/instagram/v1/users/search?q={keyword}

Parameters

Param
Required
Param Type
Description

q

Yes

Query Param

String | The search term used to find Instagram users.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/instagram/v1/users/search?q=wim%20hof' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "num_results": 30,
    "users": [
        {
            "pk": 1678411508,
            "pk_id": "1678411508",
            "full_name": "Wim Hof",
            "is_private": false,
            "fbid_v2": "17841400345266225",
            "third_party_downloads_enabled": 2,
            "strong_id__": "1678411508",
            "show_ig_app_switcher_badge": true,
            "id": "1678411508",
            "profile_pic_id": "1579117830469473639_1678411508",
            "profile_pic_url": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-19/20687104_373447083071014_2355263668880408576_a.jpg?stp=dst-jpg_e0_s150x150&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=110&_nc_ohc=pL6VYWrUOOoQ7kNvgFPT0SI&edm=AM7KJZYBAAAA&ccb=7-5&oh=00_AYBO1HjfIUdYxX3be1qByWC_XhjQLBp-KBRkAo-hd_jOBA&oe=66D12383&_nc_sid=8ec269",
            "username": "iceman_hof",
            "has_anonymous_profile_picture": false,
            "account_badges": [],
            "is_verified": true,
            "has_opt_eligible_shop": false,
            "show_text_post_app_badge": true,
            "friendship_status": {
                "following": false,
                "is_private": false,
                "incoming_request": false,
                "outgoing_request": false,
                "is_bestie": false,
                "is_restricted": false,
                "is_feed_favorite": false
            },
            "latest_reel_media": 0,
            "is_verified_search_boosted": false,
            "should_show_category": true
        },
        ...
    ],
    "has_more": false,
    "rank_token": "1724598620692|37393af27dc079e3ad78414e2a2c89f6267ee83834eb4e1885c3ad6fe54ac7f4",
    "clear_client_cache": false,
    "status": "ok"
}

Description

This endpoint searches for Instagram hashtag.

Endpoint

GET api/v1/realtime/social/instagram/v1/tags/search?q={keyword}

Parameters

Param
Required
Param Type
Description

q

Yes

Query Param

String | The search term or hashtag to find Instagram posts

Example Request
Example Response

Description

This endpoint searches for Instagram posts based on a location specified by latitude and longitude.

Endpoint

GET api/v1/realtime/social/instagram/v1/location_search?latitude={lat}&longitude={lon}

Parameters

Param
Required
Param Type
Description

latitude

Yes

Query Param

Float | The latitude of the location.

longitude

Yes

Query Param

Float | The longitude of the location.

search_query

No

Query Param

String | An optional search term to refine the search results.

Example Request
Example Response

Description

This endpoint performs a top search on Instagram based on a query string

Endpoint

GET api/v1/realtime/social/instagram/v1/fbsearch/top_serp?query={keyword}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term for finding top results on Instagram

next_max_id

No

Query Param

String | Send only after the first request, get the value from media_grid

next_max_id in the previous response.

reels_max_id

No

Query Param

String | Send only after the first request, get the value from media_grid. reels_max_id in the previous response.

rank_token

No

Query Param

String | Send only after the first request, get the value from media_grid.

rank_token in the previous response.

has_more_reels

No

Query Param

Boolean | Send only after the first request, get the value from media_grid.

has_more_reels in the previous response.

Example Request
Example Response

Description

This endpoint searches for Instagram accounts based on a query string

Endpoint

GET api/v1/realtime/social/instagram/v1/fbsearch/account_serp?query={keyword}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term for finding Instagram accounts.

page_token

No

Query Param

String | Send only after the first request, get the value from "page_token" in the previous response.

rank_token

No

Query Param

String | Send only after the first request, get the value from "rank_token" in the previous response.

Example Request
Example Response

Description

This endpoint searches for Instagram places based on a query string.

Endpoint

GET api/v1/realtime/social/instagram/v1/fbsearch/places?query={keyword}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term or place to find Instagram posts

Example Request
Example Response

Last updated