PeumeAPI

Social media data · Instagram

Instagram location posts by location id

Instagram: fetch location posts (v1)

$0.0015 per callBackup source if the first one failsUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/instagram-location-posts-by-location-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "location_id": "703457703",
    "tab": "ranked"
  }
}'

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-location-posts-by-location-id.

Parameters

location_idRequiredstring

Location ID

Example: 703457703

tabstring

Sorting: ranked(top)/recent(latest)

Example: ranked

end_cursorstring

Pagination cursor for next page

Other ways to do it

Same job, other sources, cheapest first.

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.