Skip to main content
Glama
subzeroid

hikerapi-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HIKERAPI_KEYYesYour HikerAPI access key (sent as x-access-key header)
HIKERAPI_URLNoBase URL. Default: https://api.hikerapi.com (alias https://api.instagrapi.com)
HIKERAPI_TAGSNoWhitelist: only include operations with these tags (comma-separated)
HIKERAPI_SPEC_URLNoOpenAPI spec URL. Default: ${HIKERAPI_URL}/openapi.json
HIKERAPI_TIMEOUT_MSNoPer-request timeout for API calls. Default: 30000
HIKERAPI_EXCLUDE_TAGSNoBlacklist: additional tags to exclude (on top of default Legacy,System)
HIKERAPI_MAX_SPEC_BYTESNoMax bytes read from the OpenAPI spec. Default: 8388608 (8 MB)
HIKERAPI_SPEC_TIMEOUT_MSNoTimeout for the startup spec fetch. Default: 60000
HIKERAPI_MAX_RESPONSE_BYTESNoMax bytes read from each API response. Default: 10485760 (10 MB)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_v2_fbsearch_topsearchC

[GET /v2/fbsearch/topsearch] Fbsearch Top

Search top content by keyword

get_v2_media_commentsC

[GET /v2/media/comments] Get media comments (one request return 15 comments)

Get comments on a media

get_v2_user_by_usernameA

[GET /v2/user/by/username] Get user object by username (one request required). If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

Get user object by username

get_gql_user_mediasC

[GET /gql/user/medias] Returns the user medias

Get user medias

get_v2_user_storiesC

[GET /v2/user/stories] User Stories

⚠️ Billing: 2 requests per call.

get_v2_user_by_idC

[GET /v2/user/by/id] User By Id

Get user object by id

get_v1_user_by_usernameB

[GET /v1/user/by/username] Get user object by username (one request required). If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

Get user object by username

get_v1_user_by_idC

[GET /v1/user/by/id] User By Id

Get user object by id

get_v1_user_aboutB

[GET /v1/user/about] We recommend switching to /gql/user/about

Get the "About this account" panel for a user: verified status, country of registration, date the account was created, and the list of former usernames.

get_v2_user_followersB

[GET /v2/user/followers] Get a user followers (one request required). Prefer /g2/user/followers

Get part (one page) of followers users with cursor

get_v2_user_followingC

[GET /v2/user/following] Get a user following (one request required). Prefer /g2/user/following

Get part (one page) of following users

get_gql_user_following_chunkC

[GET /gql/user/following/chunk] Get a user following (one request required)

⚠️ Billing: 2 requests per call.

get_gql_user_followers_chunkC

[GET /gql/user/followers/chunk] Get a user followers (one request required)

⚠️ Billing: 2 requests per call.

get_v2_user_clipsC

[GET /v2/user/clips] User Clips

Get user clips.

get_v1_user_medias_chunkC

[GET /v1/user/medias/chunk] User Medias Chunk

Get part of user medias with cursor

get_gql_user_repostsC

[GET /gql/user/reposts] Get user's reposted content

Get user media reposts

get_v2_user_stories_by_usernameC

[GET /v2/user/stories/by/username] If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

⚠️ Billing: 3 requests per call.

get_v2_user_tag_mediasC

[GET /v2/user/tag/medias] Get medias where user is tagged

Get usertag medias

get_v1_user_storiesC

[GET /v1/user/stories] User Stories

⚠️ Billing: 2 requests per call.

get_a2_userD

[GET /a2/user] User

Get user object

get_v2_user_highlightsC

[GET /v2/user/highlights] User Highlights

⚠️ Billing: 2 requests per call.

get_v2_user_highlights_by_usernameC

[GET /v2/user/highlights/by/username] If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

⚠️ Billing: 3 requests per call.

get_v1_user_clips_chunkB

[GET /v1/user/clips/chunk] User Clips Chunk

Get part of user clips with cursor

The response includes trial publications https://help.instagram.com/1013292530224018

Trial publications have no "reshare_count" field if you need to filter them

get_gql_user_clipsC

[GET /gql/user/clips] Returns the user's short video posts (reels).

Get user clips

get_v1_user_by_urlC

[GET /v1/user/by/url] Get user object by URL (one request required)

Get user object by URL

get_v2_userstream_by_usernameC

[GET /v2/userstream/by/username] If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

Get userstream (info) by username

get_v2_userstream_by_idB

[GET /v2/userstream/by/id] If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

Get userstream (info) by id

get_v1_user_search_followingC

[GET /v1/user/search/following] Search Following

Search users by following users

get_v1_user_search_followersC

[GET /v1/user/search/followers] Search Followers

Search users by followers

get_v1_user_following_chunkB

[GET /v1/user/following/chunk] Get a user following (one request required)

Get part (one page) of following users with cursor

get_v1_user_followers_chunkC

[GET /v1/user/followers/chunk] Get a user followers (one request required)

Get part (one page) of followers users with cursor

