# Get ad keyframe analysis

Get TikTok AD data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by TikHub, pass parameters such as material_id, and retrieve structured data including business status code, returned drop points field, returned highlight points field, returned retention rates field, and returned time points field for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=2946c851-58ea-4912-86a9-f9cc50ca9192
API ID: 2946c851-58ea-4912-86a9-f9cc50ca9192
Provider: tikhub
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_ad_keyframe_analysis
Page update time: 2026-12-03T02:53:41.835Z
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.001 / 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:53:33.383Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Get ad keyframe analysis 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": {
        "material_id": {
          "type": "string",
          "description": "广告素材ID/Ad material ID"
        },
        "metric": {
          "type": "string",
          "description": "分析指标/Analysis metric (retain_ctr, retain_cvr, click_cnt, convert_cnt, play_retain_cnt)"
        },
        "cookie": {
          "type": "string",
          "description": "自定义Cookie字符串（可选）"
        }
      },
      "required": [
        "material_id"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "keyframe_data": {
          "type": "object",
          "properties": {
            "drop_points": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "highlight_points": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "retention_rates": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "time_points": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "params": {
      "type": "object",
      "properties": {
        "material_id": {
          "type": "string"
        }
      }
    },
    "router": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example (HTTP assumed; request placeholders)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_ad_keyframe_analysis' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "material_id": "<REPLACE_MATERIAL_ID>"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "code": 200,
  "data": {
    "keyframe_data": {
      "drop_points": [
        2,
        4
      ],
      "highlight_points": [
        1,
        5
      ],
      "retention_rates": [
        100,
        95,
        88,
        82,
        78,
        75
      ],
      "time_points": [
        0,
        1,
        2,
        3,
        4,
        5
      ]
    }
  },
  "params": {
    "material_id": "7213258221116751874"
  },
  "router": "/api/v1/tiktok/ads/get_ad_keyframe_analysis"
}
```

## 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
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=5a707d0d-6a2e-4d20-8d4d-3815d7aed496
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=603f362b-02a4-4ea1-bf03-0aff79f4012b
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=6f094d5d-3fc2-48e6-ace0-0082f93d9987
- anyapi: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=8841b046-b89f-4dfb-bcd9-5cb189a1c77e
- scrapecreators: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=05f2b06f-fc84-4a1d-a8a7-675ccfd4766a
- scrapecreators: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=0b243c2f-276a-430a-abec-fa9ed386b216
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=0b986dce-2b15-467d-b45d-95b4e06d6362
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=2946c851-58ea-4912-86a9-f9cc50ca9192
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=3c3ad071-9a32-402b-a572-ba02dabe019d
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=42a0e4ea-41b8-43e1-864b-3b1910ad03ee
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=462ae38d-a66d-495a-99f0-0599da0cb715
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=9dfa7d86-8f5b-43ac-8bdc-eb7b4a0a488a
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=b80b338c-6891-4598-adc1-9c156181a581
- tikhub: https://openany.si/market/apis/tiktok/tiktok-ad/?offering=f4f7568c-b659-4a0b-bab1-93bc374f1838

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