Social Media Video API for Data Extraction at Scale

Real-time, robust and scalable APIs for video metadata; native captions on YouTube/TikTok; Douyin captions via speech transcription.

35M+Avg Daily Requests
< 3sAvg Response Time
99.7%Success Rate
YouTubeTikTokDouyinSpeech ASR200 OKhttps://youtube.com/watch?v=k9X7...Extract4K · HDR08:42AI Video Mining at Scale@DataMiner · 1.2M views16kHz Audio OKSubtitles & TimestampsSRTVTTJSON00:01.20Welcome to DataMiner Video API...00:04.50Extract captions & timestamps...00:08.10Auto ASR fallback · 24+ languages...Structured alignment · 1-click export
import requests

API_BASE = "https://www.dataspider.ai/api"
HEADERS = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
}

detail = requests.post(
    f"{API_BASE}/youtube/detail",
    headers=HEADERS,
    json={"url": "https://www.youtube.com/watch?v=sample-keynote"},
)
print(detail.json())

subs = requests.post(
    f"{API_BASE}/youtube/subtitle",
    headers=HEADERS,
    json={"url": "https://www.youtube.com/watch?v=sample-keynote", "language": ""},
)
print(subs.json())

Developer API

One API for video data, subtitles, and transcription

One request returns title, author, thumbnail, and duration from YouTube, TikTok, and Douyin; YouTube/TikTok also expose native caption tracks.

Douyin has no caption API—use transcription. Other platforms can fall back to ASR when captions are missing.

Parameters, response fields, and full examples are in the API docs, so you can integrate quickly.

Get started with DataMiner for free (no credit card required) →

Our Video Data API Endpoints

Features

Why choose DataMiner as your video data provider?

Real-time API

Parse public content and return structured data in real time.

Unified schema

One schema for title, author, duration, thumbnail, and more.

REST API & SDK

Standard HTTP requests from any backend language.

Simple authentication

One API key for every product capability.

Multilingual captions

Native captions on YouTube/TikTok; timed text for Douyin via transcription.

ASR fallback

Transcription jobs when captions are missing or on Douyin.

What is DataMiner API designed for?

From structured metadata to timestamped subtitles and ASR, built for modern video intelligence.

01

Video archiving

Store metadata, thumbnails, and captions or transcripts in one library.

02

Content research

Build datasets from metadata and text—including Douyin ASR—across platforms.

03

AI data preparation

Turn videos into structured metadata and timestamped text.

04

Creator analysis

Compare authors, publish dates, duration, and content topics.

05

Cross-platform monitoring

Process YouTube, TikTok, and Douyin with one schema.

06

Media workflows

Feed editing, translation, summarization, and moderation pipelines.

Frequently Asked Questions

Who is DataMiner for?+

Developers and teams that need public video metadata, captions, and speech transcription.

Which platforms are supported?+

YouTube, TikTok, and Douyin, plus standalone speech transcription.

What data does the API return?+

Detail endpoints return metadata; YouTube/TikTok subtitle endpoints return timed captions; Douyin uses transcription for timed text.

What if captions are unavailable?+

For Douyin, POST /api/transcribe/submit. Elsewhere, try subtitle first, then ASR and poll job_id.

How do I authenticate?+

Create an API key in the console and send it in the Authorization header.

How is usage measured?+

API usage is recorded with account credits; pricing details live on the pricing page.

Getting started is easy

Sign up and try for free

Sign up on our platform (no credit card required) and immediately get your API token to start using the API for free.

Sign up

Need support?

Read endpoint parameters, response schemas, complete examples across languages, and async transcription workflows.

Read the docs