Tumblr API ドキュメント

Tumblr API: ブログ — ブログ識別子による投稿の指標

オブジェクトのコレクション全体から計算することなく、Tumblr の ブログ の集計指標を取得できます。

指標のコンパクトなスナップショットが必要なダッシュボード、評価、定期レポートで「ブログ識別子による投稿の指標」を使用します。

メソッド GET
エンティティ ブログ
バージョン 1
このエンドポイントの機能

この API メソッドで構築できるもの

まず結果と一般的なワークフローを確認し、次にパラメーターと動作するリクエスト例に進んでください。

このエンドポイントが役立つこと

レスポンスは、選択した API 形式で、カウンターと主要な指標を含むすぐに使える ブログ の概要を提供します。

使用に適した場面

指標のコンパクトなスナップショットが必要なダッシュボード、評価、定期レポートで「ブログ識別子による投稿の指標」を使用します。

主なユースケース

製品ダッシュボード

コレクション全体を読み込んで処理することなく、Tumblr の主要な指標を表示します。

トレンドの監視

定期的なスナップショットを保存し、指標の推移を比較します。

オブジェクトの評価

集計指標をランキングや社内ルールの入力として使用します。

利用できるバージョン

レスポンスのバージョン

どちらのバージョンも同じタスクを解決し、同じパラメーターを受け付けます。切り替えを使ってレスポンス構造を比較し、クライアントが想定するバージョンを選んでください。

レスポンスのバージョン V2

このページでバージョンを切り替えると、同じドキュメント URL でレスポンス構造を比較できます。

V1 利用できません

共通する点

認証、必須パラメーター、リクエストの形は V1 と V2 で同じです。実際には、エンドポイントのパスを組み立てるときとレスポンスを読み取るときにバージョンを選びます。

バージョン間で異なる点

主な違いはレスポンスのエンベロープです。新しい連携では V2 を使用し、既存のクライアント契約との互換性が必要な場合にのみ V1 を残してください。

使い方

メソッドの呼び出し方

どちらのバージョンでも、同じ API キーのヘッダーと同じクエリパラメーターを使用します。このドキュメントでは、まず共通のパラメーターを示し、次に各バージョンのパスとコードスニペットを示します。

入力パラメーター

共通パラメーター
パラメーター 必須 型 例 説明
blog_identifier はい str staff Tumblr blog username or host without protocol or path. Pass `staff` or `staff.tumblr.com`, not a full URL. Example: staff.
post_type いいえ all | regular | photo | quote | link | conversation | audio | video | answer all Optional Tumblr post type filter. Use `all` for the default mixed timeline. Examples: all, photo.
tag いいえ str | None tumblr staff Optional Tumblr tag filter. Spaces are allowed, slashes and URL fragments are not. Example: tumblr staff.

バージョン別のリクエストパス

V2

エンドポイントの正確なパス、URL の例、コードスニペットをコピーするときにバージョンを選んでください。上のパラメーター一覧は変わりません。

GET /api/v2/tumblr.com/blog/post-metrics-by-blog-identifier

正規化された形式

コード例

curl --request GET \
  --url "https://www.scrapestorm.net/api/v2/tumblr.com/blog/post-metrics-by-blog-identifier" \
  --header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
  --get --data-urlencode 'blog_identifier=staff' \
  # Optional parameters:
  # --data-urlencode 'post_type=all'
  # --data-urlencode 'tag=tumblr staff'
レスポンス例

バージョン別のライブレスポンス

プレビューには主要なフィールドとコレクションの最初の要素が含まれているため、レスポンスの形をすばやく確認できます。バージョンを切り替えると JSON の形式が変わります。

レスポンス例

V2 レスポンスの JSON

検証済みの例

このコンパクトな JSON の例は、V2 の直近の成功した検証実行から取得したものです。

