Skip to content
//Instagram Post Scraper example\\

Nat Geo Travel posts from the last 90 days, 5 posts

Recent posts of a travel photography profile within a date window.

Updated December 3, 2026

What this example returns

This example returns up to 5 posts.

The dataset’s “Overview” view shows 9 columns: Text, ownerFullName, Author, Post URL, Number of comments, firstComment, Number of likes, Posted on, and queryTag. See every output field.

What each setting does

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

Instagram username, profile URL, or post URL username

natgeotravel

A username, @username, profile URL, or shortcode post or reel URL. Hashtag, place, and audio URLs are rejected, as are numeric /p/ and /reel/ ids. Use the shortcode URL.

Maximum posts per profile resultsLimit

5

This is the maximum number of posts you want to scrape per profile. If you set it to 5, you'll get 5 posts for each profile you've included. This setting does not apply if you're scraping by post URLs.

Default: 20 → this example uses 5

Extract posts that are newer than onlyPostsNewerThan

90 days

Limit how far back to the history the scraper should go. The date should be in YYYY-MM-DD or full ISO absolute format or in relative format e.g. 1 days, 2 months, 3 years. All time values are taken in UTC timezone

Data detail level dataDetailLevel

Basic data

Choose the data package you want to extract. Please note the Detailed data are paid extra.

Default: Detailed data → this example uses Basic data

.json
{
  "username": [
    "natgeotravel"
  ],
  "resultsLimit": 5,
  "onlyPostsNewerThan": "90 days",
  "dataDetailLevel": "basicData"
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Postfrom $0.0002695One Instagram post saved to the dataset
  • Image downloadfrom $0.00051One photo file saved in the run's storage (only when Download images to storage is on)
  • Post detailsfrom $0.0002695Detailed data for one saved post (only when Data detail level is Detailed data)
  • Actor start$0.0006Charged once per run.

Full pricing

Other ways to run Instagram Post Scraper

All examples of Instagram Post Scraper

About Instagram Post Scraper

Scrape public Instagram posts from usernames, profile URLs, or post URLs. Get captions, hashtags, likes, comments count, media URLs, and timestamps for every post.

Price:
From $0.27 / 1,000 results
Developer:
Echofield
Category:
Social media

Instagram Post 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.