API DocstiktokDataGet single ad detail
Get single ad detail
What this API is for
- Retrieve detailed information about a single TikTok ad, including creative content, creator info, and engagement data
- Analyze ad performance metrics such as views, likes, comments, and other core statistics
- Help advertisers and marketers gain deep insights into specific ad effectiveness and user feedback
POST
/openapi/api/v1/tiktok/ads/get_ads_detailPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- ads_id: Ad ID, required parameter, can be obtained from ad lists or TikTok Ads Creative Center
- cookie: Custom Cookie string, optional parameter, can be used to fetch more data
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| ads_id | body / string | Yes |
| |
| cookie | body / string | No |
|
Request examples
curl -X POST "https://api.trmesh.com/openapi/api/v1/tiktok/ads/get_ads_detail" \ -H "Authorization: Bearer sdc_your_project_token"
Response fields
- ad_title: Ad title
- brand_name: Brand name
- comment: Comment count
- cost: Cost level (1-5)
- country_code: List of target country codes
- ctr: Click-through rate (percentage)
- favorite: Whether favorited
- has_summary: Whether has summary
- highlight_text: Highlight text
- id: Ad ID
- industry_key: Industry label
- is_search: Whether from search results
- keyword_list: List of keywords
- landing_page: Landing page URL
- like: Like count
- objective_key: Ad objective key
- objectives: List of ad objectives
- label: Objective label
- value: Objective value
- pattern_label: List of pattern labels
- share: Share count
- source: Source
- source_key: Source key value
- tag: Tag
- video_info: Video information
- vid: Video ID
- duration: Duration (seconds)
- cover: Cover image URL
- video_url: Video playback URLs
- 720p: 720p quality video URL
- width: Video width
- height: Video height
- voice_over: Whether has voice over
| Field | Type | Notes | Example |
|---|---|---|---|
| ad_title | unknown |
| |
| brand_name | unknown |
| |
| comment | unknown |
| |
| cost | unknown |
| |
| country_code | unknown |
| |
| ctr | unknown |
| |
| favorite | unknown |
| |
| has_summary | unknown |
| |
| highlight_text | unknown |
| |
| id | unknown |
| |
| industry_key | unknown |
| |
| is_search | unknown |
| |
| keyword_list | unknown |
| |
| landing_page | unknown |
| |
| like | unknown |
| |
| objective_key | unknown |
| |
| objectives | unknown |
| |
| label | unknown |
| |
| value | unknown |
| |
| pattern_label | unknown |
| |
| share | unknown |
| |
| source | unknown |
| |
| source_key | unknown |
| |
| tag | unknown |
| |
| video_info | unknown |
| |
| vid | unknown |
| |
| duration | unknown |
| |
| cover | unknown |
| |
| video_url | unknown |
| |
| 720p | unknown |
| |
| width | unknown |
| |
| height | unknown |
| |
| voice_over | unknown |
|
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples