API DocsdouyinSearchSearch Anchor
Search Anchor
What this API is for
- Search Douyin live-stream anchors in the live marketplace by keyword, with full filtering
- Price: 0.002$ / time
GET
/openapi/api/v1/douyin/xingtu_v2/search_anchorPrice: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
- keyword: Search keyword: nickname, Douyin ID, Xingtu ID or live content word
- page: Page number, default 1
- sort_field: Sort field, default score (comprehensive sort)
- sort_type: Sort type, 1=asc, 2=desc, default 2
- Cooperation: task_category, marketing_target, first_industry_id
- Match: tag (category), persona_tags, gender, fans_min/fans_max
- Cost-performance: expected_play_min/max, cpm_min/max,
- cpe_min/max, interact_rate_min/max, play_over_rate_min/max, burst_text_rate_min/max
- Price: price_type is fixed to 9 for live-stream pricing; price_min/price_max define the
- anchor-price range and require price_type when either bound is supplied
- Featured: author_list_id
- Profile filters extra_filter: for audience/fans profile, region, connected-users, etc.
- Pass a JSON-array string; each element is {"field_name":"...","field_value":"..."} (optional rel_id),
- Common fields:
- Audience gender: watcher_gender_female_rate_v2__ge (female-ratio threshold 0.5/0.6/0.7/0.8),
- male uses watcher_gender_male_rate_v2__ge
- Audience age: watcher_age_most_new (dominant audience age, encoded array, e.g. [22]=24-30)
- Example: extra_filter=[{"field_name":"watcher_gender_female_rate_v2__ge","field_value":"0.5"}]
- Note: valid IDs for tag/persona_tags come from get_author_market_fields; dynamic profile
- fields and codes come from get_search_field_options; rate params are 0-1 decimals (0.02=2%)
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| keyword | query / string | Yes |
| 游戏 |
| page | query / integer | No |
| 1 |
| sort_field | query / string | No |
| score |
| sort_type | query / integer | No |
| 2 |
| task_category | query / integer | No |
| 6 |
| marketing_target | query / integer | No |
| 3 |
| first_industry_id | query / integer | null | No |
| |
| author_list_id | query / string | null | No |
| |
| price_type | query / unknown | null | No |
| 9 |
| price_min | query / integer | null | No |
| 1000 |
| price_max | query / integer | null | No |
| 100000 |
| tag | query / string | null | No |
| 1 |
| persona_tags | query / string | null | No |
| 1129,110401 |
| gender | query / integer | null | No |
| 2 |
| fans_min | query / integer | null | No |
| 10000 |
| fans_max | query / integer | null | No |
| 1000000 |
| expected_play_min | query / integer | null | No |
| 100000 |
| expected_play_max | query / integer | null | No |
| 1000000 |
| cpm_min | query / number | null | No |
| 10 |
| cpm_max | query / number | null | No |
| 100 |
| cpe_min | query / number | null | No |
| 0.1 |
| cpe_max | query / number | null | No |
| 5 |
| interact_rate_min | query / number | null | No |
| 0.02 |
| interact_rate_max | query / number | null | No |
| 0.5 |
| play_over_rate_min | query / number | null | No |
| 0.05 |
| play_over_rate_max | query / number | null | No |
| 0.9 |
| burst_text_rate_min | query / number | null | No |
| 0.1 |
| burst_text_rate_max | query / number | null | No |
| 0.8 |
| extra_filter | query / string | null | No |
| [{"field_name":"content_theme_labels_180d","field_value":"[\"生活好物评测\"]"},{"field_name":"watcher_gender_female_rate_v2__ge","field_value":"0.6"},{"field_name":"link_crowd_profile","field_value":"[60,55,53,57]"}] |
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/douyin/xingtu_v2/search_anchor" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- Anchor search result data (anchor info, live price, ACU/PCU, avg viewers, etc.)
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