Instagram post details by URL
brightdata.x.instagram-postsInstagram - Posts
- Price
- $0.0015/resultZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 201 calls
- Latency p50
- 5.1 sp95 18 s
- Last verified
- 30.07.2026Verified working
POSThttps://toolswitch.dev/v1/tools/brightdata.x.instagram-posts?format=json&dataset_id=gd_lk5ns7kz21pck8jpisPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
same generic runner as brightdata.web.scrape.structured with dataset_id fixed to this dataset (see that entry and brightdata.instagram.user.profile in the core file for the pattern). >1 minute falls back to HTTP 202 + snapshot_id — use brightdata.web.scrape.job.start for anything beyond a handful of URLs. Exact required body fields were not individually re-confirmed per dataset here; verify against the dataset's own quickstart page before high-volume use.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
format | Zeichenkette | Optional | json (default) | ndjson | csv | json |
dataset_id | Zeichenkette | Erforderlich | pinned to the documented 'Instagram - Posts' dataset | gd_lk5ns7kz21pck8jpis |
- Abfrageparameter
formatZeichenketteOptionaljson (default) | ndjson | csv
Beispiel:
jsondataset_idZeichenketteErforderlichpinned to the documented 'Instagram - Posts' dataset
Beispiel:
gd_lk5ns7kz21pck8jpis
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X POST 'https://toolswitch.dev/v1/tools/brightdata.x.instagram-posts?format=json&dataset_id=gd_lk5ns7kz21pck8jpis' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '[{"url":"https://www.instagram.com/p/DbTY2uSG3Oj/"}]'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/brightdata.x.instagram-posts?format=json&dataset_id=gd_lk5ns7kz21pck8jpis",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("[{\"url\":\"https://www.instagram.com/p/DbTY2uSG3Oj/\"}]"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/brightdata.x.instagram-posts?format=json&dataset_id=gd_lk5ns7kz21pck8jpis", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("[{\"url\":\"https://www.instagram.com/p/DbTY2uSG3Oj/\"}]")),
});
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.0015/result einschließlich Servicegebühr abgerechnet.