Instagram Hashtag Posts Search

Searches Instagram posts by hashtag with cursor pagination. Use it to explore tagged content, monitor topics, and continue through subsequent result pages.

GET /v1/instagram/search_hashtag_posts_v1 $0.02
Price
$0.02 per successful call, Failed calls are free
Endpoint ID
instagram.search_hashtag_posts_v1

Parameters

  • hashtag string Required

    The hashtag or keyword to search for.

    Exampletravel

  • end_cursor string Optional

    Cursor used for retrieving the next page of results.

Code samples

curl -G "https://api.mofa-ai.com/v1/instagram/search_hashtag_posts_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'hashtag=travel'

Example response

Request parameters {"hashtag": "travel"}

JSON Captured 2026-11-08, took 5343 ms
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "instagram.search_hashtag_posts_v1",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": {
      "data": {
        "hashtag": {
          "id": null,
          "name": "travel",
          "is_following": null,
          "allow_following": null,
          "profile_pic_url": null,
          "is_top_media_only": null,
          "edge_hashtag_to_media": {
            "count": null,
            "edges": [
              {
                "node": {
                  "id": "3797498104006896686",
                  "owner": {
                    "id": "51584866"
                  },
                  "is_video": true,
                  "shortcode": "DSzbGfUjOwu",
                  "__typename": "GraphVideo",
                  "dimensions": {
                    "width": 720,
                    "height": 1280
                  },
                  "display_url": "https://scontent-cgk1-2.cdninstagram.com/v/t51.71878-15/608009076_1399050831938961_1956078889756104912_n.jpg?stp=dst-jpegr_e15_p480x480_tt6&_nc_cat=111&ig_cache_key=Mzc5NzQ5ODEwNDAwNjg5NjY4NjIwNzc5ODg…",
                  "product_type": "clips",
                  "edge_liked_by": {
                    "count": null
                  },
                  "thumbnail_src": "https://scontent-cgk1-2.cdninstagram.com/v/t51.71878-15/608009076_1399050831938961_1956078889756104912_n.jpg?stp=dst-jpegr_e15_p480x480_tt6&_nc_cat=111&ig_cache_key=Mzc5NzQ5ODEwNDAwNjg5NjY4NjIwNzc5ODg…",
                  "video_view_count": 75387156,
                  "comments_disabled": false,
                  "taken_at_timestamp": 1766917253,
                  "thumbnail_resources": [
                    {
                      "src": "https://scontent-cgk1-2.cdninstagram.com/v/t51.71878-15/608009076_1399050831938961_1956078889756104912_n.jpg?stp=dst-jpegr_e15_p480x480_tt6&_nc_cat=111&ig_cache_key=Mzc5NzQ5ODEwNDAwNjg5NjY4NjIwNzc5ODg…",
                      "config_width": 150,
                      "config_height": 150
                    },
                    {
                      "src": "https://scontent-cgk1-2.cdninstagram.com/v/t51.71878-15/608009076_1399050831938961_1956078889756104912_n.jpg?stp=dst-jpegr_e15_p480x480_tt6&_nc_cat=111&ig_cache_key=Mzc5NzQ5ODEwNDAwNjg5NjY4NjIwNzc5ODg…",
                      "config_width": 240,
                      "config_height": 240
                    },
                    "… +3"
                  ],
                  "accessibility_caption": null,
                  "edge_media_to_caption": {
                    "edges": []
                  },
                  "edge_media_to_comment": {
                    "count": null
                  },
                  "edge_media_preview_like": {
                    "count": null
                  }
                }
              },
              {
                "node": {
                  "id": "3820275679950397949",
                  "owner": {
                    "id": "495767729"
                  },
                  "is_video": true,
                  "shortcode": "DUEWH1_geH9",
                  "__typename": "GraphVideo",
                  "dimensions": {
                    "width": 720,
                    "height": 1280
                  },
                  "display_url": "https://scontent-cgk2-1.cdninstagram.com/v/t51.82787-15/622655306_18558097621023730_2740478560189688097_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=103&ig_cache_key=MzgyMDI3NTY3OTk1MDM5Nzk0OTE4NTU4MDk3…",
                  "product_type": "clips",
                  "edge_liked_by": {
                    "count": null
                  },
                  "thumbnail_src": "https://scontent-cgk2-1.cdninstagram.com/v/t51.82787-15/622655306_18558097621023730_2740478560189688097_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=103&ig_cache_key=MzgyMDI3NTY3OTk1MDM5Nzk0OTE4NTU4MDk3…",
                  "video_view_count": 10908319,
                  "comments_disabled": false,
                  "taken_at_timestamp": 1769632429,
                  "thumbnail_resources": [
                    {
                      "src": "https://scontent-cgk2-1.cdninstagram.com/v/t51.82787-15/622655306_18558097621023730_2740478560189688097_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=103&ig_cache_key=MzgyMDI3NTY3OTk1MDM5Nzk0OTE4NTU4MDk3…",
                      "config_width": 150,
                      "config_height": 150
                    },
                    {
                      "src": "https://scontent-cgk2-1.cdninstagram.com/v/t51.82787-15/622655306_18558097621023730_2740478560189688097_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=103&ig_cache_key=MzgyMDI3NTY3OTk1MDM5Nzk0OTE4NTU4MDk3…",
                      "config_width": 240,
                      "config_height": 240
                    },
                    "… +3"
                  ],
                  "accessibility_caption": null,
                  "edge_media_to_caption": {
                    "edges": []
                  },
                  "edge_media_to_comment": {
                    "count": null
                  },
                  "edge_media_preview_like": {
                    "count": null
                  }
                }
              },
              "… +13"
            ],
            "page_info": {
              "end_cursor": "eJwBuABH/xsBXAAa9g/csOfI+pm2s2n6h4/4r5+shGrCmMToyZHMgWu2643xjK/2iGnCpbCk6q6YuWyO9tjL+Zjnp1LEoOWwoeOn2WuWgZuCre7Hwm7OoMeQqK7E6mrK7LfBrs/47E2q9Ijhusvm8WnU36rYhOK/om+kmZ65rLyog2rY4Yaqmei39W643eekvaTbg20Y…",
              "has_next_page": null
            }
          },
          "edge_hashtag_to_top_posts": {
            "edges": []
          },
          "edge_hashtag_to_null_state": {
            "edges": []
          },
          "edge_hashtag_to_content_advisory": {
            "count": 0,
            "edges": []
          }
        }
      },
      "attempts": "1589"
    },
    "message": null,
    "requestId": "b849667a1c6d421a87dbe48f7fb21abe",
    "recordTime": "2026-11-08T08:00:07.987565043",
    "requestParams": {
      "body": null,
      "query": {
        "hashtag": "travel"
      }
    }
  }
}

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

