Get comment keywords analysis
Retrieve comment keywords analysis with the TikTok API. Supply an item ID. Sample fields include comments. Surface recurring topics and audience feedback. The GET request schema also lists item_id. Use the data to compare content across accounts or review audience feedback by video.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Get comment keywords analysis
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
codeintegerdataobjectitem_idstringkey_wordsobject[]commentsobject[]cidstringcomment_authorobjectnick_namestringuidstring
create_dateintegerdigg_countintegertextstring
key_wordstring
paramsobjectitem_idstring
routerstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
code?: number;
data?: {
item_id?: string;
key_words?: Array<{
comments?: Array<{
cid?: string;
comment_author?: {
nick_name?: string;
uid?: string;
};
create_date?: number;
digg_count?: number;
text?: string;
}>;
key_word?: string;
}>;
};
params?: {
item_id?: string;
};
router?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
tikhubCurrent Get comment keywords analysis · GET · View API reference | $0.001 / call | — | —successP50— |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.1
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_comment_keywords- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_comment_keywords?item_id=7502551047378832671' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
item_id | URL query parametersquery | string | Yes | 作品id/Video id |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"code": 200,
"data": {
"item_id": "7502551047378832671",
"key_words": [
{
"comments": [
{
"cid": "7502621950457463574",
"comment_author": {
"nick_name": "ollie_russell05",
"uid": "7332627012203414560"
},
"create_date": 1746840350,
"digg_count": 17,
"text": "Imagine been tik tok and only getting 700 likes 🥀🙏😭"
}
],
"key_word": "tik tok"
},
{
"comments": [
{
"cid": "7502743477604680465",
"comment_author": {
"nick_name": "★ 🇦🇫",
"uid": "7274239704915149829"
},
"create_date": 1746868614,
"digg_count": 13,
"text": "I want to go viral"
}
],
"key_word": "go viral"
}
]
},
"params": {
"item_id": "7502551047378832671"
},
"router": "/api/v1/tiktok/analytics/fetch_comment_keywords"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Get comment keywords analysis
Retrieve comment keywords analysis with the TikTok API. Supply an item ID. Sample fields include comments. Surface recurring topics and audience feedback. The GET request schema also lists item_id. Use the data to compare content across accounts or review audience feedback by video.
## Available implementations
tikhub · Get comment keywords analysis: https://openany.si/markets/apis/capabilities/tiktok-get-comment-keywords-analysis?offering=b4f78462-fcc1-4839-9c9a-416063821966 · $0.001 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/tiktok-get-comment-keywords-analysis
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_comment_keywords
Price: $0.001 / call
Provider: tikhub
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_comment_keywords?item_id=7502551047378832671' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Get comment keywords analysis",
"endpoint": "https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_comment_keywords",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "作品id/Video id",
"location": "query",
"name": "item_id",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example (HTTP assumed)",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"item_id": "7502551047378832671"
}
},
"response_body": {
"code": 200,
"data": {
"item_id": "7502551047378832671",
"key_words": [
{
"comments": [
{
"cid": "7502621950457463574",
"comment_author": {
"nick_name": "ollie_russell05",
"uid": "7332627012203414560"
},
"create_date": 1746840350,
"digg_count": 17,
"text": "Imagine been tik tok and only getting 700 likes 🥀🙏😭"
}
],
"key_word": "tik tok"
},
{
"comments": [
{
"cid": "7502743477604680465",
"comment_author": {
"nick_name": "★ 🇦🇫",
"uid": "7274239704915149829"
},
"create_date": 1746868614,
"digg_count": 13,
"text": "I want to go viral"
}
],
"key_word": "go viral"
}
]
},
"params": {
"item_id": "7502551047378832671"
},
"router": "/api/v1/tiktok/analytics/fetch_comment_keywords"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
item_id- 作品id/Video id
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_comment_keywords?item_id=7502551047378832671' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "code": 200, "data": { "item_id": "7502551047378832671", "key_words": [ { "comments": [ { "cid": "7502621950457463574", "comment_author": { "nick_name": "ollie_russell05", "uid": "7332627012203414560" }, "create_date": 1746840350, "digg_count": 17, "text": "Imagine been tik tok and only getting 700 likes 🥀🙏😭" } ], "key_word": "tik tok" }, { "comments": [ { "cid": "7502743477604680465", "comment_author": { "nick_name": "★ 🇦🇫", "uid": "7274239704915149829" }, "create_date": 1746868614, "digg_count": 13, "text": "I want to go viral" } ], "key_word": "go viral" } ] }, "params": { "item_id": "7502551047378832671" }, "router": "/api/v1/tiktok/analytics/fetch_comment_keywords" }