Xigua Video Search Video

2.07 credits/call
ae_xigua_search_video

Search Xigua Video by keyword, with optional sorting, duration filters, and pagination. Inputs: - keyword (required string): The search keyword. - offset (optional integer, default 0): Use 0 for the first request. For later pages, use the offset returned by the previous response. - order_type (optional string): Omit or leave empty for default ordering. Use publish_time for newest videos or play_count for most played. - min_duration (optional integer): Minimum video duration in seconds; omit if not needed. - max_duration (optional integer): Maximum video duration in seconds; omit if not needed. Returns: A response containing the video search results. Detailed video item fields are not specified. Use the returned offset for subsequent pages when available. Example: keyword="travel", order_type="play_count", min_duration=60, max_duration=180, offset=0 searches for travel videos lasting 1–3 minutes, sorted by play count.

VideoSocial
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
offsetintegerNo偏移量/Offset0
keywordstringYes关键词/Keyword—
order_typestringNo排序方式/Order type—
max_durationintegerNo最大时长/Maximum duration—
min_durationintegerNo最小时长/Minimum duration—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_xigua_search_video' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "keyword": "INMO",
    "offset": 0,
    "order_type": "publish_time"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "count": 10,
    "err_code": 0,
    "has_more": true,
    "offset": 10,
    "req_id": "2026110823495921612AB9B9BEF50B0294",
    "results": [
      {
        "attr": {
          "click-recom": "{\"gid\":\"7356568820242186788\",\"sign\":\"\",\"tokens\":[\"in\",\"mo\"],\"search_position\":\"\",\"m_tab\":\"\",\"tab_name\":\"video\",\"log_pb\":{\"impr_id\":\"2026110823495921612AB9B9BEF50B0294\",\"impr_type\":\"__search__\"},\"pd\":\"synthesis\",\"aladdin\":\"article_click\",\"search_id\":\"202611",
          "is-ad": "false",
          "is-separator": "false"
        },
        "data": {
          "cell_type": 51,
          "emphasized": {
            "source": "啵先生",
            "summary": "对未来科技充满幻想的朋友,这款智能AR眼镜可以了解一下#<em>INMO</em>",
            "title": "对未来科技充满幻想的朋友,这款智能AR眼镜可以了解一下#<em>INMO</em>"
          },
          "group_flags": 32833,
          "group_id": "7356568820242186788",
          "group_source": 2,
          "highlight": {
            "title": []
          }
        }
      }
    ]
  },
  "docs": "https://api.tikhub.io/#/Xigua-App-V2-API/search_video_api_v1_xigua_app_v2_search_video_get",
  "message": "Request successful. This request will incur a charge."
}

This example shows part of the response. Copied content is valid JSON.