# Fetch image search

Search Douyin Fetch image via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by TikHub, pass parameters such as content_type, cursor, filter_duration, and retrieve structured data including business status code, business payload, response message, returned params field, and request identifier for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/douyin/douyin-fetch-image-search/?offering=1d824248-cdaf-4d99-b46e-3a46ba5f6d86
API ID: 1d824248-cdaf-4d99-b46e-3a46ba5f6d86
Provider: tikhub
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/search/fetch_image_search
Page update time: 2026-12-03T02:52:13.897Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.01 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:52:13.227Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "10000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Fetch image search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "keyword": {
          "type": "string",
          "description": "关键词 / Keyword"
        },
        "cursor": {
          "type": "integer",
          "description": "偏移游标，用于翻页，从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response"
        },
        "sort_type": {
          "type": "string",
          "description": "排序方式：0=综合排序 1=最多点赞 2=最新发布 / Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest"
        },
        "publish_time": {
          "type": "string",
          "description": "发布时间筛选：0=不限 1=最近一天 7=最近一周 180=最近半年 / Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year"
        },
        "filter_duration": {
          "type": "string",
          "description": "视频时长过滤：0=不限 0-1=一分钟以内 1-5=一到五分钟 5-10000=五分钟以上 / Video duration filter: 0=Unlimited, 0-1=Within 1 minute, 1-5=1 to 5 minutes, 5-10000=More than 5 minutes"
        },
        "content_type": {
          "type": "string",
          "description": "内容类型：0=不限 1=视频 2=图片 3=文章 / Content type: 0=All, 1=Video, 2=Picture, 3=Article"
        },
        "search_id": {
          "type": "string",
          "description": "搜索ID，用于翻页，从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response"
        },
        "backtrace": {
          "type": "string",
          "description": "翻页回溯标识，用于翻页，从上一次请求返回的响应中获取 / Backtrace for pagination, obtained from the last response"
        }
      }
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cache_message": {
      "type": "string"
    },
    "cache_message_zh": {
      "type": "string"
    },
    "cache_url": {
      "type": "string"
    },
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "null"
    },
    "docs": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "message_zh": {
      "type": "string"
    },
    "params": {
      "type": "object",
      "properties": {}
    },
    "request_id": {
      "type": "string"
    },
    "router": {
      "type": "string"
    },
    "support": {
      "type": "string"
    },
    "time": {
      "type": "string"
    },
    "time_stamp": {
      "type": "integer"
    },
    "time_zone": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/search/fetch_image_search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "content_type": "2",
  "cursor": 0,
  "filter_duration": "0",
  "keyword": "猫咪",
  "publish_time": "0",
  "search_id": "",
  "sort_type": "0"
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
  "cache_message_zh": "本次响应已缓存，可通过下方 URL 直接查看，有效期 24 小时，访问缓存链接无额外费用。缓存仅用于请求溯源，不影响接口数据的时效性，也不会再次通过接口返回。",
  "cache_url": "<cache_url>",
  "code": 200,
  "data": null,
  "docs": "<docs>",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功，本次请求将被计费。",
  "params": {},
  "request_id": "<request_id>",
  "router": "",
  "support": "Discord: https://discord.gg/aMEAS8Xsvz",
  "time": "<time>",
  "time_stamp": 0,
  "time_zone": "America/Los_Angeles"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- tikhub: https://openany.si/market/apis/douyin/douyin-fetch-image-search/?offering=1d824248-cdaf-4d99-b46e-3a46ba5f6d86

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
