← すべての API を見る

Xigua Video post API

REST 呼び出し1回で Xigua Video の post データを取得——全プラットフォーム共通の安定した JSON スキーマに正規化。

  • 公開エンドポイント 1 件
  • GET /v1/xigua/posts/{id}

契約サマリー(英語): Get a normalized Xigua video (capability xigua.post)

正規化されたレスポンスエンティティ
xigua/post
capability
xigua.post

すべてのレスポンスには新鮮度(cache / default / live)と課金メタデータも含まれます。

活用シーン

  • 構造化された {{platform}} 投稿(本文・指標・タイムスタンプ・メディア参照)でコンテンツ分析パイプラインを稼働。
  • 原文とエンゲージメント数が必要なモデレーション・調査・モニタリングのワークフローを支えます。
  • 脆い画面スクレイピングではなく、安定した正規化 JSON で {{platform}} コンテンツをアーカイブ。

レスポンスフィールド

Xigua Video Post (normalized)

Normalized Xigua Video post — the ONLY upper-layer format; provider-private fields are dropped. Serves xigua.post and the post lists of /v1/xigua.

フィールド型必須説明
idstring必須Platform-native post id (aweme_id/photo_id/item_id/group_id per platform).
platform"xigua"必須—
type"post"必須—
author.idstring必須Author platform id.
author.usernamestring必須Author addressing key without leading @.
author.display_namestring | null必須Author display name.
author.verifiedboolean必須—
titlestring | null任意Post title (the platform carries titles beside the text).
textstring | null必須Post text (desc/caption/content; null for media-only posts).
created_atstring必須Post publish time, UTC RFC3339.
metrics.likesinteger必須Like count.
metrics.commentsinteger必須Comment count.
metrics.sharesinteger必須Share count.
metrics.viewsinteger必須Play/view count.
attachmentsobject[]任意Media attachments (max 8): photo urls and/or the video block.
fetched_atstring必須Normalization time of the stored snapshot (UTC).

フィールドの注記は契約英語の原文のまま表示されます。

レスポンスメタデータ

フィールド型必須説明
modecache | default | live必須Effective mode after merging param > max_age > source policy (D-004).
age_secondsinteger | null任意Age of served data; null when unknown.
source_layercache | db | upstream必須Which layer served the response (PRD §10).
staleboolean任意True when stale data was served under stale_if_error / SWR (D-004).
billing.amount_creditsinteger必須Micro-USD (1e-6 USD) actually charged for this request.
billing.cache_hitboolean必須—

フィールドの注記は契約英語の原文のまま表示されます。

リクエストとレスポンスの例

GET/v1/xigua/posts/{id}
curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
  "https://api.fetchpi.com/v1/xigua/posts/1842951234567890123"
{
  "data": {
    "id": "7413050000000001001",
    "platform": "xigua",
    "type": "post",
    "author": {
      "id": "7004994945115",
      "username": "meshdata_xigua",
      "display_name": "MeshData 西瓜号",
      "verified": false
    },
    "title": "西瓜视频:一条中视频",
    "text": "中视频格式的数据 API 演示。",
    "created_at": "2026-09-15T08:30:00Z",
    "metrics": {
      "likes": 5120,
      "comments": 320,
      "shares": 140,
      "views": 880000
    },
    "attachments": [
      {
        "type": "video",
        "preview_image_url": "https://cdn.example.com/cover/xigua-7413050000000001001.jpeg",
        "duration_ms": 732000
      }
    ],
    "fetched_at": "2026-09-21T09:00:00Z"
  },
  "meta": {
    "request_id": "req_01HTXQ8Z9HTQ",
    "freshness": {
      "mode": "default",
      "age_seconds": 0,
      "source_layer": "upstream",
      "stale": false
    },
    "billing": {
      "amount_credits": 100,
      "cache_hit": false
    }
  }
}

無料デモ

無料アカウントを作成して API キーを取得すれば、ブラウザ版 Playground からこのエンドポイントを呼び出せます。

Playground で試す

このエンドポイントのパラメータ表・エラーコード・レスポンスの詳細は API ドキュメントにあります。

エンドポイントリファレンスを開く

よくある質問

レスポンスにはどんなコンテンツ項目が含まれますか?

正規化されたコンテンツエンティティ(本文・投稿者・タイムスタンプ・エンゲージメント指標・メディア参照)を下記フィールド表の定義どおりに返し、新鮮度と課金メタデータも付きます。

このエンドポイントを無料で試せますか?

はい——アカウント登録後に API キーを取得すれば、コンソールの Playground から呼び出せます。

post ケイパビリティの課金は?

Data API はリクエスト単位のクレジット課金で、cache/live の新鮮度により倍率が変わります。最新のケイパビリティ別価格は料金ページをご確認ください。

料金

リクエスト単位のクレジット課金、cache/live の新鮮度オプション対応——最新価格は料金ページをご確認ください。