Start a batch transcript job
curl --request POST \
--url https://api.urltodata.ai/v1/youtube/transcript/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"videoIds": [
"<string>"
],
"playlistId": "<string>",
"channelId": "<string>",
"lang": "<string>",
"text": true,
"chunkSize": 123,
"limit": 123
}
'import requests
url = "https://api.urltodata.ai/v1/youtube/transcript/batch"
payload = {
"videoIds": ["<string>"],
"playlistId": "<string>",
"channelId": "<string>",
"lang": "<string>",
"text": True,
"chunkSize": 123,
"limit": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
videoIds: ['<string>'],
playlistId: '<string>',
channelId: '<string>',
lang: '<string>',
text: true,
chunkSize: 123,
limit: 123
})
};
fetch('https://api.urltodata.ai/v1/youtube/transcript/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"jobId": "<string>"
}API Reference
Start a batch transcript job
POST
/
v1
/
youtube
/
transcript
/
batch
Start a batch transcript job
curl --request POST \
--url https://api.urltodata.ai/v1/youtube/transcript/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"videoIds": [
"<string>"
],
"playlistId": "<string>",
"channelId": "<string>",
"lang": "<string>",
"text": true,
"chunkSize": 123,
"limit": 123
}
'import requests
url = "https://api.urltodata.ai/v1/youtube/transcript/batch"
payload = {
"videoIds": ["<string>"],
"playlistId": "<string>",
"channelId": "<string>",
"lang": "<string>",
"text": True,
"chunkSize": 123,
"limit": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
videoIds: ['<string>'],
playlistId: '<string>',
channelId: '<string>',
lang: '<string>',
text: true,
chunkSize: 123,
limit: 123
})
};
fetch('https://api.urltodata.ai/v1/youtube/transcript/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"jobId": "<string>"
}⌘I