QQ Huxuan Creator Marketplace Official Account Creator Search API (V1)
API health status
Healthy Available Limited Mostly unavailable No data
Loading health status...
Searches QQ Huxuan Official Account creators by keyword, native category IDs or legacy category names, and follower-count bounds covering complete preset bands, with page-number pagination. Use it to shortlist publishers for campaign planning.
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
token | query | string | Yes | - | User authentication token. |
keyword | query | string | No | | Creator nickname or account keyword. Leave empty to browse the default marketplace list. |
page | query | integer | No | 1 | Page number. The first page is 1. |
creatorTypes | query | array | No | - | Comma-separated native second-level category IDs, such as 102813. Legacy category names are also accepted; top-level names include their subcategories. Leave unset for all categories. |
fansMin | query | integer | No | - | Inclusive follower-count lower bound. Allowed starts: 0, 5000, 10000, 20000, 50000, 100000, 500000, 1000000. Supply together with fansMax; leave both unset for no follower filter. |
fansMax | query | integer | No | - | Inclusive follower-count upper bound, at least fansMin. Allowed ends: 4999, 9999, 19999, 49999, 99999, 499999, 999999, 4294967295. The range must cover complete preset bands. Supply together with fansMin. |
Code Samples
bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/qq-huxuan/cgi-bin/advertiser/mp_publisher/search/v1?token=YOUR_API_KEY'text
I want to use the "Official Account Creator Search (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/qq-huxuan/cgi-bin/advertiser/mp_publisher/search/v1?token=YOUR_API_KEY
API Endpoint: BASE_URL + /api/qq-huxuan/cgi-bin/advertiser/mp_publisher/search/v1?token=YOUR_API_KEY
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/qq-huxuan-creator-marketplace/official-account-creator-search-v1-en.json
Parameters:
- token (query): User authentication token. (Required)
- keyword (query): Creator nickname or account keyword. Leave empty to browse the default marketplace list.
- page (query): Page number. The first page is 1.
- creatorTypes (query): Comma-separated native second-level category IDs, such as 102813. Legacy category names are also accepted; top-level names include their subcategories. Leave unset for all categories.
- fansMin (query): Inclusive follower-count lower bound. Allowed starts: 0, 5000, 10000, 20000, 50000, 100000, 500000, 1000000. Supply together with fansMax; leave both unset for no follower filter.
- fansMax (query): Inclusive follower-count upper bound, at least fansMin. Allowed ends: 4999, 9999, 19999, 49999, 99999, 499999, 999999, 4294967295. The range must cover complete preset bands. Supply together with fansMin.
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.python
import requests
BASE_URL = "https://api.justoneapi.com" # Provided by OpenAPI servers
url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/mp_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"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/mp_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"; // Provided by OpenAPI servers
final String url = BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/mp_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" // Provided by OpenAPI servers
func main() {
client := &http.Client{Timeout: 120 * time.Second}
url := BASE_URL + "/api/qq-huxuan/cgi-bin/advertiser/mp_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'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/qq-huxuan/cgi-bin/advertiser/mp_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;
}Response Fields
Key fields in a successful response (code = 0).
Search status and results4 fields
data
Tencent Huxuan Official Account creator search results and reported totals.
| Field | Type | Description |
|---|---|---|
ret | integer | Status code reported for the creator search. |
msg | string | Status message reported for the creator search. |
item | array | Creator entries returned for the requested search page. |
total_num | integer | Reported total number of creators matching the search. |
Public account and category16 fields
data.item[]
One Official Account creator returned by the search.
| Field | Type | Description |
|---|---|---|
appid | string | WeChat Official Account application identifier. |
nickname | string | Public nickname displayed for the Official Account. |
avatar | string | Public avatar image URL returned for the Official Account. |
fans_num | integer | Reported follower count for the Official Account. |
score | number | Numeric creator score as reported by the search. |
qr_code | string | QR code image URL returned for the Official Account. |
tags | array | Category and tag codes associated with the creator. |
tags[] | integer | One numeric tag code. |
fans_num_level | string | Follower-count band returned for the Official Account as display text. |
wx_name | string | Public WeChat account handle returned for the Official Account. |
category_level1 | integer | First-level category code reported for the creator. |
category_level2 | integer | Second-level category code reported for the creator. |
area | object | null | Region labels returned for the Official Account, or null when unavailable. |
area.province | string | Reported province label for the Official Account. |
area.city | string | Reported city label for the Official Account. |
is_finder_activated | integer | Numeric flag for WeChat Channels activation. |
Indexed prices and impressions24 fields
data.item[]
| Field | Type | Description |
|---|---|---|
price | array | General price entries reported for the creator. |
price[] | object | One metric or price entry with an index key. |
price[].key | string | Index key returned for this entry as text. |
price[].value | integer | Price value reported for this entry as an integer. |
advertorial_price | array | Indexed prices for the advertorial format. |
advertorial_price[] | object | One metric or price entry with an index key. |
advertorial_price[].key | string | Index key returned for this entry as text. |
advertorial_price[].value | integer | Price value reported for this entry as an integer. |
specified_price | array | Indexed prices for the specified collaboration format. |
specified_price[] | object | One metric or price entry with an index key. |
specified_price[].key | string | Index key returned for this entry as text. |
specified_price[].value | integer | Price value reported for this entry as an integer. |
collection_price | array | Indexed prices for the collection collaboration format. |
collection_price[] | object | One metric or price entry with an index key. |
collection_price[].key | string | Index key returned for this entry as text. |
collection_price[].value | integer | Price value reported for this entry as an integer. |
image_price | array | Indexed prices for the image collaboration format. |
image_price[] | object | One metric or price entry with an index key. |
image_price[].key | string | Index key returned for this entry as text. |
image_price[].value | integer | Price value reported for this entry as an integer. |
promised_impress | array | Indexed promised impression counts returned for the creator. |
promised_impress[] | object | One metric or price entry with an index key. |
promised_impress[].key | string | Index key returned for this entry as text. |
promised_impress[].value | integer | Reported promised impression count for this placement. |
Placement offers by format25 fields
data.item[]
| Field | Type | Description |
|---|---|---|
price_list | object | Placement offers grouped by collaboration format. |
price_list.advertorial | array | Placement offers for the advertorial format. |
price_list.advertorial[] | object | One placement offer for this collaboration format. |
price_list.advertorial[].item_idx | integer | Numeric placement index reported for the offer. |
price_list.advertorial[].publisher_price | integer | Price quoted on the publisher side, as a reported integer. |
price_list.advertorial[].advertiser_price | integer | Price quoted on the advertiser side, as a reported integer. |
price_list.advertorial[].promised_impress | integer | Reported promised impression count for this placement. |
price_list.specified | array | Placement offers for the specified collaboration format. |
price_list.specified[] | object | One placement offer for this collaboration format. |
price_list.specified[].item_idx | integer | Numeric placement index reported for the offer. |
price_list.specified[].publisher_price | integer | Price quoted on the publisher side, as a reported integer. |
price_list.specified[].advertiser_price | integer | Price quoted on the advertiser side, as a reported integer. |
price_list.specified[].promised_impress | integer | Reported promised impression count for this placement. |
price_list.collection | array | Placement offers for the collection collaboration format. |
price_list.collection[] | object | One placement offer for this collaboration format. |
price_list.collection[].item_idx | integer | Numeric placement index reported for the offer. |
price_list.collection[].publisher_price | integer | Price quoted on the publisher side, as a reported integer. |
price_list.collection[].advertiser_price | integer | Price quoted on the advertiser side, as a reported integer. |
price_list.collection[].promised_impress | integer | Reported promised impression count for this placement. |
price_list.image | array | Placement offers for the image collaboration format. |
price_list.image[] | object | One placement offer for this collaboration format. |
price_list.image[].item_idx | integer | Numeric placement index reported for the offer. |
price_list.image[].publisher_price | integer | Price quoted on the publisher side, as a reported integer. |
price_list.image[].advertiser_price | integer | Price quoted on the advertiser side, as a reported integer. |
price_list.image[].promised_impress | integer | Reported promised impression count for this placement. |
Publishing and regularly reading followers7 fields
data.item[]
| Field | Type | Description |
|---|---|---|
article_send_pv | integer | Article send volume reported by the platform. |
ori_send_rate | integer | Original-content posting rate as reported. |
article_cnt_30d | integer | Reported number of articles published in the past 30 days. |
last_article_create_time | string | Latest article creation time as a Unix timestamp in seconds, returned as text. A zero string was observed when no timestamp was available. |
often_read_fans | integer | Reported value of the regularly reading follower metric. |
often_read_fans_num | integer | Reported number of regularly reading followers. |
often_read_fans_rate | number | Reported rate for regularly reading followers, in its original numeric representation. |
Reading and engagement metrics38 fields
data.item[]
| Field | Type | Description |
|---|---|---|
first_advertorial_read_price | number | Reported read-price metric for the first-position advertorial placement. |
avg_read_pv_30d_idx | array | Reported average reads over the past 30 days by index. |
avg_read_pv_30d_idx[] | object | One metric or price entry with an index key. |
avg_read_pv_30d_idx[].key | string | Index key returned for this entry as text. |
avg_read_pv_30d_idx[].value | integer | Average read count reported for this index. |
avg_fin_read_rate_30d_idx | array | Reported average completion rate over the past 30 days by index. |
avg_fin_read_rate_30d_idx[] | object | One metric or price entry with an index key. |
avg_fin_read_rate_30d_idx[].key | string | Index key returned for this entry as text. |
avg_fin_read_rate_30d_idx[].value | integer | Average completion-rate value reported for this index. |
avg_zaikan_cnt_30d_idx | array | Reported 30-day average count of WeChat 在看 reactions by index. |
avg_zaikan_cnt_30d_idx[] | object | One metric or price entry with an index key. |
avg_zaikan_cnt_30d_idx[].key | string | Index key returned for this entry as text. |
avg_zaikan_cnt_30d_idx[].value | integer | Average count of WeChat 在看 reactions for this index. |
avg_like_cnt_30d_idx | array | Reported average like counts over the past 30 days by index. |
avg_like_cnt_30d_idx[] | object | One metric or price entry with an index key. |
avg_like_cnt_30d_idx[].key | string | Index key returned for this entry as text. |
avg_like_cnt_30d_idx[].value | integer | Average like count reported for this index. |
avg_comment_cnt_30d_idx | array | Reported average comment counts over the past 30 days by index. |
avg_comment_cnt_30d_idx[] | object | One metric or price entry with an index key. |
avg_comment_cnt_30d_idx[].key | string | Index key returned for this entry as text. |
avg_comment_cnt_30d_idx[].value | integer | Average comment count reported for this index. |
avg_share_pv | array | Reported average share metrics by index. |
avg_share_pv[] | object | One metric or price entry with an index key. |
avg_share_pv[].key | string | Index key returned for this entry as text. |
avg_share_pv[].value | integer | Average share metric reported for this index. |
first_article_30d_metrics | object | null | First-position article metrics over the past 30 days, or null when unavailable. |
first_article_30d_metrics.mid_read_pv | string | Reported median read count as text. |
first_article_30d_metrics.expected_cpr | string | Reported expected cost per read as text. |
first_article_30d_metrics.avg_finished_read_rate | string | Reported average completion rate as text. |
first_article_30d_metrics.avg_share_pv | string | Reported average share metric as text. |
mp_publisher_metrics | object | Overall Official Account metrics returned as display text. |
mp_publisher_metrics.avg_read_pv | string | Average read count display text. |
mp_publisher_metrics.mid_read_pv | string | Median read count display text. |
mp_publisher_metrics.avg_zaikan_pv | string | Average WeChat 在看 reaction count as display text. |
mp_publisher_metrics.avg_like_pv | string | Average like count display text. |
mp_publisher_metrics.avg_share_pv | string | Average share metric display text. |
mp_publisher_metrics.avg_comment_pv | string | Average comment count display text. |
mp_publisher_metrics.avg_finished_read_rate | string | Average completion rate display text. |
Articles and follower profiles8 fields
data.item[]
| Field | Type | Description |
|---|---|---|
articles | array | Article entries returned for the creator. The verified search results return an empty list. |
profile_age | array | Follower age profile entries. The verified search results return an empty list. |
profile_gender | array | Follower gender profile entries. The verified search results return an empty list. |
profile_device | array | Follower device profile entries. The verified search results return an empty list. |
profile_city | array | Follower city profile entries. The verified search results return an empty list. |
profile_province | array | Follower province profile entries. The verified search results return an empty list. |
profile_phone_brand | array | Follower phone-brand profile entries. The verified search results return an empty list. |
profile_tag | array | Follower profile tag entries. The verified search results return an empty list. |
Response Example
Loading the response example...