get_g2_user_followersC

[GET /g2/user/followers] Get a user followers (one request required)

Get part (one page) of followers users with cursor

get_g2_user_followingC

[GET /g2/user/following] Get a user following (one request required)

Get part (one page) of following users with cursor

get_v2_user_suggested_profilesB

[GET /v2/user/suggested/profiles] Fetch Suggestion Details

Fetch suggested users details by target_id.

expand_suggestion=True for more detailed response

get_v2_user_explore_businesses_by_idC

[GET /v2/user/explore/businesses/by/id] Get recommended accounts for category by user id

Get list of recommended accounts for business category of the user by his id

get_gql_user_aboutB

[GET /gql/user/about] User About

Get the "About this account" panel for a user: verified status, country of registration, date the account was created, and the list of former usernames.

get_gql_user_web_profile_infoC

[GET /gql/user/web_profile_info] Get user profile info GraphQL

Get user profile info by user id (GraphQL web_profile_info)

get_v1_user_highlightsC

[GET /v1/user/highlights] User Highlights

⚠️ Billing: 2 requests per call.

get_v1_user_highlights_by_usernameC

[GET /v1/user/highlights/by/username] If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

⚠️ Billing: 3 requests per call.

get_v1_user_medias_pinnedC

[GET /v1/user/medias/pinned] Get pinned medias

Get user medias

get_v1_user_stories_by_usernameC

[GET /v1/user/stories/by/username] If speed is crucial, it's more efficient to use the by/id endpoint for quicker responses.

Get user stories

get_v1_user_tag_medias_chunkD

[GET /v1/user/tag/medias/chunk] Usertag Medias Chunk

Get usertag medias

get_v2_media_info_by_codeB

[GET /v2/media/info/by/code] Returns 200 for found posts and 404 for unavailable or deleted posts. Other responses are not provided. Doesn't return usertags for video. Note: promoted/ad posts (product_type=ad) may return 404 — use /v2/media/by/code instead for those.

Get media object

get_v2_media_comments_repliesC

[GET /v2/media/comments/replies] Media Comments Replies

Get media comment replies with pagination by min_id

get_v2_media_likersD

[GET /v2/media/likers] Media Likers

Get user's likers

get_v1_media_by_urlD

