QQ Huxuan Creator Marketplace Video Account Creator Details API (V1)
Retrieves QQ Huxuan Video Account creator details for a known creator app ID. Use it to review a shortlisted video creator before Tencent Huxuan campaign selection.
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
token | query | string | Yes | - | User authentication token. |
appId | query | string | Yes | - | Video Account creator app ID. |
Code Samples
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE'I want to use the "Video Account Creator Details (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE
API Endpoint: BASE_URL + /api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/qq-huxuan-creator-marketplace/video-account-creator-details-v1-en.json
Parameters:
- token (query): User authentication token. (Required)
- appId (query): Video Account creator app ID. (Required)
Return format: safely handle JSON or text according to the actual Content-Type.
Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
- 0: Success
- 100: Invalid or Inactive Token
- 301: Collection Failed. Please Retry.
- 302: Rate Limit Exceeded
- 303: Daily Quota Exceeded
- 400: Invalid Parameters
- 500: Internal Server Error
- 600: Permission Denied
- 601: Insufficient Balance
- 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.
Please help me write a script in my preferred programming language to call this API and handle the response.import requests
BASE_URL = "https://api.justoneapi.com" # Provided by OpenAPI servers
url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE"
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")const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE";
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`);
}
}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"; // Provided by OpenAPI servers
final String url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE";
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");
}
}
}package main
import (
"fmt"
"io"
"os"
"strings"
"net/http"
"time"
)
const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers
func main() {
client := &http.Client{Timeout: 120 * time.Second}
url := BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE"
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
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/qq-huxuan/cgi-bin/advertiser/finder_publisher/detail/v1?token=YOUR_API_KEY&appId=VALUE';
$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;
}Response Fields
Key fields in a successful response (code = 0).
Creator information15 fields
data.item
Public profile and metrics for the Channels creator.
| Field | Type | Description |
|---|---|---|
appid | string | App ID of the WeChat Channels creator in QQ Huxuan. |
nickname | string | Display nickname of the Channels account. |
avatar | string | Avatar URL for the Channels account. |
fans_num_level | string | Display tier for the creator's follower count. |
category_level1 | integer | First-level category code returned for the creator. |
category_level2 | integer | Second-level category code returned for the creator. |
city_label | string | City label displayed for the creator. |
plus_v | integer | Verification-badge indicator code returned for the creator. |
auth_profession | string | Verified profession text shown for the creator. |
auth_company | string | Verified company name shown for the creator, when available. |
synopsis | string | Public introduction displayed for the Channels creator. |
mcn_name | string | Name of the associated MCN, when available. |
release_date | string | Release date reported for the creator as a calendar-date string. |
tags | array | Marketplace tag IDs associated with this creator. |
tags[] | integer | One marketplace tag ID. |
Follower growth and activity6 fields
data.item
| Field | Type | Description |
|---|---|---|
fans_num_increment | string | Follower increase returned as display text. |
fans_num_growth_rate | integer | Follower growth rate value reported for the creator. |
fans_num_growth_range | string | Displayed range of follower growth. |
is_post_video_15d | integer | Indicator code for whether the creator posted videos in the last 15 days. |
top_interest_name | string | Name of the leading reported audience interest. |
top_interest_rate | integer | Rate value reported for the leading audience interest. |
Video performance17 fields
data.item
| Field | Type | Description |
|---|---|---|
avg_read_count | string | Average video view count returned as display text. |
median_read_count | string | Median video view count returned as display text. |
avg_like_count | string | Average like count returned as display text. |
avg_interaction_count | string | Average interaction count returned as display text. |
avg_heart_pv | string | Average heart-reaction count returned as text. |
avg_fav_pv | string | Average favorite count returned as text. |
avg_share_pv | string | Average share count returned as text. |
avg_comment_pv | string | Average comment count returned as text. |
play_finish_rate | integer | Reported video completion-rate value. |
interaction_rate | integer | Reported video interaction-rate value. |
like_rate | string | Reported like-rate value returned as text. |
share_rate | string | Reported share-rate value returned as text. |
avg_like_uv | number | Reported average count of unique users who liked the videos. |
avg_forward_uv | number | Reported average count of unique users who forwarded the videos. |
play_finish_rate_pct_rk | integer | Relative rank value reported for the video completion rate. |
interaction_rate_pct_rk | integer | Relative rank value reported for the video interaction rate. |
fans_num_growth_rate_pct_rk | integer | Relative rank value reported for the follower growth rate. |
Marketplace order metrics10 fields
data.item
| Field | Type | Description |
|---|---|---|
order_cnt | integer | Number of marketplace orders reported for the creator. |
order_avg_read_count | string | Average video view count for marketplace order content, returned as text. |
order_avg_median_read_count | string | Median video view count metric for marketplace order content, returned as text. |
order_interaction_rate | integer | Interaction-rate value reported for marketplace order content. |
order_play_finish_rate | integer | Completion-rate value reported for marketplace order content. |
order_avg_heart_pv | string | Average heart-reaction count for marketplace order content, returned as text. |
order_avg_fav_pv | string | Average favorite count for marketplace order content, returned as text. |
order_avg_share_pv | string | Average share count for marketplace order content, returned as text. |
order_avg_comment_pv | string | Average comment count for marketplace order content, returned as text. |
order_interaction_count | string | Interaction count metric reported for marketplace order content. |
Creator indices7 fields
data.item
| Field | Type | Description |
|---|---|---|
index_composite | string | Composite creator index returned as display text. |
index_content | string | Creator content index returned as display text. |
index_cooperation | string | Creator cooperation index returned as display text. |
index_cost | string | Creator cost-effectiveness index returned as display text. |
index_growth | string | Creator growth index returned as display text. |
index_social | string | Creator social interaction index returned as display text. |
social_index | number | Numeric social index separately reported for the creator. |
Category comparisons15 fields
data.item
| Field | Type | Description |
|---|---|---|
index_category_content | string | Category benchmark for the content index, returned as display text. |
index_category_content_rank | string | Category rank value reported for the content index. |
index_compare_content | string | Category comparison value reported for the content index. |
index_category_cooperation | string | Category benchmark for the cooperation index, returned as display text. |
index_category_cooperation_rank | string | Category rank value reported for the cooperation index. |
index_compare_cooperation | string | Category comparison value reported for the cooperation index. |
index_category_cost | string | Category benchmark for the cost-effectiveness index, returned as display text. |
index_category_cost_rank | string | Category rank value reported for the cost-effectiveness index. |
index_compare_cost | string | Category comparison value reported for the cost-effectiveness index. |
index_category_growth | string | Category benchmark for the growth index, returned as display text. |
index_category_growth_rank | string | Category rank value reported for the growth index. |
index_compare_growth | string | Category comparison value reported for the growth index. |
index_category_social | string | Category benchmark for the social interaction index, returned as display text. |
index_category_social_rank | string | Category rank value reported for the social interaction index. |
index_compare_social | string | Category comparison value reported for the social interaction index. |
Video components and live commerce12 fields
data.item
| Field | Type | Description |
|---|---|---|
component_metrics | array | Reported metrics grouped by video component category. |
component_metrics[] | object | One video component metrics group. |
component_metrics[].category | string | Category label for this component metrics group. |
component_metrics[].video_count | string | Video count reported for this component category, as text. |
component_metrics[].click_avg | number | Average click count value reported for this component category. |
component_metrics[].click_rate | number | Click-rate value reported for this component category. |
live_commerce_data | object | null | Live commerce category information, or null when unavailable. |
live_commerce_data.top_categories | array | Reported top categories for live commerce. |
live_commerce_data.top_categories[] | object | One reported live-commerce category. |
live_commerce_data.top_categories[].cat_id | integer | ID reported for this live-commerce category. |
live_commerce_data.top_categories[].cat_name | string | Display name of this live-commerce category. |
live_commerce_data.top_categories[].ratio | integer | Category ratio value reported for this live-commerce category. |
Audience demographics12 fields
data.user_profile
Aggregate Audience profile for the creator.
| Field | Type | Description |
|---|---|---|
age | array | Audience age distribution. |
age[] | object | One labeled group entry. |
age[].label | string | Display label of this group. |
age[].value | integer | Percentage as an integer in hundredths of a percentage point. 10000 represents 100%. |
gender | array | Audience gender distribution. |
gender[] | object | One labeled group entry. |
gender[].label | string | Display label of this group. |
gender[].value | integer | Percentage as an integer in hundredths of a percentage point. 10000 represents 100%. |
device | array | Audience device distribution. |
device[] | object | One labeled group entry. |
device[].label | string | Display label of this group. |
device[].value | integer | Percentage as an integer in hundredths of a percentage point. 10000 represents 100%. |
Audience locations and interests16 fields
data.user_profile
| Field | Type | Description |
|---|---|---|
area | array | Reported audience geographic area groups. |
area[] | object | One labeled group entry. |
area[].label | string | Display label of this group. |
area[].value | integer | Numeric value reported for this bucket. |
province | array | Reported audience province groups. |
province[] | object | One labeled group entry. |
province[].label | string | Display label of this group. |
province[].value | integer | Numeric value reported for this bucket. |
phone_brand | array | Reported audience phone brand groups. |
phone_brand[] | object | One labeled group entry. |
phone_brand[].label | string | Display label of this group. |
phone_brand[].value | integer | Numeric value reported for this bucket. |
interest | array | Reported audience interest groups. |
interest[] | object | One labeled group entry. |
interest[].label | string | Display label of this group. |
interest[].value | integer | Numeric value reported for this bucket. |
Viewer demographics12 fields
data.viewer_profile
Aggregate Viewer profile for the creator.
| Field | Type | Description |
|---|---|---|
age | array | Viewer age distribution. |
age[] | object | One labeled group entry. |
age[].label | string | Display label of this group. |
age[].value | integer | Percentage as an integer in hundredths of a percentage point. 10000 represents 100%. |
gender | array | Viewer gender distribution. |
gender[] | object | One labeled group entry. |
gender[].label | string | Display label of this group. |
gender[].value | integer | Percentage as an integer in hundredths of a percentage point. 10000 represents 100%. |
device | array | Viewer device distribution. |
device[] | object | One labeled group entry. |
device[].label | string | Display label of this group. |
device[].value | integer | Percentage as an integer in hundredths of a percentage point. 10000 represents 100%. |
Viewer locations and interests10 fields
data.viewer_profile
| Field | Type | Description |
|---|---|---|
area | array | Reported viewer geographic area groups. |
area[] | object | One labeled group entry. |
area[].label | string | Display label of this group. |
area[].value | integer | Numeric value reported for this bucket. |
province | array | Reported viewer province groups. |
province[] | object | One labeled group entry. |
province[].label | string | Display label of this group. |
province[].value | integer | Numeric value reported for this bucket. |
phone_brand | array | Viewer phone brand groups, when supplied. |
interest | array | Viewer interest groups, when supplied. |
Recent video summary11 fields
data.near_videos
Recent-video statistics reported in this creator profile.
| Field | Type | Description |
|---|---|---|
avg_read_count | string | Average recent-video view count returned as display text. |
top_read_count | string | Highest recent-video view count returned as display text. |
stat | array | Recent-video records returned in the creator profile, when available. |
avg_share_pv | string | Average recent-video share count returned as text, when supplied. |
top_share_pv | string | Highest recent-video share count returned as text, when supplied. |
avg_fav_pv | string | Average recent-video favorite count returned as text, when supplied. |
top_fav_pv | string | Highest recent-video favorite count returned as text, when supplied. |
avg_comment_pv | string | Average recent-video comment count returned as text, when supplied. |
top_comment_pv | string | Highest recent-video comment count returned as text, when supplied. |
avg_like_pv | string | Average recent-video like count returned as text, when supplied. |
top_like_pv | string | Highest recent-video like count returned as text, when supplied. |
Response status2 fields
data
QQ Huxuan WeChat Channels creator details and aggregate video statistics.
| Field | Type | Description |
|---|---|---|
ret | integer | Status code reported for the creator-detail response. |
msg | string | Status message reported for the creator-detail response. |