Fetch high fan rate list API

Fetch high fan rate list

USD 0.001000 / 成功した呼び出し

パブリックID: social.tikhub.douyin.billboard.fetch.hot.total.high.fan.list · バージョン 1

料金

USD 0.001000 / 成功した呼び出し

クイックスタート

API キーでこのツールを検索し、返された provider と endpoint の仕様を確認してから実行してください。

GLOOP_API_BASE に API の URL、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": "Fetch high fan rate list"
}'

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\": \"Fetch high fan rate list\"\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": "Fetch high fan rate list"
}) });
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
ツール API ドキュメント · POST /v1/inspect

入力スキーマ

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "date_window": {
          "description": "时间窗口(小时),可选 1/24/72/168,代表近1小时/近1天/近3天/近7天,默认24",
          "title": "Date Window",
          "type": "integer"
        },
        "keyword": {
          "description": "搜索关键词,对榜单按关键词过滤,空为全部",
          "title": "Keyword",
          "type": "string"
        },
        "page": {
          "description": "页码",
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "description": "每页数量",
          "title": "Page Size",
          "type": "integer"
        },
        "tags": {
          "description": "垂类标签筛选,空则为全部,标签id从 fetch_content_tag 接口获取",
          "items": {
            "properties": {
              "children": {
                "description": "子级垂类标签列表,省略则为该顶级垂类下全部/Sub-level vertical category tags, omit for all under this top-level tag",
                "items": {
                  "properties": {
                    "value": {
                      "description": "子级垂类标签id,从fetch_content_tag接口获取/Sub-level vertical category tag id, obtained from the fetch_content_tag endpoint",
                      "title": "Value",
                      "type": "integer"
                    }
                  },
                  "title": "BillboardTagChild",
                  "type": "object"
                },
                "title": "Children",
                "type": "array"
              },
              "value": {
                "description": "顶级垂类标签id,从fetch_content_tag接口获取/Top-level vertical category tag id, obtained from the fetch_content_tag endpoint",
                "title": "Value",
                "type": "integer"
              }
            },
            "title": "BillboardTag",
            "type": "object"
          },
          "title": "Tags",
          "type": "array"
        }
      },
      "title": "Body_fetch_hot_total_high_fan_list_api_v1_douyin_billboard_fetch_hot_total_high_fan_list_post",
      "type": "object"
    },
    "queryParams": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    }
  },
  "required": [],
  "type": "object"
}

出力スキーマ

{
  "type": "object"
}

同じカテゴリのツール