naftiko: 1.0.0-alpha2 info: label: TikTok Research API — Research Videos description: 'TikTok Research API — Research Videos. 4 operations. Lead operation: List User Liked Videos. Self-contained Naftiko capability covering one Tiktok For Developers business surface.' tags: - Tiktok For Developers - Research Videos created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TIKTOK_FOR_DEVELOPERS_API_KEY: TIKTOK_FOR_DEVELOPERS_API_KEY capability: consumes: - type: http namespace: tiktok-research-research-videos baseUri: https://open.tiktokapis.com description: TikTok Research API — Research Videos business capability. Self-contained, no shared references. resources: - name: v2-research-user-liked_videos path: /v2/research/user/liked_videos/ operations: - name: listuserlikedvideos method: POST description: List User Liked Videos outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v2-research-user-pinned_videos path: /v2/research/user/pinned_videos/ operations: - name: listuserpinnedvideos method: POST description: List User Pinned Videos outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v2-research-user-reposted_videos path: /v2/research/user/reposted_videos/ operations: - name: listuserrepostedvideos method: POST description: List User Reposted Videos outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v2-research-video-query path: /v2/research/video/query/ operations: - name: queryresearchvideos method: POST description: Query Research Videos outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string description: Comma-separated list of fields to return required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.TIKTOK_FOR_DEVELOPERS_API_KEY}}' exposes: - type: rest namespace: tiktok-research-research-videos-rest port: 8080 description: REST adapter for TikTok Research API — Research Videos. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/research/user/liked-videos name: v2-research-user-liked-videos description: REST surface for v2-research-user-liked_videos. operations: - method: POST name: listuserlikedvideos description: List User Liked Videos call: tiktok-research-research-videos.listuserlikedvideos with: fields: rest.fields body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/research/user/pinned-videos name: v2-research-user-pinned-videos description: REST surface for v2-research-user-pinned_videos. operations: - method: POST name: listuserpinnedvideos description: List User Pinned Videos call: tiktok-research-research-videos.listuserpinnedvideos with: fields: rest.fields body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/research/user/reposted-videos name: v2-research-user-reposted-videos description: REST surface for v2-research-user-reposted_videos. operations: - method: POST name: listuserrepostedvideos description: List User Reposted Videos call: tiktok-research-research-videos.listuserrepostedvideos with: fields: rest.fields body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/research/video/query name: v2-research-video-query description: REST surface for v2-research-video-query. operations: - method: POST name: queryresearchvideos description: Query Research Videos call: tiktok-research-research-videos.queryresearchvideos with: fields: rest.fields body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: tiktok-research-research-videos-mcp port: 9090 transport: http description: MCP adapter for TikTok Research API — Research Videos. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-user-liked-videos description: List User Liked Videos hints: readOnly: true destructive: false idempotent: false call: tiktok-research-research-videos.listuserlikedvideos with: fields: tools.fields body: tools.body outputParameters: - type: object mapping: $. - name: list-user-pinned-videos description: List User Pinned Videos hints: readOnly: true destructive: false idempotent: false call: tiktok-research-research-videos.listuserpinnedvideos with: fields: tools.fields body: tools.body outputParameters: - type: object mapping: $. - name: list-user-reposted-videos description: List User Reposted Videos hints: readOnly: true destructive: false idempotent: false call: tiktok-research-research-videos.listuserrepostedvideos with: fields: tools.fields body: tools.body outputParameters: - type: object mapping: $. - name: query-research-videos description: Query Research Videos hints: readOnly: true destructive: false idempotent: false call: tiktok-research-research-videos.queryresearchvideos with: fields: tools.fields body: tools.body outputParameters: - type: object mapping: $.