Add Instagram profile URLs, post URLs, or usernames to scrape posts using the lobstr.io API
Add Instagram profiles or posts as tasks to your squid. The scraper will extract posts, captions, engagement metrics, and metadata from the provided profiles or individual posts. You can provide a profile URL, a single post/reel URL, or just a username.Documentation Index
Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt
Use this file to discover all available pages before exploring further.
Token YOUR_API_KEYapplication/jsonhttps://www.instagram.com/natgeo/
https://instagram.com/username
Single Post URL:
https://www.instagram.com/p/ABC123/
Reel URL:
https://www.instagram.com/reel/ABC123/
Username only:
natgeo
cristiano
| Field | Type | Required | Description |
|---|---|---|---|
| squid | string | Yes | Hash of your squid configured with the Instagram Posts Scraper crawler |
| tasks | array | Yes | Array of task objects, each containing a url field |