Skip to main content
POST
Add Tasks
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.

Headers

string
required
Your API authentication token. Value: Token YOUR_API_KEY
string
required
Request body format. Value: application/json

Supported Input Formats

Profile URL: https://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

Request Body

You can use just the username without the full URL - the scraper will resolve it automatically.
When scraping a profile, all public posts will be collected. For single posts, only that specific post data is returned.
You can add up to 1000 tasks in a single request for bulk operations.
Duplicate URLs are automatically detected and won’t be added twice.

Code Examples

Response

200