Search Toutiao Creator API
Search Toutiao Creator
USD 0.001000 / استدعاء ناجح
المعرّف العام: social.tikhub.douyin.xingtu.v2.search.toutiao.creator · الإصدار 1
الأسعار
USD 0.001000 / استدعاء ناجح
البدء السريع
ابحث عن هذه الأداة باستخدام مفتاح API، ثم افحص provider وendpoint المعادَين قبل التنفيذ.
اضبط GLOOP_API_BASE على عنوان API وGLOOP_API_KEY على مفتاح الخادم.
curl
curl --fail-with-body "${GLOOP_API_BASE%/}/v1/discover" \
-H "Authorization: Bearer $GLOOP_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"limit": 5,
"query": "Search Toutiao Creator"
}'Python
import os, json, urllib.request
url = os.environ['GLOOP_API_BASE'].rstrip('/') + "/v1/discover"
headers = {'Authorization': 'Bearer ' + os.environ['GLOOP_API_KEY']}
headers['Content-Type'] = 'application/json'
data = "{\n \"limit\": 5,\n \"query\": \"Search Toutiao Creator\"\n}".encode('utf-8')
request = urllib.request.Request(url, data=data, headers=headers)
with urllib.request.urlopen(request) as response:
print(json.load(response))Node.js
const url = process.env.GLOOP_API_BASE.replace(/\/$/, '') + "/v1/discover";
const headers = { Authorization: `Bearer ${process.env.GLOOP_API_KEY}` };
headers['Content-Type'] = 'application/json';
const response = await fetch(url, { method: 'POST', headers, body: JSON.stringify({
"limit": 5,
"query": "Search Toutiao Creator"
}) });
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());وثائق API الأدوات · POST /v1/inspectمخطط المدخلات
{
"additionalProperties": false,
"properties": {
"queryParams": {
"additionalProperties": false,
"properties": {
"author_list_id": {
"description": "Featured creator list ID",
"title": "Author List Id",
"type": "string"
},
"burst_text_rate_max": {
"description": "Maximum viral-post rate, 0-1 decimal",
"title": "Burst Text Rate Max",
"type": "number"
},
"burst_text_rate_min": {
"description": "Minimum viral-post rate, 0-1 decimal",
"title": "Burst Text Rate Min",
"type": "number"
},
"cpe_max": {
"description": "Maximum expected CPE",
"title": "Cpe Max",
"type": "number"
},
"cpe_min": {
"description": "Minimum expected CPE",
"title": "Cpe Min",
"type": "number"
},
"cpm_max": {
"description": "Maximum expected CPM",
"title": "Cpm Max",
"type": "number"
},
"cpm_min": {
"description": "Minimum expected CPM",
"title": "Cpm Min",
"type": "number"
},
"expected_play_max": {
"description": "Maximum expected plays",
"title": "Expected Play Max",
"type": "integer"
},
"expected_play_min": {
"description": "Minimum expected plays",
"title": "Expected Play Min",
"type": "integer"
},
"extra_filter": {
"description": "额外画像筛选的JSON数组字符串,每项必须包含非空字符串field_name和field_value;支持内容主题、观众/粉丝画像、八大人群和地域等维度/Extra profile filters as a JSON-array string; field_name and field_value must be non-empty strings",
"title": "Extra Filter",
"type": "string"
},
"fans_max": {
"description": "Maximum followers",
"title": "Fans Max",
"type": "integer"
},
"fans_min": {
"description": "Minimum followers",
"title": "Fans Min",
"type": "integer"
},
"first_industry_id": {
"description": "Industry ID",
"title": "First Industry Id",
"type": "integer"
},
"gender": {
"description": "Creator gender, 1=male, 2=female",
"title": "Gender",
"type": "integer"
},
"interact_rate_max": {
"description": "Maximum interaction rate, 0-1 decimal",
"title": "Interact Rate Max",
"type": "number"
},
"interact_rate_min": {
"description": "Minimum interaction rate, 0-1 decimal",
"title": "Interact Rate Min",
"type": "number"
},
"keyword": {
"description": "Search keyword: nickname, Toutiao ID or content word",
"title": "Keyword",
"type": "string"
},
"marketing_target": {
"description": "Marketing target",
"title": "Marketing Target",
"type": "integer"
},
"page": {
"description": "Page number",
"title": "Page",
"type": "integer"
},
"persona_tags": {
"description": "达人人设/学历/认证/调性ID。逗号分隔=满足任一;分号分组=每组都要满足,如`1129,110401;110213`/Persona IDs. Comma=match any, semicolon=group AND",
"title": "Persona Tags",
"type": "string"
},
"play_over_rate_max": {
"description": "Maximum play-completion rate, 0-1 decimal",
"title": "Play Over Rate Max",
"type": "number"
},
"play_over_rate_min": {
"description": "Minimum play-completion rate, 0-1 decimal",
"title": "Play Over Rate Min",
"type": "number"
},
"price_max": {
"description": "Maximum image-text price",
"minimum": 0,
"title": "Price Max",
"type": "integer"
},
"price_min": {
"description": "Minimum image-text price",
"minimum": 0,
"title": "Price Min",
"type": "integer"
},
"price_type": {
"description": "头条图文报价类型,固定为11;仅与price_min/price_max配合使用/Toutiao image-text price type, fixed to 11",
"enum": [
11
],
"title": "XingtuToutiaoPriceType",
"type": "integer"
},
"sort_field": {
"description": "Sort field, default score (comprehensive)",
"title": "Sort Field",
"type": "string"
},
"sort_type": {
"description": "Sort type, 1=asc, 2=desc",
"title": "Sort Type",
"type": "integer"
},
"tag": {
"description": "Creator category IDs, comma-separated",
"title": "Tag",
"type": "string"
},
"task_category": {
"description": "Cooperation target",
"title": "Task Category",
"type": "integer"
}
},
"required": [
"keyword"
],
"type": "object"
}
},
"required": [
"queryParams"
],
"type": "object"
}مخطط المخرجات
{
"type": "object"
}