← すべての API を見る

Bilibili profile API

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

  • 公開エンドポイント 1 件
  • GET /v1/bilibili/users/{username}

契約サマリー(英語): Get a normalized Bilibili profile (capability bilibili.profile)

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

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

活用シーン

  • 最新の {{platform}} プロフィールデータで CRM や営業リストを強化——フォロワー数、認証状態、バイオを構造化 JSON で。
  • キャンペーン前に一貫したクエリ可能なプロフィール指標でクリエイター・パートナー候補を審査。
  • 同じハンドルを再クエリして正規化フィールドを差分比較し、プロフィールの変化を追跡。

レスポンスフィールド

Bilibili Profile (normalized)

Normalized Bilibili profile — the ONLY upper-layer format; provider-private fields are dropped by the Normalizer. Serves bilibili.profile and the user lists of /v1/bilibili.

フィールド型必須説明
idstring必須Platform-stable user id (uid).
platform"bilibili"必須—
type"profile"必須—
usernamestring必須The platform addressing/display key without leading @.
display_namestring | null任意The profile display name.
descriptionstring | null任意The profile bio.
urlstring | null任意The profile/bio link.
profile_image_urlstring | null任意Avatar media URL.
verifiedboolean必須Platform verification flag.
created_atstring | null任意Account creation time, UTC RFC3339; null when the provider does not expose it.
metrics.followersinteger必須Follower count.
metrics.followinginteger必須Following count.
metrics.postsinteger必須Published post/video/article count.
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/bilibili/users/{username}
curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
  "https://api.fetchpi.com/v1/bilibili/users/newdev"
{
  "data": {
    "id": "3255000122",
    "platform": "bilibili",
    "type": "profile",
    "username": "MeshData 哔哩站",
    "display_name": "MeshData 哔哩站",
    "description": "哔哩哔哩数据开放。",
    "profile_image_url": "https://cdn.example.com/avatar/bilibili-meshdata.jpg",
    "verified": true,
    "metrics": {
      "followers": 328000,
      "following": 45,
      "posts": 388
    },
    "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 ドキュメントにあります。

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

よくある質問

Bilibili profile API は何を返しますか?

正規化されたプロフィールオブジェクト(ID・バイオ・オーディエンス項目、下記フィールドテーブル参照)に、新鮮度と課金メタデータが付きます。

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

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

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

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

料金

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