PeumeAPI

Social media data · Instagram

Get Instagram Post

Extract post-level metadata from Instagram profiles and post URLs.

From $0.00093 per call

Call it

curl https://api.peume.com/v1/call/get-instagram-post \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "username": [],
    "skipPinnedPosts": false,
    "includeMusicData": false,
    "dataDetailLevel": "detailedData"
  }
}'

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: get-instagram-post.

Parameters

usernameRequiredarray

Insert the username or URL of any profile you want to get posts from. You can also paste the post URLs.

resultsLimitinteger

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.

skipPinnedPostsboolean

Check if you do not want to save pinned posts.

Example: false

includeMusicDataboolean

Extract music data for Image and Carousel posts. Video posts already include music data with `Detailed data`. Available for paying users only. Upgrade to the <a href='' target='_blank' rel='noopener'>Starter plan</a> to unlock it.

Example: false

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

dataDetailLevelstring

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

basicData · detailedData

Example: detailedData

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.