More Instagram endpoints

  • User Profile v1

    $0.02

    Retrieves an Instagram user profile by username. Use it to review a known account before creator research, brand monitoring, or related post analysis.

    /v1/instagram/get_user_detail_v1

  • User Profile v2

    $0.02

    Retrieves an Instagram user profile by username. Use it to review a known account before creator research, brand monitoring, or related post analysis.

    /v1/instagram/get_user_detail_v2

  • Post Details

    $0.02

    Retrieves an Instagram post by its shortcode. Use it to look up a known post before content review, archiving, comment analysis, or related workflows.

    /v1/instagram/get_post_detail_v1

  • User Published Posts

    $0.02

    Retrieves posts published by an Instagram user with token-based pagination. Use it to browse a known account's post history or continue through subsequent re…

    /v1/instagram/get_user_posts_v1

  • Reels Search

    $0.02

    Searches Instagram Reels by keyword or hashtag with token-based pagination. Use it to discover short-form videos, monitor topics, and continue through matchi…

    /v1/instagram/search_reels_v1

  • Post Comment List

    $0.02

    Retrieves top-level comments for an Instagram post by shortcode, with cursor pagination and popular or newest sorting. Use it to review audience feedback or…

    /v1/instagram/get_post_comments_v1

  • Comment Reply List

    $0.02

    Retrieves replies to a specific Instagram post comment by media and comment IDs, with cursor pagination. Use it to inspect threaded discussion and continue t…

    /v1/instagram/get_comment_replies_v1

↑↓ to move, Enter to open, Esc to close