Posts of an Instagram account
crawl4ai.instagram.user.postsThe latest posts of one Instagram account, newest first, one row per post: code, URL, caption (first 500 characters), likes, comments, time posted, kind (photo, video, reel, carousel), image, video URL, owner. `username` is the account (@name or an instagram.com URL is fine); `limit` up to 48, 12 per page. Without `session` a public account is read in 1 to 3 s; when Instagram refuses, a slower second source answers (about 100 s, billed per record). With `session` (your `sessionid` and `csrftoken` cookies from the Crawl4AI Session extension, used once, never stored) it is read as you. Columns: code, url, caption, likes, comments, taken_at, kind, image, video_url, owner.
- Price
- $0.0009/successZum Anbieterpreis
- Success rate
- 92,9 %Last 30 days · 40.287 calls
- Latency p50
- 3.7 sp95 86 s
- Last verified
- 11.10.2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.instagram.user.postsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
Dieses Tool hat keine Parameter. Siehe Anbieterdokumentation ↗ Provider docs
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.instagram.user.posts' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"username":"nasa"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.instagram.user.posts",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"username\":\"nasa\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.instagram.user.posts", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"username\":\"nasa\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.0009/success einschließlich Servicegebühr abgerechnet.