[GET /v1/media/by/url] Attention! Use with (https://ins...ram.com/p/CA2aJYrg6cZ/)

Get media object

get_v1_media_comments_chunkC

[GET /v1/media/comments/chunk] Get media comments (one request return 15 comments)

Get comments on a media

get_v2_media_info_by_urlA

[GET /v2/media/info/by/url] Returns 200 for found posts and 404 for unavailable or deleted posts. Other responses are not provided. Doesn't return usertags for video. Attention! Use with https://ins...ram.com/p/CA2aJYrg6cZ/. Note: promoted/ad posts (product_type=ad) may return 404 — use /v2/media/by/url instead for those.

Get media object

get_v1_media_by_codeD

[GET /v1/media/by/code] Media By Code

Get media object

get_v2_media_info_by_idB

[GET /v2/media/info/by/id] Returns 200 for found posts and 404 for unavailable or deleted posts. Other responses are not provided. Doesn't return usertags for video. Note: promoted/ad posts (product_type=ad) may return 404 — use /v2/media/by/id instead for those.

Get media object

get_v1_media_likersC

[GET /v1/media/likers] Media Likers

Get user's likers

get_v1_media_insightC

[GET /v1/media/insight] Insights Media

Get media insight

get_v2_media_comment_offensiveD

[GET /v2/media/comment/offensive] Media Check Offensive Comment

Whether to receive an offensive comment

get_v1_media_oembedC

[GET /v1/media/oembed] Media Oembed

Return info about media and user from post URL

get_gql_media_usertagsC

[GET /gql/media/usertags] Returns users tagged in the video. You can pass up to 10 media ids

Returns users tagged in the video. You can pass up to 10 media ids

get_gql_media_likersB

[GET /gql/media/likers] Media Likers

Get likers on a media (paging is unavailable on this endpoint)

get_v2_media_templateD

[GET /v2/media/template] Media Template

Get media template

get_v1_media_by_idC

[GET /v1/media/by/id] Media By Id

Get media object

get_v1_media_code_from_pkC

[GET /v1/media/code/from/pk] Media Code From Pk

Get media code from pk

get_v1_media_pk_from_codeC

[GET /v1/media/pk/from/code] Media Pk From Code

Get media pk from code

get_v1_media_pk_from_urlC

[GET /v1/media/pk/from/url] Attention! Use with (https://ins...ram.com/p/CA2aJYrg6cZ/)

Get Media pk from URL

get_v1_media_userC

[GET /v1/media/user] Media User

Get author of the media

get_gql_comment_likers_chunkC

[GET /gql/comment/likers/chunk] Comment Likers Chunk

Get likers on a comment

get_v3_fbsearch_accountsD

[GET /v3/fbsearch/accounts] Fbsearch Accounts

Search accounts

get_v1_search_hashtagsD

[GET /v1/search/hashtags] Search Hashtags

Search hashtags

get_v1_search_usersB

[GET /v1/search/users] It is recommended to use /v2/search/accounts as this endpoint will soon be deprecated.

Search users

get_v2_fbsearch_reelsC

[GET /v2/fbsearch/reels] Fbsearch Reels

Search top content by keyword

get_v2_fbsearch_accountsD

[GET /v2/fbsearch/accounts] Fbsearch Accounts

Search accounts

get_v2_search_musicC

[GET /v2/search/music] Search Music

Search music

get_v2_search_hashtagsC

[GET /v2/search/hashtags] Search Hashtags

Search hashtags

get_gql_topsearchA

[GET /gql/topsearch] Topsearch

Search top content by keyword.

Returns top accounts AND top media interleaved in one stream — discriminate by __typename (XDTUserDict / XDTMediaDict).

flat=true returns flat items[] instead of stream_rows.

get_v3_fbsearch_placesC

[GET /v3/fbsearch/places] Fbsearch Places

Search places

get_v1_fbsearch_topsearchD

[GET /v1/fbsearch/topsearch] Fbsearch Topsearch

Topsearch

get_v1_fbsearch_placesD

[GET /v1/fbsearch/places] Fbsearch Places

Search locations

get_v1_search_musicD

[GET /v1/search/music] Search Music

Search music

get_v1_fbsearch_topsearch_hashtagsC

[GET /v1/fbsearch/topsearch/hashtags] Web Search Topsearch Hashtags

Search hashtags via topsearch

get_v2_fbsearch_placesD

[GET /v2/fbsearch/places] Fbsearch Places

Search places

get_v2_hashtag_medias_topC

[GET /v2/hashtag/medias/top] Hashtag Medias Top Chunk

Get hashtag chunk of top medias

get_v2_hashtag_medias_recentC

[GET /v2/hashtag/medias/recent] Hashtag Medias Recent Chunk

Get hashtag chunk of recent medias

get_v1_hashtag_medias_top_chunkC

[GET /v1/hashtag/medias/top/chunk] Hashtag Medias Top Chunk

Get hashtag chunk of top medias

get_v1_hashtag_by_nameB

[GET /v1/hashtag/by/name] Hashtag By Name

Get hashtag object by name

get_v2_hashtag_by_nameC

[GET /v2/hashtag/by/name] Hashtag By Name

Get hashtag object by name

get_v1_hashtag_medias_clips_chunkC

[GET /v1/hashtag/medias/clips/chunk] Hashtag Medias Clips Chunk

Get hashtag chunk of clips (reels)

get_v1_hashtag_medias_top_recent_chunkC

[GET /v1/hashtag/medias/top/recent/chunk] Hashtag Medias Top Recent Chunk

Get hashtag chunk of recent medias

get_v2_track_by_idC

[GET /v2/track/by/id] Track By Id

Get music track object by id

get_v2_track_stream_by_idC

[GET /v2/track/stream/by/id] Track Stream By Id

Get music track object by id

get_v2_track_by_canonical_idC

[GET /v2/track/by/canonical/id] Track By Canonical Id

Get music track object by canonical_id

get_v1_location_medias_recent_chunkC

[GET /v1/location/medias/recent/chunk] Location Medias Recent Chunk

Get location chunk of recent medias

get_v1_location_medias_recentC

[GET /v1/location/medias/recent] Location Medias Recent V1

Get location recent medias

get_v1_location_searchC

[GET /v1/location/search] Location Search

Get locations using lat and long

get_v1_location_medias_topC

[GET /v1/location/medias/top] Location Medias Top V1

Get location top medias

get_v1_location_medias_top_chunkC

[GET /v1/location/medias/top/chunk] Location Medias Top Chunk

Get location chunk of top medias

get_v1_location_by_idC

[GET /v1/location/by/id] Location By Id

Get location object by id

get_v1_location_guidesD

[GET /v1/location/guides] Location Guides V1

Get location guides

get_v2_story_by_urlC

[GET /v2/story/by/url] Attention! To work with /s/ links, call /v1/share/by/url first

Get story object by id

get_v1_story_by_urlC

[GET /v1/story/by/url] Attention! To work with /s/ links, call /v1/share/by/url first

Get story object by id

get_v1_story_by_idC

[GET /v1/story/by/id] Story By Id

Get story object by id

get_v2_story_by_idC

[GET /v2/story/by/id] Story By Id

Get story object by id

get_v1_story_downloadB

[GET /v1/story/download] Story Download

Download story media by story id

get_v1_story_download_by_urlC

[GET /v1/story/download/by/url] Download story file by URL to file

Download story file by URL to file (you can take it from "/v1/story/by/id" or "/v1/story/by/url")

Example: https://scontent-lga3-1.cdnins...ram.com/v/t66.30100-16/ 310890533_1622838408176007_5601749632271872566_n.mp4?efg=...

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/subzeroid/hikerapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server