计算价格/Calculate price
GET
https://api.tikhub.io/api/v1/tikhub/user/calculate_price
TikHub-User-API
Last modified:2025-05-16 05:40:10
OperationId:calculate_price_api_v1_tikhub_user_calculate_price_get
[中文]
用途:
参数:
计算公式:
详细计算步骤:
1.
总成本=0
2.
数学表示:
设有 𝑛 个阶梯,每个阶梯的参数为:
那么,总成本的计算公式如下:
示例
假设有以下定价阶梯:
假设基础价格为 0.001 USD,每日请求次数为 12000,则计算过程如下:
1.
2.
3.
4.
5.
返回:
[English]
Purpose:
Parameters:
Calculation formula:
Detailed calculation steps:
1.
Total cost = 0
2.
Mathematical representation:
Then, the formula for calculating the total cost is as follows:
Example
Suppose the base price is 0.001 USD and the number of daily requests is 12000, the calculation process is as follows:
1.
2.
3.
4.
5.
Return:
Request
Query Params
endpoint
string
Endpoint
Example:
/api/v1/douyin/app/v1/fetch_one_video
request_per_day
integer
Request Per Day
Default:
1
Example:
100000