PeumeAPI

Places & travel · Instagram

Instagram API

Scrape Instagram posts, profiles, places, and hashtags by URL or search query, no login required.

$0.001 per result + $0.0015 per call

Call it

curl https://api.peume.com/v1/call/instagram-api \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "resultsType": "posts",
    "searchType": "hashtag",
    "addParentData": false
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: instagram-api.

Parameters

directUrlsarray

Add one or more Instagram URLs to scrape. The field is optional, but you need to either use this field or search query below.

resultsTypestring

You can choose to get posts, comments or details from Instagram URLs. Comments can only be scraped from post URLs.<br>❗Please note that the stories type has been deprecated. It used to return reels data, which wasn’t aligned with its purpose. Please use reels instead.

posts · comments · details · mentions · reels · stories

Example: posts

resultsLimitinteger

How many posts or comments (max 50 comments per post) you want to scrape from each Instagram URL. If you set this to 1, you will get a single post from each page.

onlyPostsNewerThanstring

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

searchstring

Provide a search query which will be used to search Instagram for profiles, hashtags or places.

searchTypestring

What type of pages to search for (you can look for hashtags, profiles or places).

user · hashtag · place

Example: hashtag

searchLimitinteger

How many search results (hashtags, users or places) should be returned.

addParentDataboolean

Only for feed items - add data source to results, i.e. for profile posts metadata is profile, for tag posts metadata is hashtag

Example: false

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.