Dataslayer

API documentation

Every dataslayer scraper is a production Apify actor. You call one endpoint, send a JSON body and read typed records back. This page covers the whole loop.

Quickstart

01

Get a token

Create a free Apify account and copy your API token. One token works across every dataslayer scraper.

02

POST your input

Send a JSON body to the actor's run endpoint. Inputs are validated against a published schema before the run starts.

03

Read the dataset

The run writes typed records to a dataset you can fetch as JSON, CSV or Excel — or stream straight into your stack.

Authentication

Pass your token as a token query parameter or an Authorization: Bearer header. Requests without a valid token return 401.

Errors & limits

  • 401 — missing or invalid token.
  • 400 — input failed schema validation; the message names the field.
  • 429 — rate limited; back off and retry.
  • Runs are asynchronous: poll the run status, then fetch the dataset when it succeeds.
POST/v2/acts/data-slayer~instagram-post-details/run-sync-get-dataset-items
request
curl -X POST "https://api.apify.com/v2/acts/data-slayer~instagram-post-details/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "postUrls": [
      "DVEGQskiMcy"
    ],
    "postCode": ""
  }'
each result row13 fields
{
  "code": string,
  "caption": string,
  "like_count": integer,
  "comment_count": integer,
  "media_type": integer,
  "is_video": boolean,
  "product_type": string,
  "taken_at": integer,
  "thumbnail_url": string,
  "video_url": string,
  "location": object,
  "tagged_users": array,
  "mediaId": string,
}

Endpoints

Run endpoints for the most-used scrapers. Every actor follows the same/acts/{actor}/runs shape — swap the actor name for any of the 102 scrapers in the directory.

ScraperEndpointRuns · 30d
Instagram Post & Reel Details Scraperhttps://api.apify.com/v2/acts/data-slayer~instagram-post-details/runs353K
Instagram Profile Posts & Reels Scraperhttps://api.apify.com/v2/acts/data-slayer~instagram-posts/runs94.8K
Instagram Profile Scraperhttps://api.apify.com/v2/acts/data-slayer~instagram-user-info-scraper-cookieless/runs46.6K
Instagram Reels Search & Trend Discoveryhttps://api.apify.com/v2/acts/data-slayer~instagram-search-reels/runs41.8K
Instagram Stories Scraperhttps://api.apify.com/v2/acts/data-slayer~instagram-stories-scraper/runs28.7K
Instagram Profile Reels Scraperhttps://api.apify.com/v2/acts/data-slayer~instagram-profile-reels/runs23.7K
Facebook Page Search Scraperhttps://api.apify.com/v2/acts/data-slayer~facebook-search-pages/runs12.4K
LinkedIn Profile Scraperhttps://api.apify.com/v2/acts/data-slayer~linkedin-profile-scraper/runs12.1K