Skip to main content
GET
/
v1
/
scrape
/
youtube
/
video
/
transcript
Transcript
curl --request GET \
  --url https://api.sociavault.com/v1/scrape/youtube/video/transcript \
  --header 'X-API-Key: <api-key>'
{
  "videoId": "bjVIDXPP7Uk",
  "type": "video",
  "url": "https://www.youtube.com/watch?v=bjVIDXPP7Uk",
  "transcript": [
    {
      "text": "welcome back to the hell farm and the",
      "startMs": "160",
      "endMs": "1920",
      "startTimeText": "0:00"
    }
  ],
  "transcript_only_text": "welcome back to the hell farm and the backyard trails we built these jumps two years ago and last year we just kind of rebuilt them and this year......",
  "language": "English"
}
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

url
string
required

YouTube video or short URL

Example:

"https://www.youtube.com/watch?v=bjVIDXPP7Uk"

Response

Successful response

videoId
string
required
Example:

"bjVIDXPP7Uk"

type
string
required
Example:

"video"

url
string
required
Example:

"https://www.youtube.com/watch?v=bjVIDXPP7Uk"

transcript
object[]
required
transcript_only_text
string
required
Example:

"welcome back to the hell farm and the backyard trails we built these jumps two years ago and last year we just kind of rebuilt them and this year......"

language
string
required
Example:

"English"