Skip to content
//Instagram Scraper example\\

Travel hashtag and its top posts

Posts found through a hashtag search.

Updated December 3, 2026

What this example returns

This example returns up to 5 results.

The dataset’s “Hashtags” view shows 6 columns: Name, Posts, URL, ID, Search source, and Input URL. See every output field.

What each setting does

The input this example runs Instagram Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Content to scrape resultsType

Posts

One results type per run. Posts returns a feed. Details returns the metadata object for the URL. Comments works with post and reel URLs, and with profile, hashtag, place or audio URLs: those return the comments of their latest posts (see Posts to read comments from).

Search query search

travel

Used only when directUrls is empty. Comma-separate multiple terms. Hashtags may include #; usernames may include @. A hashtag search returns the posts tagged with the hashtags it finds.

Results limit per URL or hashtag resultsLimit

5

How many posts, reels, or comments to return per URL, and per hashtag found by a hashtag search. In Comments mode the limit is per post: comments are read page after page until this many or the post's last comment, and a profile, hashtag, place or audio URL returns up to this many comments from each of its latest…

Default: 20 → this example uses 5

Search type searchType

Hashtag

Hashtag: finds up to Search results limit hashtags matching each term and returns each one's posts, exactly as its hashtag URL would: Posts and Reels return up to Results limit per URL or hashtag for every hashtag found, Comments the comments of its latest posts, and Details one row of metadata per hashtag. Profile:…

Search results limit searchLimit

1

How many hashtags to find per search term. Each hashtag found then returns up to Results limit per URL or hashtag posts or reels, so a search can return up to Search results limit × Results limit rows per term. Instagram returns one list of matches per term, so you may get fewer hashtags. Profile search returns at…

Default: 10 → this example uses 1

.json
{
  "resultsType": "posts",
  "search": "travel",
  "searchType": "hashtag",
  "searchLimit": 1,
  "resultsLimit": 5,
  "directUrls": []
}

What it costs

From about $0.0034 for 5 results

An estimate at the lowest plan price: 5 × $0.0006872 per result (One saved Instagram result: a post, reel, comment, profile, hashtag or place). A run is charged for the events it reports, so one that finds fewer results costs less. Platform usage is included in the event price.

Full pricing

Other ways to run Instagram Scraper

All examples of Instagram Scraper

About Instagram Scraper

Scrape public Instagram profiles, posts, reels, comments, hashtags, and places. Get captions, likes, comments, media URLs, and owner details without logging in.

Price:
From $0.687 / 1,000 results
Developer:
Echofield

Instagram Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.