TenAPI Documentation

Hashtag Get Media

Name Type Default Description
name (required) string Hashtag name
tab string recent Tab (allowed values: recent or clips)
page int None Use for pagination
max_id string None Use for pagination

To fetch the next pages of results, you need to use the max_id and page parameters. You can extract these values from the next_max_id and next_page fields in the API response and include them in your next request.
(Both parameters are required for all requests after the first one.)


The tab parameter determines the type of content to retrieve. Its default value is recent. You can choose one of the following options:

  • recent → Latest posts

  • top → Top posts

  • clips → Short videos (Reels)

curl --request POST \
--url https://tenapi.net/api/instagram/hashtag/get_media \
--user 'tenapi_username:tenapi_password' \
--data '{
        "name": "catsofinstagram"
    }'