Skip to main content
GET
/
v1
/
tiktok
/
product
/
trends
/
analytics
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/tiktok/product/trends/analytics' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

response = requests.get(
'https://api.keyapi.ai/v1/tiktok/product/trends/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())
const response = await fetch('https://api.keyapi.ai/v1/tiktok/product/trends/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);
{
  "code": 0,
  "message": "success",
  "data": [
    {
      "dt": "2025-09-08",
      "product_id": "1729649010208641832",
      "spu_avg_price": 195.95,
      "total_ifl_cnt": 1,
      "total_live_cnt": 0,
      "total_sale_1d_cnt": 0,
      "total_sale_cnt": 0,
      "total_sale_gmv_1d_amt": 0,
      "total_sale_gmv_amt": 0,
      "total_video_cnt": 1
    }
  ],
  "requestId": "9cfb0bbb-a222-4425-9942-34d8b232d0da"
}
{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}
{
"code": 401,
"data": null,
"message": "apiKey is null"
}
{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}
{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}
{
"code": 500,
"data": null,
"message": "Internal server error"
}
🪙1 creditper request

Copy for AI

🤖 Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

product_id
string
required

Product unique ID

start_date
string
required

Date range filter, yyyy-MM-dd format

end_date
string
required

Date range filter, yyyy-MM-dd format

page_num
integer
required

Page numbers start from 1 and go up to a maximum of 100,000.

page_size
integer
required

The maximum number of pages is 10.

Response

Success

code
integer
required
message
string
required
data
object[]
required
requestId
string
required