> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Hashtag

> Search Hashtag

Recent and top posts for a hashtag.

## Example

```bash theme={null}
curl "https://api.aisa.one/apis/v1/instagram/search/hashtag?hashtag=VALUE" \
  -H "Authorization: Bearer YOUR_API_KEY"
```


## OpenAPI

````yaml openapi/instagram.json GET /instagram/search/hashtag
openapi: 3.0.0
info:
  title: Instagram API
  description: >-
    Read public Instagram data — profiles, posts, reels, comments, transcripts,
    and search.
  version: 1.0.0
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - bearerAuth: []
paths:
  /instagram/search/hashtag:
    get:
      tags:
        - Instagram API
      summary: Search Hashtag
      description: >-
        Finds public Instagram posts for a hashtag using Google Search, then
        returns post details such as caption, play count when available, like
        count, comment count, owner, and post time. Results depend on what
        Google has indexed, so this is best-effort and not a complete
        Instagram-native hashtag search. Pass media_type=reels if you only want
        reels. Use date_posted for recent posts and pass the returned cursor to
        fetch the next page.
      operationId: get_instagram-search-hashtag
      parameters:
        - name: hashtag
          in: query
          required: true
          description: 'The hashtag to search for. Include or omit the #.'
          schema:
            type: string
          example: makeup
        - name: date_posted
          in: query
          required: false
          description: Only return Google-indexed posts found in this relative window.
          schema:
            type: string
            enum:
              - last-hour
              - last-day
              - last-week
              - last-month
              - last-year
          example: last-week
        - name: media_type
          in: query
          required: false
          description: >-
            Use all to search public posts and reels, or reels to only return
            reels. Defaults to all.
          schema:
            type: string
            enum:
              - all
              - reels
          example: all
        - name: cursor
          in: query
          required: false
          description: >-
            The cursor returned by the previous response. In this version, it is
            the next Google results page number.
          schema:
            type: string
          example: '2'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              example:
                success: true
                credits_remaining: 49997308058
                hashtag: funnydogs
                media_type: all
                posts:
                  - id: '3714950709444987377'
                    __typename: XDTGraphVideo
                    shortcode: DOOJ_zSjcnx
                    url: https://www.instagram.com/reel/DOOJ_zSjcnx/
                    caption: >-
                      Well we tried to be subtle…  #funnydogs #funny #whiteboxer
                      #australianshepherd
                    thumbnail_src: >-
                      https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/542212527_18130644664455761_8262846918103190683_n.jpg?stp=c0.509.1312.1312a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=eV6SPEh2O88Q7kNvwHcNeFx&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af6BLCF7O_laTkSuoqn5Ebg8ZWg57JkaXtBAb6nH0KapPg&oe=6A1D1BB2&_nc_sid=d885a2
                    display_url: >-
                      https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/542212527_18130644664455761_8262846918103190683_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=eV6SPEh2O88Q7kNvwHcNeFx&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af6TdnB6cfe_BkRBRYP65isRGJfDrp2evUQY9O_ReUHv2g&oe=6A1D1BB2&_nc_sid=d885a2
                    video_url: >-
                      https://scontent-ord5-2.cdninstagram.com/o1/v/t2/f2/m86/AQNG_gCzevxl8xiNB2lVRlcV8c3o3r2ZyeLeWfaY4eaHdyRX3_Z1mty2jrHuH5Z66vTC5SXrhmpdG5re9MNyf1jCtWVyPKAWQFQ037o.mp4?_nc_cat=104&_nc_sid=5e9851&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_ohc=ByTiQjuOr9wQ7kNvwGpBh0x&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTEyMDQ3OTIyMDA0MTUwMSwiYXNzZXRfYWdlX2RheXMiOjI2NCwidmlfdXNlY2FzZV9pZCI6MTAwOTksImR1cmF0aW9uX3MiOjY1LCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=638842146c84456b&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC80QTQ2OURBNUJBQTE1RjdFODZFRjQxRThCOUU1RTNBOV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYRmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC83NDQ4NjQwMTg0MjI1MjdfODI5Mjc2OTQ2ODc2ODI3MDk4OC5tcDQVAgLIARIAKAAYABsCiAd1c2Vfb2lsATEScHJvZ3Jlc3NpdmVfcmVjaXBlATEVAAAmupyc3rzE_QMVAigCQzMsF0BQbul41P30GBJkYXNoX2Jhc2VsaW5lXzFfdjERAHX-B2XmnQEA&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&_nc_ss=7a22e&_nc_zt=28&oh=00_Af6Z6PbM9b2RWG7EdCufc8MOp-pcmhJu3EMKtd_pzJaopw&oe=6A193955
                    has_audio: false
                    accessibility_caption: null
                    video_view_count: 148581
                    video_play_count: 593055
                    product_type: clips
                    video_duration: 65.733
                    clips_music_attribution_info:
                      artist_name: _layla_the_boxer
                      song_name: Original audio
                      uses_original_audio: true
                      should_mute_audio: false
                      should_mute_audio_reason: ''
                      audio_id: '1303301604923923'
                    is_video: true
                    owner:
                      id: '13582495760'
                      username: _layla_the_boxer
                      is_verified: true
                      profile_pic_url: >-
                        https://scontent-ord5-3.cdninstagram.com/v/t51.2885-19/420493539_1460561894498614_4791883467164866946_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-ord5-3.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=aeHo4Q_mApIQ7kNvwERao4Z&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af4Fxb_M04AcFcB7JVo3PYiMVir3WS0vIloaPKB0igyV_g&oe=6A1D1119&_nc_sid=d885a2
                      full_name: Layla the Boxer
                      is_private: false
                      is_unpublished: false
                      follower_count: 1369176
                      post_count: 1184
                    taken_at: '2025-09-05T12:51:42.000Z'
                    is_ad: false
                    like_count: 35854
                    is_affiliate: false
                    is_paid_partnership: false
                    location: null
                    comment_count: 1263
                    comments:
                      - id: '18099897668494530'
                        text: 😂😅🤣😍❤️🥰
                        owner:
                          id: '70821489119'
                          is_verified: false
                          profile_pic_url: >-
                            https://scontent-ord5-3.cdninstagram.com/v/t51.2885-19/466368394_545365701466258_2087161965910224562_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-ord5-3.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=JxQ38FoXdhsQ7kNvwH3PKC0&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af5bZb_HVbD8jFTK8i271c6IoeUyGR3iiKL-YVd-tFY_Yw&oe=6A1D05C8&_nc_sid=d885a2
                          username: jesshman66
                        like_count: 0
                        created_at: '2026-01-25T13:33:43.000Z'
                cursor: '2'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: AIsa API key. Get yours at https://aisa.one

````