Another Instagram account's public stats by username
instagram.x.user-business-discoveryRead ANOTHER public professional account's followers, media count and recent posts
- Price
- freeZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 34 calls
- Latency p50
- 198 msp95 1.2 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/instagram.x.user-business-discoveryPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Pfadparameter | ||||
ig_user_id | Zeichenkette | Erforderlich | your Page-linked Instagram Business account id discovered by Facebook Page tools; not the Facebook Page id or Instagram Login /me user_id | 17841400000000000 |
| Abfrageparameter | ||||
fields | Zeichenkette | Erforderlich | business_discovery expression containing another public Business or Creator username without @ and the fields to return | business_discovery.username(instagram){id,username,followers_count,media_count,media.limit(5){id,caption,media_type,permalink,timestamp}} |
- Pfadparameter
ig_user_idZeichenketteErforderlichyour Page-linked Instagram Business account id discovered by Facebook Page tools; not the Facebook Page id or Instagram Login /me user_id
Beispiel:
17841400000000000- Abfrageparameter
fieldsZeichenketteErforderlichbusiness_discovery expression containing another public Business or Creator username without @ and the fields to return
Beispiel:
business_discovery.username(instagram){id,username,followers_count,media_count,media.limit(5){id,caption,media_type,permalink,timestamp}}
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X GET 'https://toolswitch.dev/v1/tools/instagram.x.user-business-discovery' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/instagram.x.user-business-discovery",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/instagram.x.user-business-discovery", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
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 free einschließlich Servicegebühr abgerechnet.