TikTok Video API
Get TikTok Video data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 36 implementations (anyapi, LiteScrape, ScrapeCreators and TikHub), pass parameters such as url, and retrieve structured data including identifier, returned author handle field, returned author name field, returned caption field, and returned created utc field for content research and account lookup, and integration reference.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 4 / 36
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
TikTok Video API
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- API
- Pricing
On this page
Overview
TikTok Get video metrics API
Retrieve video metrics with the TikTok API. Provide item_id in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: item_id |
| Selected implementation | tikhub · Get video metrics |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Content research and account lookup: Keep source records connected to their content and account identifiers.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
code |
Business status code |
data.comments.value |
Returned value field |
data.favorites.value |
Returned value field |
data.item_id |
Item identifier |
data.likes.value |
Returned value field |
data.video_summary.content |
Content |
data.video_summary.title |
Title |
data.video_views.value |
Returned value field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_video_metrics?item_id=7502551047378832671' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published TikTok Get video metrics API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| TikTok Video Download · POST · View API reference | $0.0008 / call | —Select to load statistics | —successP50— | |
| TikTok Hashtag Videos · POST · View API reference | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Playlist Videos · POST · View API reference | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Song Videos · POST · View API reference | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Video Transcript (native captions) · POST · View API reference | $0.0011 / call | —Select to load statistics | —successP50— | |
| TikTok Video · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok — Collection Videos · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Comment Replies · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok Video Details · GET · View API reference | $0.00188 / billing credit | —Select to load statistics | —successP50— | |
| TikTok — Comments · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| Get Video-Product Association Statistics · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
Current Get video metrics · GET · View API reference | $0.001 / call | 0 | —successP50— | |
| Get single video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video list of specified hashtag · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video data by sharing link · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Detect fake views in video · GET · View API reference | $0.01 / call | —Select to load statistics | —successP50— | |
| Comments on a TikTok video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Video Associated Product List · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get home feed(recommend) video data · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get AI-generated article of a single video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Batch Get Video Information V2 · POST · View API reference | $0.025 / call | —Select to load statistics | —successP50— | |
| Extract single video id · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Creator Video Overview · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Product Related Videos · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video data V2 · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video data by sharing link · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video data V3 (support country parameter) · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get explore video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Batch Get Video Information · POST · View API reference | $0.01 / call | —Select to load statistics | —successP50— | |
| Tiktok: Search video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Extract list video id · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Creator Video List Analytics · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Video Audience Analysis Data · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Video Detailed Statistics · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video data V2 · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $0.1
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_video_metrics- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
item_id | URL query parametersquery | string | Yes | 作品id/Video id |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobjectcommentsobjectvalueinteger
favoritesobjectvalueinteger
item_idstringlikesobjectvalueinteger
video_summaryobjectcontentstringtitlestring
video_viewsobjectvalueinteger
paramsobjectitem_idstring
routerstring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
item_id- 作品id/Video id
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/analytics/fetch_video_metrics?item_id=7502551047378832671' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "code": 200, "data": { "comments": { "value": 6920 }, "favorites": { "value": 1243 }, "item_id": "7502551047378832671", "likes": { "value": 11571 }, "video_summary": { "content": "This post received more comments per view than most other posts.", "title": "Overview" }, "video_views": { "value": 1555500 } }, "params": { "item_id": "7502551047378832671" }, "router": "/api/v1/tiktok/analytics/fetch_video_metrics" }