このエンドポイントが役立つこと
レスポンスは、選択した API 形式で、カウンターと主要な指標を含むすぐに使える タイムライン の概要を提供します。
使用に適した場面
指標のコンパクトなスナップショットが必要なダッシュボード、評価、定期レポートで「ユーザー名によるフィードの指標」を使用します。
まず結果と一般的なワークフローを確認し、次にパラメーターと動作するリクエスト例に進んでください。
レスポンスは、選択した API 形式で、カウンターと主要な指標を含むすぐに使える タイムライン の概要を提供します。
指標のコンパクトなスナップショットが必要なダッシュボード、評価、定期レポートで「ユーザー名によるフィードの指標」を使用します。
コレクション全体を読み込んで処理することなく、Instagram の主要な指標を表示します。
定期的なスナップショットを保存し、指標の推移を比較します。
集計指標をランキングや社内ルールの入力として使用します。
どちらのバージョンも同じタスクを解決し、同じパラメーターを受け付けます。切り替えを使ってレスポンス構造を比較し、クライアントが想定するバージョンを選んでください。
このページでバージョンを切り替えると、同じドキュメント URL でレスポンス構造を比較できます。
認証、必須パラメーター、リクエストの形は V1 と V2 で同じです。実際には、エンドポイントのパスを組み立てるときとレスポンスを読み取るときにバージョンを選びます。
主な違いはレスポンスのエンベロープです。新しい連携では V2 を使用し、既存のクライアント契約との互換性が必要な場合にのみ V1 を残してください。
どちらのバージョンでも、同じ API キーのヘッダーと同じクエリパラメーターを使用します。このドキュメントでは、まず共通のパラメーターを示し、次に各バージョンのパスとコードスニペットを示します。
| パラメーター | 必須 | 型 | 例 | 説明 |
|---|---|---|---|---|
username |
はい | str |
instagram |
@ を付けない公開ユーザー名。 |
エンドポイントの正確なパス、URL の例、コードスニペットをコピーするときにバージョンを選んでください。上のパラメーター一覧は変わりません。
GET /api/v2/instagram.com/timeline/user-feed-metrics-by-usernamecurl --request GET \
--url "https://www.scrapestorm.net/api/v2/instagram.com/timeline/user-feed-metrics-by-username" \
--header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
--get --data-urlencode 'username=instagram'
from urllib.parse import urljoin
import requests
BASE_URL = "https://www.scrapestorm.net"
ENDPOINT = "/api/v2/instagram.com/timeline/user-feed-metrics-by-username"
HEADERS = {"Accept": "application/json", "X-API-Key": "00000000-0000-4000-8000-000000000000"}
params = {
"username": "instagram",
}
with requests.Session() as session:
response = session.request(
method="GET",
url=urljoin(BASE_URL, ENDPOINT),
headers=HEADERS,
params=params,
timeout=30,
)
response.raise_for_status()
payload = response.json()
print(payload)
const BASE_URL = "https://www.scrapestorm.net";
const endpoint = "/api/v2/instagram.com/timeline/user-feed-metrics-by-username";
const params = new URLSearchParams({
username: "instagram",
});
const response = await fetch(`${BASE_URL}${endpoint}?${params.toString()}`, {
method: "GET",
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
if (!response.ok) {
throw new Error(`Request failed: ${response.status} ${response.statusText}`);
}
const payload = await response.json();
console.log(payload);
import axios from "axios";
const client = axios.create({
baseURL: "https://www.scrapestorm.net",
timeout: 30000,
headers: {
Accept: "application/json",
"X-API-Key": "00000000-0000-4000-8000-000000000000",
},
});
const params = {
username: "instagram",
};
const { data: payload } = await client.request({
method: "GET",
url: endpoint,
params,
});
console.log(payload);
<?php
declare(strict_types=1);
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
$client = new Client([
'base_uri' => "https://www.scrapestorm.net",
'timeout' => 30.0,
'headers' => [
'Accept' => 'application/json',
'X-API-Key' => "00000000-0000-4000-8000-000000000000",
],
]);
$query = [
"username" => "instagram",
];
try {
$response = $client->request("GET", "/api/v2/instagram.com/timeline/user-feed-metrics-by-username", [
'query' => $query,
]);
$payload = json_decode(
(string) $response->getBody(),
true,
512,
JSON_THROW_ON_ERROR
);
var_dump($payload);
} catch (GuzzleException $e) {
throw $e;
}
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"time"
)
func main() {
baseURL := "https://www.scrapestorm.net"
endpoint := "/api/v2/instagram.com/timeline/user-feed-metrics-by-username"
params := url.Values{}
params.Set("username", "instagram")
req, err := http.NewRequest(
"GET",
fmt.Sprintf("%s%s?%s", baseURL, endpoint, params.Encode()),
nil,
)
if err != nil {
panic(err)
}
req.Header.Set("Accept", "application/json")
req.Header.Set("X-API-Key", "00000000-0000-4000-8000-000000000000")
client := &http.Client{Timeout: 30 * time.Second}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
var payload any
if err := json.NewDecoder(resp.Body).Decode(&payload); err != nil {
panic(err)
}
fmt.Printf("%+v\n", payload)
}
プレビューには主要なフィールドとコレクションの最初の要素が含まれているため、レスポンスの形をすばやく確認できます。バージョンを切り替えると JSON の形式が変わります。
このコンパクトな JSON の例は、V2 の直近の成功した検証実行から取得したものです。
{
"success": true,
"status": "ok",
"search_context": {
"username": "instagram"
},
"data": {
"user": {
"user_id": "25025320",
"username": "instagram",
"name": "Instagram",
"is_verified": true,
"is_private": false,
"followers_count": 685847782,
"following_count": 260,
"media_count": 8530,
"videos_igtv_count": null,
"clips_count": null,
"highlight_reel_count": 10,
"usertags_count": null,
"description": "Discover what's new on Instagram 🔎✨",
"external_links": [
{
"url": "https://www.youtube.com/watch?v=H6G9PcvHjj4",
"label": null,
"link_type": "external"
},
{
"url": "https://open.spotify.com/episode/14Q9PGTAeZsdjOqT50hrkt?si=YkEhG7CJTvShXZ9G0BjIKQ",
"label": "Close Friends Only Podcast with J Balvin and Ryan Castro",
"link_type": "external"
}
],
"email": null,
"category_name": null,
"category_enum": null,
"business_category_name": null,
"ads_page_name": null,
"is_business_account": false,
"is_professional_account": true,
"city_name": null,
"address_street": null,
"latitude": null,
"_more_fields": "4 more fields"
},
"analytics": {
"all_posts": {
"analyzed_posts_count": 12,
"last_post_date": "2026-07-22T16:04:53+00:00",
"total_engagement": 5887752,
"avg_engagement_rate_per_post": 0.071539,
"peak_engagement_rate_per_post": 0.303599,
"avg_weighted_engagement_score": 504349.833333,
"total_engagement_rate": 0.858463,
"median_engagement_per_post": 253823.5,
"max_engagement_per_post": 2082228,
"avg_caption_length": 225,
"avg_posts_per_week": 5,
"avg_posts_per_month": 23,
"posts_count_last_7_days": 6,
"posts_count_last_30_days": 12,
"total_likes": 5723306,
"total_comments": 164446,
"total_views": 726962282,
"avg_likes_per_post": 476942,
"avg_comments_per_post": 13704,
"avg_views_per_post": 60580190,
"avg_views_per_video": 60580190,
"total_like_rate": 0.834486,
"total_comment_rate": 0.023977,
"total_view_rate": 105.994698,
"_more_fields": "7 more fields"
},
"sponsored_posts": {
"analyzed_posts_count": 0,
"total_engagement": 0,
"avg_engagement_rate_per_post": 0.0,
"peak_engagement_rate_per_post": 0.0,
"avg_weighted_engagement_score": 0.0,
"total_engagement_rate": 0.0,
"median_engagement_per_post": 0.0,
"max_engagement_per_post": 0,
"avg_caption_length": 0,
"avg_posts_per_week": 0,
"avg_posts_per_month": 0,
"posts_count_last_7_days": 0,
"posts_count_last_30_days": 0
},
"organic_posts": {
"analyzed_posts_count": 12,
"last_post_date": "2026-07-22T16:04:53+00:00",
"total_engagement": 5887752,
"avg_engagement_rate_per_post": 0.071539,
"peak_engagement_rate_per_post": 0.303599,
"avg_weighted_engagement_score": 504349.833333,
"total_engagement_rate": 0.858463,
"median_engagement_per_post": 253823.5,
"max_engagement_per_post": 2082228,
"avg_caption_length": 225,
"avg_posts_per_week": 5,
"avg_posts_per_month": 23,
"posts_count_last_7_days": 6,
"posts_count_last_30_days": 12,
"total_likes": 5723306,
"total_comments": 164446,
"total_views": 726962282,
"avg_likes_per_post": 476942,
"avg_comments_per_post": 13704,
"avg_views_per_post": 60580190,
"avg_views_per_video": 60580190,
"total_like_rate": 0.834486,
"total_comment_rate": 0.023977,
"total_view_rate": 105.994698,
"_more_fields": "7 more fields"
},
"segment_comparison": {
"sponsored_content_share": 0.0,
"organic_content_share": 100.0,
"organic_vs_sponsored_engagement_rate_gap": 0.0715,
"sponsored_to_organic_avg_engagement_ratio": 0.0
}
},
"timeline": {
"count": 12,
"items": [
{
"likes_count": 79934,
"comment_count": 5431,
"play_count": 39114567,
"is_sponsored": false,
"sponsored_detection_source": "explicit",
"sponsored_detection_confidence": "high",
"owner": {
"user_id": "25025320",
"username": "instagram",
"name": "Instagram",
"is_verified": true,
"is_private": false,
"avatar_url": "https://example.com/image.jpg"
},
"media_id": "3946975519354428264",
"created_at": "2026-07-22T16:04:53Z",
"type": "clips",
"media_type": 2,
"shortcode": "DbGeVKoSJto",
"video_duration": 35.533,
"caption": "From inspo to final take — all from her glasses 🕶️💃\n\nDancer @fujicov (Fuji) uses @raybanmeta (Ray-Ban Meta) to fuel her creative process. \n\n“The display feature makes it really…",
"emails": [],
"hashtags": [],
"is_pinned": null,
"is_edited": false,
"is_counts_hidden": false,
"is_commenting_disabled": null,
"location": {
"location_id": null,
"location_name": null,
"location_short_name": null,
"location_address": null,
"location_city": null,
"location_longitude": null,
"location_latitude": null
},
"assets": [
{
"id": "3946975519354428264",
"type": "2",
"url": "https://scontent-xxb1-1.cdninstagram.com/o1/v/t2/f2/m86/AQNoLcG9U5dgPh1xc0nzRzGhVUN2cXCdhsVsuwKXVHyHY9OswGP10BrF_v4qWUasL6vAHXVkqtwyYRv_fgBP8Dqswro60dIHuq4QT7c.mp4?_nc_cat=1&_nc_sid=5e9851&_nc_ht=scontent-xxb1-1.cdninstagram.com&_nc_ohc=JYlDsB9TgF4Q7kNvwG-TWVf&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTMyMzg2MTA3NjEzNzI3MCwiYXNzZXRfYWdlX2RheXMiOjAsInZpX3VzZWNhc2VfaWQiOjEwODg0LCJkdXJhdGlvbl9zIjozNSwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=207995ea9c2f1d47&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC81MTREMTM5MDM3NzJFMTI5MjUxNUFDQTA3QjhDMEI4Q192aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzhCNDg0NkY4RDlDMDdGNUNEQTBCMTg3OTExOUE2QUE2X2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACbs1ObS7YLaBBUCKAJDMywXQEHEOVgQYk4YEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZYiqAQA&_nc_gid=asMIbsyTN53O9zba1x0MDg&_nc_ss=7a3ba&_nc_zt=28&oh=00_AQAyrIed0W9sojTZ_Jb_javZIzqjUZ3BkIVXx3wPm3R2eQ&oe=6A63E694",
"accessibility_caption": null
}
],
"usertags": [
{
"user_id": "243085793",
"username": "fujicov",
"name": "FUJI",
"is_verified": false,
"is_private": false,
"avatar_url": "https://example.com/image.jpg"
},
{
"user_id": "52717654846",
"username": "raybanmeta",
"name": "Ray-Ban | Meta",
"is_verified": true,
"is_private": false,
"avatar_url": "https://example.com/image.jpg"
}
],
"sponsors": [
{
"user_id": "243085793",
"username": "fujicov",
"name": "FUJI",
"is_verified": false,
"is_private": false,
"followers_count": null,
"avatar_url": "https://example.com/image.jpg"
},
{
"user_id": "52717654846",
"username": "raybanmeta",
"name": "Ray-Ban | Meta",
"is_verified": true,
"is_private": false,
"followers_count": null,
"avatar_url": "https://example.com/image.jpg"
}
],
"_more_fields": "1 more fields"
},
{
"likes_count": 105231,
"comment_count": 6925,
"play_count": 53285580,
"is_sponsored": false,
"sponsored_detection_source": "explicit",
"sponsored_detection_confidence": "high",
"owner": {
"user_id": "25025320",
"username": "instagram",
"name": "Instagram",
"is_verified": true,
"is_private": false,
"avatar_url": "https://example.com/image.jpg"
},
"media_id": "3946339291940673822",
"created_at": "2026-07-21T18:59:51Z",
"type": "clips",
"media_type": 2,
"shortcode": "DbENq1rSlke",
"video_duration": 15.867,
"caption": "Folklore 🤝 fashion \n\n@kyloita (Brooke) makes fairy tale headpieces from everyday things. “I love giving discarded pieces a whole new story through eco-friendly crafting.”\n \nV…",
"emails": [],
"hashtags": [],
"is_pinned": null,
"is_edited": true,
"is_counts_hidden": false,
"is_commenting_disabled": null,
"location": {
"location_id": null,
"location_name": null,
"location_short_name": null,
"location_address": null,
"location_city": null,
"location_longitude": null,
"location_latitude": null
},
"assets": [
{
"id": "3946339291940673822",
"type": "2",
"url": "https://scontent-xxb1-1.cdninstagram.com/o1/v/t2/f2/m86/AQOnCuRjxof3Px_VhJWsCUkkVXAj2l7YVHgtcN-s4Zejrtg49h84FPR1ikvc00b_n2J0S352gvy18wLJzEsQuahKIjgngV67hsKN1y0.mp4?_nc_cat=1&_nc_sid=5e9851&_nc_ht=scontent-xxb1-1.cdninstagram.com&_nc_ohc=7mpXRoVB3owQ7kNvwGIJKWv&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTUwODM5MTcyNzcwNzA0MSwiYXNzZXRfYWdlX2RheXMiOjEsInZpX3VzZWNhc2VfaWQiOjEwMDk5LCJkdXJhdGlvbl9zIjoxNSwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=8308edb2e74d8fc8&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC9GMzQ3QjBBOEFBMjdDRkE5RTEzOEVCNzI0RjQyRkM4QV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyL0JCNDA2NkI1RTA1MkY3N0FFODgzQzY1MUJBRjdENUIzX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACbCzuWR-vetBRUCKAJDMywXQC-7ZFocrAgYEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZeadAQA&_nc_gid=asMIbsyTN53O9zba1x0MDg&_nc_ss=7a3ba&_nc_zt=28&oh=00_AQCsGkFb8E_FSiGHF-qDtkoXZ6BYTj2cJCYXhHzlPgaQ4g&oe=6A63CF34",
"accessibility_caption": null
}
],
"usertags": [
{
"user_id": "34625964849",
"username": "kyloita",
"name": "brooke",
"is_verified": false,
"is_private": false,
"avatar_url": "https://example.com/image.jpg"
}
],
"sponsors": [
{
"user_id": "34625964849",
"username": "kyloita",
"name": "brooke",
"is_verified": false,
"is_private": false,
"followers_count": null,
"avatar_url": "https://example.com/image.jpg"
}
],
"_more_fields": "1 more fields"
},
{
"_more_items": 10
}
]
}
}
}
このドキュメントを最初の判断材料とし、継続的な利用のためにエンドポイントを接続する前に、料金、プラットフォームのカバー範囲、連携ルールを確認してください。
これらの回答を参考に、この API メソッドがワークフロー、バージョンの選択、導入計画に合うかどうかを判断してください。
このメソッドは タイムライン に対して「ユーザー名によるフィードの指標」を実行します。以下のコンパクトなレスポンス例で、フィールドの正確な構造を確認できます。
新しい連携では、正規化された構造を提供する V2 を選んでください。V1 は、既にプラットフォーム固有の形式を処理しているクライアントとの互換性のためにのみ使用してください。
API キーを作成し、リクエストヘッダーで送信し、表の必須パラメーターを指定してください。コード例には、正しいパスとリクエスト構造が既に含まれています。