← すべての API を見る

Lemon8 topic API

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

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

契約サマリー(英語): Get the Lemon8 topic detail (capability lemon8.topic)

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

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

活用シーン

  • {{platform}} のハッシュタグやトピックを構造化メタデータに解決し、トレンドダッシュボードへ直結。
  • キャンペーンやイベントに関するタグ使用量と関連コンテンツ量を追跡。
  • 一貫した正規化タグで、コンテンツをアカウント横断でトピックごとにグループ化。

レスポンスフィールド

Lemon8 topic (normalized non-entity payload)

Non-entity payload (type topic) — the entity layer clean-skips it; served by the /v1/lemon8 surface.

フィールド型必須説明
idstring | null必須—
namestring | null必須—
descriptionstring | null任意—
metrics.postsinteger必須—
platform"lemon8"必須—
type"topic"必須—
fetched_atstring必須Normalization time (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/lemon8/topics/{id}
curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
  "https://api.fetchpi.com/v1/lemon8/topics/1842951234567890123"
{
  "data": {
    "id": "1666000000000001001",
    "platform": "lemon8",
    "type": "topic",
    "name": "数据开放",
    "description": "Lemon8 话题详情(按 forum_id 寻址)。",
    "metrics": {
      "posts": 8600
    },
    "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 ドキュメントにあります。

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

よくある質問

ハッシュタグやトピックは正規化されますか?

はい——レスポンススキーマはタグ ID・カウント・メタデータに安定したフィールド名を定義するため、ダッシュボード側の個別解析は不要です。

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

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

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

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

料金

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