QQ 互選クリエイターマーケットプレイス 動画アカウント作成者検索 API (V1)
APIの健康状態
正常 利用可能 限られた数 ほとんど利用できない データなし
健康状態を読み込んでいます...
オプションのニックネームキーワードを使用して、QQ Huxuanビデオアカウントの作成者を検索またはブラウズします。ページ数のページネリングを使用して、Tencent Huxuanキャンペーン計画のビデオ作成者を発見し、短リストします。
パラメータ
| 名前 | パラメーターの場所 | タイプ | 必須 | デフォルト | 説明 |
|---|---|---|---|---|---|
token |
query | string |
はい | - | ユーザー認証トークン。 |
keyword |
query | string |
いいえ | |
クリエイターのニックネームキーワード。空欄のままにしておくと、デフォルトのマーケットリストを閲覧できます。 |
page |
query | integer |
いいえ | 1 |
ページ番号。最初のページは1です。 |
コードサンプル
bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY'
text
私はJustOneAPIの"動画アカウント作成者検索 (V1)" APIを使用したいです。
基本URL: https://api.justoneapi.com.
APIパス: /api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY
APIエンドポイント: BASE_URL + /api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY
HTTPメソッド: GET
認証: "token"クエリパラメーターをURLに追加します。
OpenAPI定義: https://docs.justoneapi.com/openapi/qq-huxuan-creator-marketplace/video-account-creator-search-v1-ja.json
パラメーター:
- token (query): ユーザー認証トークン。 (必須)
- keyword (query): クリエイターのニックネームキーワード。空欄のままにしておくと、デフォルトのマーケットリストを閲覧できます。
- page (query): ページ番号。最初のページは1です。
返信形式:実際のContent-Typeに応じて、JSONまたはテキストを安全に処理する。
レスポンスの処理とエラーコード:
1. API の処理結果はレスポンス本文の「code」フィールドで判定します。code が 0 なら成功です。
2. 推奨タイムアウト:リクエストのタイムアウトは 120 秒に設定してください。120 秒が長すぎる場合でも、最低 60 秒を確保してください。一部のリクエストは、結果を受け取る前にタイムアウトすることがあります。
3. 処理結果コード:
- 0: 成功
- 100: 無効または停止中のトークン
- 301: データの取得に失敗しました。再試行してください。
- 302: 呼び出し頻度の上限を超えました
- 303: 日次の利用上限を超えました
- 400: パラメーターが無効です
- 500: サーバー内部エラー
- 600: アクセス権限がありません
- 601: 残高不足
- 602: トークンの予算上限に達しました
4. コード 601 はアカウントの共有残高不足を示します。コード 602 は使用中の API トークン固有の累積予算上限に達したことを示します。トークンに予算上限を設定しても、共有残高から資金が移動することはありません。
お手伝いください。私が好むプログラミング言語でこのAPIを呼び出し、レスポンスを処理するスクリプトを作成してください。
python
import requests
BASE_URL = "https://api.justoneapi.com" # オープンAPIサーバーによって提供される
url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
content_type = response.headers.get("content-type", "").lower()
if "json" in content_type:
try:
print(response.json())
except ValueError:
print(response.text)
elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
print(response.text)
else:
with open("response.bin", "wb") as output:
output.write(response.content)
print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // オープンAPIサーバーによって提供される
const url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY";
const response = await fetch(url, {
method: "GET",
signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
const contentType = (response.headers.get("content-type") || "").toLowerCase();
const mediaType = contentType.split(";", 1)[0].trim();
const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
if (textual) {
const responseText = new TextDecoder().decode(responseBytes);
let data = responseText;
if (contentType.includes("json")) {
try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
}
console.log(data);
} else {
console.log(`Received ${responseBytes.byteLength} binary bytes`);
}
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
public class Main {
public static void main(String[] args) throws Exception {
final String BASE_URL = "https://api.justoneapi.com"; // オープンAPIサーバーによって提供される
final String url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY";
HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
HttpRequest.Builder builder = HttpRequest.newBuilder()
.uri(URI.create(url))
.timeout(Duration.ofSeconds(120))
.method("GET", HttpRequest.BodyPublishers.noBody());
HttpRequest request = builder.build();
HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
System.out.println(response.statusCode());
String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
String mediaType = contentType.split(";", 2)[0].trim();
if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
System.out.println(new String(response.body(), StandardCharsets.UTF_8));
} else {
Files.write(Path.of("response.bin"), response.body());
System.out.println("Saved " + response.body().length + " bytes to response.bin");
}
}
}
go
package main
import (
"fmt"
"io"
"os"
"strings"
"net/http"
"time"
)
const BASE_URL = "https://api.justoneapi.com" // オープンAPIサーバーによって提供される
func main() {
client := &http.Client{Timeout: 120 * time.Second}
url := BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY"
req, _ := http.NewRequest("GET", url, nil)
resp, _ := client.Do(req)
defer resp.Body.Close()
fmt.Println(resp.StatusCode)
bodyBytes, _ := io.ReadAll(resp.Body)
contentType := strings.ToLower(resp.Header.Get("Content-Type"))
mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
fmt.Println(string(bodyBytes))
} else {
os.WriteFile("response.bin", bodyBytes, 0600)
fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // オープンAPIサーバーによって提供される
$url = $BASE_URL . '/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/search/v1?token=YOUR_API_KEY';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
echo $response;
} else {
file_put_contents('response.bin', $response);
echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
レスポンスフィールド
成功したレスポンスのキーフィールド(code = 0)。
結果とページング4 項目
data
| フィールド | タイプ | 説明 |
|---|---|---|
total_num |
integer |
検索結果の作成者総数です。 |
ret |
integer |
検索ペイロード内に返されるステータスコードです。 |
msg |
string |
検索ペイロード内に返されるステータスメッセージです。 |
item |
array |
要求されたページのビデオアカウントの作成者です。 |
クリエイターのプロフィール16 項目
data.item[]
| フィールド | タイプ | 説明 |
|---|---|---|
appid |
string |
ビデオアカウントの作成者アプリID。作成者詳細や最新ビデオのappIdとして使用します。 |
nickname |
string |
ビデオアカウントの作成者の公開表示名です。 |
avatar |
string |
クリエイターの公開アバターのURL。 |
synopsis |
string |
公開プロフィール説明で、空でも構いません。 |
city_label |
string |
作成者に対して返される都市または地域ラベルです。 |
auth_company |
string |
作成者のアカウント検証に対して返される会社ラベルです。 |
auth_profession |
string |
作成者のアカウント検証に対して返される職業ラベルです。 |
identity_type |
string |
報告された作成者アイデンティティタイプラベルです。 |
identity_level1 |
string |
主要な作成者アイデンティティカテゴリラベルです。 |
identity_level2 |
string |
二次的な作成者アイデンティティカテゴリラベルです。 |
mcn_name |
string |
返される場合の作成者のMCNエージェント名です。 |
category_level1 |
integer |
クリエイターが報告した主要カテゴリID。 |
category_level2 |
integer |
クリエイターが報告した副次カテゴリID。 |
mcn_id |
integer |
クリエイターのMCNエージェントのID。 |
tags |
array |
クリエイターのタグIDが返される。 |
tags[] |
integer |
- |
フォロワーと視聴者10 項目
data.item[]
| フィールド | タイプ | 説明 |
|---|---|---|
fans_num_level |
string |
表示テキストとして返されるフォロワー数のランクです。 |
fans_num_increment |
string |
表示テキストとして報告されたフォロワーの変化です。 |
fans_num_growth_range |
string |
表示テキストとして返されるフォロワーの増加範囲です。 |
top_interest_name |
string |
クリエイターのトップオーディエンス関心ラベルを報告します。 |
top_phone_brand |
string |
クリエイターの最も一般的なオーディエンス電話ブランドラベルを報告します。 |
fans_num_growth_rate |
integer |
整数形式で報告されたフォロワーの増加率。 |
fans_num_growth_rate_pct_rk |
integer |
フォロワーの増加率のパーセンタイルランク。 |
top_interest_rate |
integer |
最も関心のあるターゲットの視聴者シェア値。 |
top_phone_brand_rate |
integer |
最も人気のある電話ブランドの視聴者シェア値。 |
social_friend_view_ratio |
integer |
友人からの視聴比率値。 |
コンテンツとエンゲージメント18 項目
data.item[]
| フィールド | タイプ | 説明 |
|---|---|---|
avg_read_count |
string |
表示テキストとして報告された平均ビデオ視聴回数です。 |
median_read_count |
string |
表示テキストとして報告されたビデオ視聴回数の中央値です。 |
avg_interaction_count |
string |
表示テキストとして報告された平均インタラクション数です。 |
avg_like_count |
string |
表示テキストとして報告された平均いいね数です。 |
avg_heart_pv |
string |
表示テキストとして報告された平均ハート反応数です。 |
avg_comment_pv |
string |
報告された平均コメント数を表示テキストとして表示します。 |
avg_fav_pv |
string |
報告された平均いいね数を表示テキストとして表示します。 |
avg_share_pv |
string |
報告された平均シェア数を表示テキストとして表示します。 |
like_rate |
string |
クリエイターのいいね率をテキストとして報告します。 |
share_rate |
string |
クリエイターのシェア率をテキストとして報告します。 |
interaction_rate |
integer |
整数形式で報告されたインタラクション率。 |
interaction_rate_pct_rk |
integer |
インタラクション率のパーセンタイルランク。 |
play_finish_rate |
integer |
整数形式で報告された再生完了率。 |
play_finish_rate_pct_rk |
integer |
再生完了率のパーセンタイルランク。 |
is_post_video_15d |
integer |
過去15日間の動画投稿に関するフラグ。 |
avg_forward_uv |
number |
動画を転送するユニークユーザーの平均数。 |
avg_like_uv |
number |
動画をいいねするユニークユーザーの平均数。 |
avg_like_recommend_vv |
number |
いいね推薦の平均視聴回数。 |
キャンペーンパフォーマンス13 項目
data.item[]
| フィールド | タイプ | 説明 |
|---|---|---|
order_avg_read_count |
string |
報告された平均キャンペーンオーダー動画視聴数を表示テキストとして表示します。 |
order_avg_median_read_count |
string |
報告されたキャンペーンオーダー動画視聴メトリクスの中央値を表示テキストとして表示します。 |
order_interaction_count |
string |
報告されたキャンペーンオーダーインタラクション数を表示テキストとして表示します。 |
order_avg_comment_pv |
string |
報告されたキャンペーンオーダーコメント数を表示テキストとして表示します。 |
order_avg_fav_pv |
string |
報告されたキャンペーンオーダーいいね数を表示テキストとして表示します。 |
order_avg_heart_pv |
string |
報告されたキャンペーンオーダーハート反応数を表示テキストとして表示します。 |
order_avg_share_pv |
string |
報告されたキャンペーンオーダーシェア数を表示テキストとして表示します。 |
aid_heart_rate |
string |
キャンペーン動画のハート反応率をテキストとして報告します。 |
aid_interaction_rate |
string |
キャンペーン動画のインタラクション率をテキストとして報告します。 |
aid_share_rate |
string |
キャンペーン動画のシェア率をテキストとして報告します。 |
order_cnt |
integer |
キャンペーン注文の数。 |
order_interaction_rate |
integer |
キャンペーン注文のインタラクション率。 |
order_play_finish_rate |
integer |
キャンペーン注文の再生完了率。 |
クォートとコスト9 項目
data.item[]
| フィールド | タイプ | 説明 |
|---|---|---|
short_video_price |
string |
報告されたショート動画引用をテキストとして報告します。 |
long_video_price |
string |
報告されたロング動画引用をテキストとして報告します。 |
ader_short_video_price |
string |
広告主向けショート動画引用をテキストとして報告します。 |
ader_long_video_price |
string |
広告主向けロング動画引用をテキストとして報告します。 |
live_combo_price |
string |
報告されたライブストリームパッケージ引用をテキストとして報告します。 |
expected_cpe |
string |
エンゲージメントあたりの推定コストをテキストとして報告します。 |
order_avg_cpm |
string |
報告されたキャンペーンオーダーCPMをテキストとして報告します。 |
order_cpm |
integer |
キャンペーン注文のCPM値。 |
expected_cpm |
integer |
クリエイターの報告された推定CPM値。 |
クリエイターのインデックスとカテゴリ比較26 項目
data.item[]
| フィールド | タイプ | 説明 |
|---|---|---|
index_composite |
string |
報告されたコンポジットクリエイターインデックスを表示テキストとして表示します。 |
propagation_index |
integer |
クリエイターの報告された数値的なリーチインデックス値。 |
cooperation_index |
integer |
クリエイターの報告された数値的な協力インデックス値。 |
cost_effectiveness_index |
integer |
クリエイターの報告された数値的なコスト効果インデックス値。 |
social_interaction_index |
integer |
クリエイターの報告された数値的な社会的インタラクションインデックス値。 |
social_index |
number |
クリエイターが報告した数値のソーシャルインデックス値。 |
index_content |
string |
表示テキストとして返されるクリエイターのコンテンツインデックス。 |
index_category_content |
string |
コンテンツインデックスのカテゴリベンチマーク値、テキスト形式で返される。 |
index_category_content_rank |
string |
コンテンツインデックスのカテゴリランク、表示テキストとして返される。 |
index_compare_content |
string |
コンテンツインデックスの報告された比較値、表示テキストとして返される。 |
index_cooperation |
string |
クリエイターの協力インデックス、表示テキストとして返される。 |
index_category_cooperation |
string |
協力インデックスのカテゴリベンチマーク値、テキスト形式で返される。 |
index_category_cooperation_rank |
string |
協力インデックスのカテゴリランク、表示テキストとして返される。 |
index_compare_cooperation |
string |
協力インデックスの報告された比較値、表示テキストとして返される。 |
index_cost |
string |
クリエイターのコストインデックス、表示テキストとして返される。 |
index_category_cost |
string |
コストインデックスのカテゴリベンチマーク値、テキスト形式で返される。 |
index_category_cost_rank |
string |
コストインデックスのカテゴリランク、表示テキストとして返される。 |
index_compare_cost |
string |
コストインデックスの報告された比較値、表示テキストとして返される。 |
index_growth |
string |
クリエイターの成長インデックス、表示テキストとして返される。 |
index_category_growth |
string |
成長インデックスのカテゴリベンチマーク値、テキスト形式で返される。 |
index_category_growth_rank |
string |
成長インデックスのカテゴリランク、表示テキストとして返される。 |
index_compare_growth |
string |
成長インデックスの報告された比較値、表示テキストとして返される。 |
index_social |
string |
クリエイターのソーシャルインデックス、表示テキストとして返される。 |
index_category_social |
string |
ソーシャルインデックスのカテゴリベンチマーク値、テキスト形式で返される。 |
index_category_social_rank |
string |
ソーシャルインデックスのカテゴリランク、表示テキストとして返される。 |
index_compare_social |
string |
ソーシャルインデックスの報告された比較値、表示テキストとして返される。 |
ビデオコンポーネントのメトリクス6 項目
data.item[]
| フィールド | タイプ | 説明 |
|---|---|---|
component_metrics |
array |
ビデオコンポーネントカテゴリ別のパフォーマンス指標。配列は空になることがある。 |
component_metrics[] |
object |
- |
component_metrics[].category |
string |
ビデオコンポーネントのカテゴリ。 |
component_metrics[].video_count |
string |
コンポーネントカテゴリの報告されたビデオ数、表示テキストとして返される。 |
component_metrics[].click_avg |
number |
コンポーネントカテゴリの報告された平均クリック数。 |
component_metrics[].click_rate |
number |
コンポーネントカテゴリの報告されたクリック率値。 |
レスポンス例
レスポンスのサンプルを読み込んでいます...