Your Instagram profile and follower counts
instagram.instagram.user.profileGet your Instagram professional account's profile and follower counts
- 价格
- free按供应商原价
- 成功率
- 100%近 30 天 · 1,985 次
- 延迟 p50
- 144 毫秒p95 372 毫秒
- 最后验证
- 2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/instagram.instagram.user.profile?fields=id%2Cusername%2Cname%2Cbiography%2Cwebsite%2Cprofile_picture_url%2Cfollowers_count%2Cfollows_count%2Cmedia_count预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
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
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 路径参数 | ||||
ig_user_id | 字符串 | 必填 | numeric Instagram professional account id (from /me/accounts?fields=instagram_business_account{id,username}) — not the @handle | 17841400000000000 |
| 查询参数 | ||||
fields | 字符串 | 必填 | comma-separated | id,username,name,biography,website,profile_picture_url,followers_count,follows_count,media_count |
- 路径参数
ig_user_id字符串必填numeric Instagram professional account id (from /me/accounts?fields=instagram_business_account{id,username}) — not the @handle
示例:
17841400000000000- 查询参数
fields字符串必填comma-separated
示例:
id,username,name,biography,website,profile_picture_url,followers_count,follows_count,media_count
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。