Search Creator API

Search Creator

USD 0.002000 / chiamata riuscita

ID pubblico: social.tikhub.douyin.xingtu.v2.search.creator · Versione 1

Prezzi

USD 0.002000 / chiamata riuscita

Avvio rapido

Cerca questo strumento con la tua chiave API, poi esamina provider ed endpoint restituiti prima di eseguirlo.

Imposta GLOOP_API_BASE con il tuo indirizzo API e GLOOP_API_KEY con la chiave lato server.

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 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 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 Creator"
}) });
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
Documentazione API degli strumenti · POST /v1/inspect

Schema di input

{
  "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, 0=unlimited",
          "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": "Optional keyword; empty means filter-only browsing",
          "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 creator price",
          "minimum": 0,
          "title": "Price Max",
          "type": "integer"
        },
        "price_min": {
          "description": "Minimum creator price",
          "minimum": 0,
          "title": "Price Min",
          "type": "integer"
        },
        "price_type": {
          "description": "短视频报价时长档位:1=1-20秒、2=21-60秒、3=60秒以上;仅与price_min/price_max配合使用/Creator video price tier",
          "enum": [
            1,
            2,
            3
          ],
          "title": "XingtuCreatorPriceType",
          "type": "integer"
        },
        "seach_type": {
          "description": "Search mode: 2=nickname, 3=content",
          "enum": [
            2,
            3
          ],
          "title": "XingtuCreatorSearchType",
          "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"
        },
        "time_range_days": {
          "description": "内容搜索时间范围,30/90/180天,仅seach_type=3时生效/Content time range; only for seach_type=3",
          "enum": [
            30,
            90,
            180
          ],
          "title": "XingtuContentSearchTimeRange",
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [],
  "type": "object"
}

Schema di output

{
  "type": "object"
}

Strumenti della stessa categoria