Your Instagram profile and follower counts
instagram.instagram.user.profileGet your Instagram professional account's profile and follower counts
- Price
- freePelo preço do provedor
- Success rate
- 100%Last 30 days · 1.985 calls
- Latency p50
- 144 msp95 372 ms
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/instagram.instagram.user.profile?fields=id%2Cusername%2Cname%2Cbiography%2Cwebsite%2Cprofile_picture_url%2Cfollowers_count%2Cfollows_count%2Cmedia_countPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
the same shape reads ANOTHER public professional account through the business_discovery edge: fields=business_discovery.username(their_handle){followers_count,media_count} on YOUR id — public metrics only, and only for professional accounts
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de caminho | ||||
ig_user_id | string | Obrigatório | numeric Instagram professional account id (from /me/accounts?fields=instagram_business_account{id,username}) — not the @handle | 17841400000000000 |
| Parâmetros de consulta | ||||
fields | string | Obrigatório | comma-separated | id,username,name,biography,website,profile_picture_url,followers_count,follows_count,media_count |
- Parâmetros de caminho
ig_user_idstringObrigatórionumeric Instagram professional account id (from /me/accounts?fields=instagram_business_account{id,username}) — not the @handle
Exemplo:
17841400000000000- Parâmetros de consulta
fieldsstringObrigatóriocomma-separated
Exemplo:
id,username,name,biography,website,profile_picture_url,followers_count,follows_count,media_count
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/instagram.instagram.user.profile?fields=id%2Cusername%2Cname%2Cbiography%2Cwebsite%2Cprofile_picture_url%2Cfollowers_count%2Cfollows_count%2Cmedia_count' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/instagram.instagram.user.profile?fields=id%2Cusername%2Cname%2Cbiography%2Cwebsite%2Cprofile_picture_url%2Cfollowers_count%2Cfollows_count%2Cmedia_count",
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.instagram.user.profile?fields=id%2Cusername%2Cname%2Cbiography%2Cwebsite%2Cprofile_picture_url%2Cfollowers_count%2Cfollows_count%2Cmedia_count", {
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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a free, incluindo a taxa de serviço.