Your Instagram account reach and audience metrics
instagram.instagram.account.insightsGet reach, profile views and audience metrics for your Instagram account
- Price
- freeプロバイダー原価
- Success rate
- 100%Last 30 days · 4,224 calls
- Latency p50
- 291 msp95 895 ms
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/instagram.instagram.account.insights?metric=reach%2Caccounts_engaged%2Ctotal_interactions&period=day&metric_type=total_valuePreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
needs instagram_manage_insights. `impressions` and `profile_views` are RETIRED on v25 — asking for them fails the whole call; use the metric_type=total_value trio (reach, accounts_engaged, total_interactions) instead, as the test_request does. Demographic breakdowns (follower_demographics) require metric_type=total_value plus a breakdown parameter and are only returned once the account has 100+ followers
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
ig_user_id | 文字列 | 必須 | 17841400000000000 | |
| クエリパラメータ | ||||
since | 文字列 | 任意 | Unix timestamp; a single call spans at most 30 days and cannot reach back beyond 2 years | 1751328000 |
until | 文字列 | 任意 | ||
metric | 文字列 | 必須 | comma-separated | reach,accounts_engaged,total_interactions |
period | 文字列 | 必須 | day | week | days_28 | lifetime | day |
metric_type | 文字列 | 任意 | set to total_value for the newer aggregate metrics (accounts_engaged, total_interactions) | total_value |
- パスパラメータ
ig_user_id文字列必須例:
17841400000000000- クエリパラメータ
since文字列任意Unix timestamp; a single call spans at most 30 days and cannot reach back beyond 2 years
例:
1751328000until文字列任意metric文字列必須comma-separated
例:
reach,accounts_engaged,total_interactionsperiod文字列必須day | week | days_28 | lifetime
例:
daymetric_type文字列任意set to total_value for the newer aggregate metrics (accounts_engaged, total_interactions)
例:
total_value
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/instagram.instagram.account.insights?metric=reach%2Caccounts_engaged%2Ctotal_interactions&period=day&metric_type=total_value' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/instagram.instagram.account.insights?metric=reach%2Caccounts_engaged%2Ctotal_interactions&period=day&metric_type=total_value",
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.account.insights?metric=reach%2Caccounts_engaged%2Ctotal_interactions&period=day&metric_type=total_value", {
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。