{
  "success": true,
  "status": "ok",
  "search_context": {
    "blog_identifier": "staff",
    "post_type": "all",
    "tag": "tumblr staff"
  },
  "data": {
    "blog": {
      "url": "https://staff.tumblr.com",
      "blog_identifier": "staff.tumblr.com",
      "uuid": null,
      "username": "staff",
      "display_name": "Tumblr Staff",
      "description": null,
      "emails": [],
      "external_links": [],
      "rss_url": "https://staff.tumblr.com/rss",
      "timezone": null,
      "is_custom_domain": false,
      "avatar_url": null,
      "avatar_urls": null
    },
    "analytics": {
      "all_posts": {
        "analyzed_posts_count": 20,
        "last_post_date": "2026-07-13T20:37:36+00:00",
        "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": 33,
        "avg_posts_per_week": 1,
        "avg_posts_per_month": 4,
        "posts_count_last_7_days": 0,
        "posts_count_last_30_days": 0,
        "total_notes": 0,
        "avg_notes_per_post": 0,
        "total_note_rate": 0.0,
        "content_format_breakdown": [
          {
            "format": "regular",
            "count": 20,
            "percentage": 100.0
          }
        ],
        "posting_time_analysis": {
          "by_day_of_week": [
            {
              "day": "Tuesday",
              "count": 6
            },
            {
              "day": "Wednesday",
              "count": 4
            },
            {
              "_more_items": 4
            }
          ],
          "by_hour_of_day": [
            {
              "hour": 16,
              "count": 6
            },
            {
              "hour": 20,
              "count": 4
            },
            {
              "_more_items": 7
            }
          ]
        },
        "top_hashtags": [
          {
            "hashtag": "1",
            "count": 2
          },
          {
            "hashtag": "20",
            "count": 2
          },
          {
            "_more_items": 6
          }
        ],
        "top_posts_by_engagement": [
          {
            "item_id": "822057428507049984",
            "post_id": "822057428507049984",
            "url": "https://staff.tumblr.com/post/822057428507049984",
            "title": "In case you’re looking for a blog that’s gone missing on Tumblr and didn’t see this recent update.",
            "text": "In case you’re looking for a blog that’s gone missing on Tumblr and didn’t see this recent update.",
            "created_at": "2026-07-13T20:37:36+00:00",
            "content_format": "regular",
            "engagement": 0,
            "is_sponsored": false,
            "sponsored_detection_source": null,
            "sponsored_detection_confidence": null
          },
          {
            "item_id": "818408523445731328",
            "post_id": "818408523445731328",
            "url": "https://staff.tumblr.com/post/818408523445731328",
            "title": "Where’s that comment?",
            "text": "Where’s that comment?",
            "created_at": "2026-06-03T13:59:49+00:00",
            "content_format": "regular",
            "engagement": 0,
            "is_sponsored": false,
            "sponsored_detection_source": null,
            "sponsored_detection_confidence": null
          },
          {
            "_more_items": 3
          }
        ],
        "engagement_by_format": [
          {
            "format": "regular",
            "count": 20,
            "total_engagement": 0,
            "avg_engagement_per_post": 0.0,
            "avg_engagement_rate_per_post": 0.0
          }
        ]
      },
      "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": 20,
        "last_post_date": "2026-07-13T20:37:36+00:00",
        "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": 33,
        "avg_posts_per_week": 1,
        "avg_posts_per_month": 4,
        "posts_count_last_7_days": 0,
        "posts_count_last_30_days": 0,
        "total_notes": 0,
        "avg_notes_per_post": 0,
        "total_note_rate": 0.0,
        "content_format_breakdown": [
          {
            "format": "regular",
            "count": 20,
            "percentage": 100.0
          }
        ],
        "posting_time_analysis": {
          "by_day_of_week": [
            {
              "day": "Tuesday",
              "count": 6
            },
            {
              "day": "Wednesday",
              "count": 4
            },
            {
              "_more_items": 4
            }
          ],
          "by_hour_of_day": [
            {
              "hour": 16,
              "count": 6
            },
            {
              "hour": 20,
              "count": 4
            },
            {
              "_more_items": 7
            }
          ]
        },
        "top_hashtags": [
          {
            "hashtag": "1",
            "count": 2
          },
          {
            "hashtag": "20",
            "count": 2
          },
          {
            "_more_items": 6
          }
        ],
        "top_posts_by_engagement": [
          {
            "item_id": "822057428507049984",
            "post_id": "822057428507049984",
            "url": "https://staff.tumblr.com/post/822057428507049984",
            "title": "In case you’re looking for a blog that’s gone missing on Tumblr and didn’t see this recent update.",
            "text": "In case you’re looking for a blog that’s gone missing on Tumblr and didn’t see this recent update.",
            "created_at": "2026-07-13T20:37:36+00:00",
            "content_format": "regular",
            "engagement": 0,
            "is_sponsored": false,
            "sponsored_detection_source": null,
            "sponsored_detection_confidence": null
          },
          {
            "item_id": "818408523445731328",
            "post_id": "818408523445731328",
            "url": "https://staff.tumblr.com/post/818408523445731328",
            "title": "Where’s that comment?",
            "text": "Where’s that comment?",
            "created_at": "2026-06-03T13:59:49+00:00",
            "content_format": "regular",
            "engagement": 0,
            "is_sponsored": false,
            "sponsored_detection_source": null,
            "sponsored_detection_confidence": null
          },
          {
            "_more_items": 3
          }
        ],
        "engagement_by_format": [
          {
            "format": "regular",
            "count": 20,
            "total_engagement": 0,
            "avg_engagement_per_post": 0.0,
            "avg_engagement_rate_per_post": 0.0
          }
        ]
      },
      "segment_comparison": {
        "sponsored_content_share": 0.0,
        "organic_content_share": 100.0,
        "organic_vs_sponsored_engagement_rate_gap": 0.0,
        "sponsored_to_organic_avg_engagement_ratio": 0.0
      }
    },
    "feed": {
      "count": 20,
      "items": [
        {
          "url": "https://staff.tumblr.com/post/822057428507049984",
          "post_id": "822057428507049984",
          "title": "In case you’re looking for a blog that’s gone missing on Tumblr and didn’t see this recent update.",
          "summary": "In case you’re looking for a blog that’s gone missing on Tumblr and didn’t see this recent update.",
          "body_html": "<p><a class=\"tumblr_blog\" href=\"https://changes.tumblr.com/post/818409292753436672/deleted-accounts-can-now-be-recovered-up-to-30\">changes</a>:</p><blockquote><h1>Deleted accoun…",
          "blog_username": "staff",
          "blog_display_name": "Tumblr Staff",
          "blog_url": "https://staff.tumblr.com",
          "published_at": "2026-07-13T20:37:36Z",
          "type": "regular",
          "tags": [
            "tumblr"
          ],
          "is_sponsored": false,
          "sponsored_detection_source": null,
          "sponsored_detection_confidence": null
        },
        {
          "url": "https://staff.tumblr.com/post/818408523445731328",
          "post_id": "818408523445731328",
          "title": "Where’s that comment?",
          "summary": "Where’s that comment?",
          "body_html": "<p><a class=\"tumblr_blog\" href=\"https://engineering.tumblr.com/post/818227557915901952/launch-day\">engineering</a>:</p><blockquote><p><a class=\"tumblr_blog\" href=\"https://engine…",
          "blog_username": "staff",
          "blog_display_name": "Tumblr Staff",
          "blog_url": "https://staff.tumblr.com",
          "published_at": "2026-06-03T13:59:49Z",
          "type": "regular",
          "tags": [
            "radical speed month",
            "rsm",
            {
              "_more_items": 3
            }
          ],
          "media": [
            {
              "url": "https://64.media.tumblr.com/b70baed40b8a42f2647f1e9727980326/bc08fda5fd4aaa10-94/s640x960/90039a62dfb3c54bf3efc7f22b072a9211196fb0.png",
              "width": 1030,
              "height": 1506,
              "media_type": "image"
            },
            {
              "url": "https://64.media.tumblr.com/1b0af89e8b0e820c96223492c467801e/bc08fda5fd4aaa10-f1/s640x960/d5303ad0839d889c1474bf2b498151e4f678ca1d.png",
              "width": 602,
              "height": 1047,
              "media_type": "image"
            },
            {
              "_more_items": 2
            }
          ],
          "is_sponsored": false,
          "sponsored_detection_source": null,
          "sponsored_detection_confidence": null
        },
        {
          "_more_items": 18
        }
      ]
    }
  }
}
次のステップ

