Anmelden
Verwenden Sie das JS Token

Instagram-Scrapers funktionieren am besten mit Ihrem JavaScript token.

API-Nutzung

Fügen Sie &scraper=instagram-post zu einem Crawling API-Request hinzu. URL-kodieren Sie die Ziel-URL im Parameter url.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://www.instagram.com/p/B5LQhLiFFCX' \
  --data-urlencode 'scraper=instagram-post' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.instagram.com/p/B5LQhLiFFCX',
    {'scraper': 'instagram-post'}
)

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/p/B5LQhLiFFCX',
  { scraper: 'instagram-post' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.instagram.com/p/B5LQhLiFFCX', scraper: 'instagram-post')
data = JSON.parse(res.body)

Beispiel-Eingabe-URL

Die im Parameter url übergebene URL (zur besseren Lesbarkeit URL-dekodiert):

https://www.instagram.com/p/B5LQhLiFFCX

Response-Struktur

JSON-Response-Body. Feldtypen können null sein, wenn die Quellseite den Wert nicht enthält.

id
string
Post-Shortcode.
caption
string
Caption-Text.
owner_username
string
Username des Autors.
media_type
string
image, video oder carousel.
media_urls
array<string>
Direkte URLs zu Bild(ern) oder Video(s).
hashtags
array<string>
Hashtags aus der Caption.
mentions
array<string>
Mit @ erwähnte Usernames.
location
string | null
Markierter Standort.
like_count
integer
Likes.
comment_count
integer
Kommentare.
posted_at
string
ISO-8601-Zeitstempel.

Beispiel-Response

{
  "id": "B5LQhLiFFCX",
  "caption": "New product launch! #design #craft",
  "owner_username": "apple",
  "media_type": "image",
  "media_urls": ["https://scontent.cdninstagram.com/...jpg"],
  "hashtags": ["design", "craft"],
  "mentions": [],
  "like_count": 142000,
  "comment_count": 3210,
  "posted_at": "2026-04-15T14:22:00Z"
}