【抖音热榜】分析助手

【抖音热榜】分析助手 · GPT-Aktionen

Tianapi Douyin Hot Topics API

This API returns a list of hot topics from Douyin based on real-time data.

  • GET /douyinhot/indexGet Douyin Hot Topics
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Tianapi Douyin Hot Topics API",
    "description": "This API returns a list of hot topics from Douyin based on real-time data.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://apis.tianapi.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/douyinhot/index": {
      "get": {
        "summary": "Get Douyin Hot Topics",
        "operationId": "getDouyinHotTopics",
        "tags": [
          "Douyin Hot Topics"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "required": true,
            "default": "75c405fb44f8dd5a07ac7155e4bc0cfa",
            "schema": {
              "type": "string",
              "default": "75c405fb44f8dd5a07ac7155e4bc0cfa"
            },
            "description": "API key for access"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of Douyin hot topics",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DouyinHotResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "DouyinHotResponse": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "description": "Response code indicating the request status"
          },
          "msg": {
            "type": "string",
            "description": "Message related to the request status"
          },
          "result": {
            "type": "object",
            "properties": {
              "list": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/HotTopic"
                }
              }
            }
          }
        }
      },
      "HotTopic": {
        "type": "object",
        "required": [
          "hotindex",
          "label",
          "word"
        ],
        "properties": {
          "hotindex": {
            "type": "integer",
            "description": "The hot index of the topic"
          },
          "label": {
            "type": "integer",
            "description": "Label assigned to the topic for categorization"
          },
          "word": {
            "type": "string",
            "description": "The keyword or phrase of the topic"
          }
        }
      }
    }
  }
}

News Summary API

API for posting data to retrieve summaries of various news topics.

  • POST /Post data to retrieve news summaries
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "News Summary API",
    "version": "1.0.0",
    "description": "API for posting data to retrieve summaries of various news topics."
  },
  "servers": [
    {
      "url": "https://test.yyhzgf.com",
      "description": "Main server"
    }
  ],
  "paths": {
    "/": {
      "post": {
        "summary": "Post data to retrieve news summaries",
        "operationId": "postNewsSummaries",
        "tags": [
          "News"
        ],
        "requestBody": {
          "description": "Request body to send data for news retrieval",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "Query to search for news"
                  }
                },
                "required": [
                  "query"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A list of news summaries based on the posted data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NewsSummary"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "NewsSummary": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the news topic"
          },
          "url": {
            "type": "string",
            "description": "The URL of the full news article"
          },
          "html": {
            "type": "string",
            "description": "An HTML snippet containing a summary or relevant excerpt from the news topic"
          }
        },
        "required": [
          "title",
          "url",
          "html"
        ]
      }
    }
  }
}