# Instagram Scraper via Apify (apidojo/instagram-scraper)

> Instagram Scraper via Apify (apidojo/instagram-scraper) is a paid API for AI agents from stableapify.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Starts an Apify actor run to scrape Instagram data from profiles, tags, locations, and audio URLs, returning a run ID and dataset token for result retrieval.

## Facts

- Endpoint: POST https://stableapify.dev/api/actors/apidojo/instagram-scraper/call
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/instagram-scraper-via-apify-apidojo-instagram-scraper-baf06606
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fS2dJgcvNEIEkaYVjQN5F

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability instagram-scraper-via-apify-apidojo-instagram-scraper-baf06606 -d '<json body>'
```

Example prompt: Scrape the last 50 posts from the Instagram profile @natgeo — I need the post URLs, captions, and engagement data.

## When to prefer this

Choose this endpoint when you need fast, scalable Instagram data extraction across profiles, hashtags, locations, or audio pages without managing your own scraper infrastructure. It is ideal for agents that need to collect Instagram content programmatically and can follow up with a dataset fetch call using the returned token. Prefer this over generic web scrapers when Instagram-specific structured output (posts, captions, engagement) is required.

## Known failure modes

- Invalid or inaccessible Instagram URLs cause the actor to return empty results
- Exceeding memory limits (default 1024 MB) may cause the run to fail or timeout
- Instagram rate limiting or anti-scraping measures may reduce result completeness
- Invalid input format (missing required fields) returns an API error
- Payment failure via x402 prevents the run from starting
- Private Instagram accounts yield no data
- Token expiration before dataset retrieval causes access errors

## How this service works

Start the "🏯 Instagram Scraper (Pay Per Result)" Apify actor (apidojo/instagram-scraper). Famous for its blazing-fast speed and completeness, it offers rapid and efficient scraping of many URLs such as; location, audio, tag, and profile.  It's incre…

## Output

Returns a JSON object containing the Apify actor run details: a unique run ID, current run status (READY), the actor ID, start timestamp, total usage in USD (initially 0), a default dataset ID for fetching results, and a signed JWT token used to retrieve the scraped data from the dataset endpoint.

## Example request

```json
{
 "input": {
  "bbox": {
   "east": -73.9,
   "west": -74,
   "north": 40.8,
   "south": 40.7
  },
  "maxItems": 10,
  "listingType": "for_sale",
  "extractionMethod": "MAP_MARKERS"
 },
 "options": {
  "memory": 1024,
  "maxItems": 10
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "until": {
     "type": "string",
     "description": "Returns posts newer than this date."
    },
    "maxItems": {
     "type": "integer",
     "maximum": 9007199254740991,
     "minimum": -9007199254740991,
     "description": "Maximum number of items that you want as output."
    },
    "startUrls": {
     "type": "array",
     "items": {
      "type": "string"
     },
     "description": "Instagram URLs. Paste the URLs, and get the results immediately. User, Tag, Location, Audio, Reels and Users' Tagged URLs are supported."
    },
    "customMapFunction": {
     "type": "string",
     "description": "Function that takes each of the objects as argument and returns data that will be mapped by the function itself. This function is not intended for filtering, please don't use it for filtering purposes or you will get banned automatically."
    }
   },
   "description": "Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).",
   "additionalProperties": {}
  },
  "options": {
   "type": "object",
   "properties": {
    "build": {
     "type": "string",
     "maxLength": 100,
     "minLength": 1
    },
    "memory": {
     "type": "integer",
     "maximum": 32768,
     "minimum": 128
    },
    "maxItems": {
     "type": "integer",
     "maximum": 100000,
     "minimum": 1
    }
   },
   "description": "Optional Apify run options.",
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/instagram-scraper-via-apify-apidojo-instagram-scraper-baf06606/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableapify.dev](https://www.zero.xyz/host/stableapify.dev/llms.txt)
