---
title: "Search Douyin anchor"
description: "TikHub tool tikhub-api-douyin-xingtu-v2-search-anchor on looot: input fields, $0.001 per call, output shape, and code to run it with curl, JavaScript or Python."
sidebar:
  hidden: true
---

{/* Generated by scripts/generate-api-reference.mjs from data/api-reference.json. Do not edit. */}

Searches Douyin live-stream anchors in the live marketplace by keyword, with full filtering. Send `keyword` (Search keyword: nickname, Douyin ID, Xingtu ID or live co..); optional `tag`, `page`, `gender`, `cpe_max` and more.

- **Tool id:** `tikhub-api-douyin-xingtu-v2-search-anchor`
- **Provider:** [TikHub](/providers/tikhub)
- **Job:** [Search anchor api douyin xingtu v2](/reference/jobs/api-douyin-xingtu-v2-search-anchor) (`api.douyin.xingtu-v2.search-anchor`)
- **Price:** $0.001 per call. A call that fails at the provider costs $0.

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `author_list_id` | string | no | Featured creator list ID |
| `burst_text_rate_max` | string | no | Maximum viral-post rate, 0-1 decimal |
| `burst_text_rate_min` | string | no | Minimum viral-post rate, 0-1 decimal |
| `cpe_max` | string | no | Maximum expected CPE |
| `cpe_min` | string | no | Minimum expected CPE |
| `cpm_max` | string | no | Maximum expected CPM |
| `cpm_min` | string | no | Minimum expected CPM |
| `expected_play_max` | string | no | Maximum expected plays |
| `expected_play_min` | string | no | Minimum expected plays |
| `extra_filter` | string | no | Extra profile filters as a JSON-array string; field_name and field_value must be non-empty strings |
| `fans_max` | string | no | Maximum followers |
| `fans_min` | string | no | Minimum followers |
| `first_industry_id` | string | no | Industry ID |
| `gender` | string | no | Creator gender, 1=male, 2=female |
| `interact_rate_max` | string | no | Maximum interaction rate, 0-1 decimal |
| `interact_rate_min` | string | no | Minimum interaction rate, 0-1 decimal |
| `keyword` | string | yes | Search keyword: nickname, Douyin ID, Xingtu ID or live content word |
| `marketing_target` | integer | no | Marketing target |
| `page` | integer | no | Page number |
| `persona_tags` | string | no | Persona IDs. Comma=match any, semicolon=group AND |
| `play_over_rate_max` | string | no | Maximum play-completion rate, 0-1 decimal |
| `play_over_rate_min` | string | no | Minimum play-completion rate, 0-1 decimal |
| `price_max` | string | no | Maximum anchor price |
| `price_min` | string | no | Minimum anchor price |
| `price_type` | string | no | Live-stream price type, fixed to 9 |
| `sort_field` | string | no | Sort field, default score (comprehensive) |
| `sort_type` | integer | no | Sort type, 1=asc, 2=desc |
| `tag` | string | no | Creator category IDs, comma-separated |
| `task_category` | integer | no | Cooperation target |

## Output

The run's `result` holds the provider's answer. Signed in, `looot inspect tikhub-api-douyin-xingtu-v2-search-anchor` prints its fields.

## Run it

Every call needs your API token in `LOOOT_TOKEN`; [Sign in](/get-started/sign-in#use-the-token-in-scripts-and-agents) shows how to get one. Each run also needs a new idempotency key, so a retry never pays twice. With `wait: 30` the answer comes back inline when the run ends within 30 seconds. Otherwise you get the running run back: poll `GET /v1/runs/<runId>`.

Example input with placeholder values:

<CodeGroup>

```bash curl
curl -X POST "https://api.looot.ai/v1/runs" \
  -H "Authorization: Bearer $LOOOT_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"endpointId":"tikhub-api-douyin-xingtu-v2-search-anchor","input":{"keyword":"<keyword>"},"wait":30}'
```

```js JavaScript
const response = await fetch("https://api.looot.ai/v1/runs", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.LOOOT_TOKEN}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    endpointId: "tikhub-api-douyin-xingtu-v2-search-anchor",
    input: {
      keyword: "<keyword>",
    },
    wait: 30,
  }),
});
const run = await response.json();
console.log(run.status, run.result);
```

```python Python
import os
import uuid

import requests

response = requests.post(
    "https://api.looot.ai/v1/runs",
    headers={
        "Authorization": f"Bearer {os.environ['LOOOT_TOKEN']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "endpointId": "tikhub-api-douyin-xingtu-v2-search-anchor",
        "input": {
            "keyword": "<keyword>",
        },
        "wait": 30,
    },
    timeout=90,
)
run = response.json()
print(run["status"], run.get("result"))
```

</CodeGroup>

To let looot pick among every provider of this job instead, send `job:api.douyin.xingtu-v2.search-anchor` as `endpointId`; see [the job page](/reference/jobs/api-douyin-xingtu-v2-search-anchor).
