Instagram Reel
Extract Instagram Reel metadata: caption, owner, video URL, audio track, view counts, and engagement metrics.
Use the JS token
Instagram scrapers work best with your JavaScript token.
API usage
Add &scraper=instagram-reel to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.instagram.com/reels/DHq4bFpID1_/' \
--data-urlencode 'scraper=instagram-reel' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.instagram.com/reels/DHq4bFpID1_/',
{'scraper': 'instagram-reel'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.instagram.com/reels/DHq4bFpID1_/',
{ scraper: 'instagram-reel' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.instagram.com/reels/DHq4bFpID1_/', scraper: 'instagram-reel')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.instagram.com/reels/DHq4bFpID1_/Response shape
JSON response body. Field types may be null when the source page omits the value.
Reel shortcode (last segment of the URL).
Reel caption text.
Username of the Reel's author.
Direct URL to the video file.
Linked audio details:
title, artist, url.Reel view count.
Likes.
Comments.
ISO 8601 timestamp.
Sample response
{
"id": "DHq4bFpID1_",
"caption": "Behind the scenes 🎬",
"owner_username": "craft_studio",
"video_url": "https://scontent.cdninstagram.com/...mp4",
"audio": {
"title": "Original audio",
"artist": "craft_studio"
},
"view_count": 142000,
"like_count": 8432,
"comment_count": 203
}
