Public Instagram profile by username — bio, followers
serpapi.x.instagram-profilePublic Instagram profile data for a username — bio, followers, recent posts
- Price
- $0.015/successPelo preço do provedor
- Success rate
- 100%Last 30 days · 587 calls
- Latency p50
- 127 msp95 4.4 s
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.x.instagram-profile?engine=instagram_profile&profile_id=serpapicomPreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
profile fields at top level (biography, followers, posts_count); posts in an array with pagination via serpapi_pagination.next_page_token.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
engine | string | Obrigatório | instagram_profile | |
profile_id | string | Obrigatório | Instagram username | serpapicom |
next_page_token | string | Opcional | pagination cursor for posts | |
- Parâmetros de consulta
enginestringObrigatórioExemplo:
instagram_profileprofile_idstringObrigatórioInstagram username
Exemplo:
serpapicomnext_page_tokenstringOpcionalpagination cursor for posts
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.x.instagram-profile?engine=instagram_profile&profile_id=serpapicom' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/serpapi.x.instagram-profile?engine=instagram_profile&profile_id=serpapicom",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/serpapi.x.instagram-profile?engine=instagram_profile&profile_id=serpapicom", {
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 $0.015/success, incluindo a taxa de serviço.