評価を続ける

このドキュメントを最初の判断材料とし、継続的な利用のためにエンドポイントを接続する前に、料金、プラットフォームのカバー範囲、連携ルールを確認してください。

Tumblr のプラットフォームページを開く

実装の前に、関連するエンティティ、API メソッドのグループ、関連ドキュメントを比較してください。

プラットフォームページを開く

API メソッドの料金を比較する

利用を拡大する前に、公開料金表でこのメソッドの位置付けを確認してください。

料金を見る

連携ルールを確認する

入門ドキュメントで、認証、バージョン、再試行、テストと本番の違いを確認してください。

ドキュメントを開く
よくある質問

チームが実装前に尋ねる質問

これらの回答を参考に、この API メソッドがワークフロー、バージョンの選択、導入計画に合うかどうかを判断してください。

この Tumblr API メソッドはどのようなデータを返しますか?

このメソッドは ブログ に対して「ブログ識別子による投稿の指標」を実行します。以下のコンパクトなレスポンス例で、フィールドの正確な構造を確認できます。

V1 と V2 のどちらを選ぶべきですか?

新しい連携では、正規化された構造を提供する V2 を選んでください。V1 は、既にプラットフォーム固有の形式を処理しているクライアントとの互換性のためにのみ使用してください。

最初のリクエストには何が必要ですか?

API キーを作成し、リクエストヘッダーで送信し、表の必須パラメーターを指定してください。コード例には、正しいパスとリクエスト構造が既に含まれています。