curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/other/youtube/videos \
--header 'X-API-Key: <api-key>'import requests
url = "https://data-tools.prd.arrays.org/api/v1/other/youtube/videos"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://data-tools.prd.arrays.org/api/v1/other/youtube/videos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data-tools.prd.arrays.org/api/v1/other/youtube/videos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-tools.prd.arrays.org/api/v1/other/youtube/videos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/other/youtube/videos")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/other/youtube/videos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"channel_id": "<string>",
"channel_name": "<string>",
"channel_url": "<string>",
"cover_object": "<string>",
"cover_url": "<string>",
"description": "<string>",
"duplicate_of": "<string>",
"duration_ms": 123,
"id": "<string>",
"published_at": "<string>",
"resolved_speakers": {},
"screenshots": [
{
"id": "<string>",
"is_cover": true,
"object": "<string>",
"reason": "<string>",
"timestamp_ms": 123,
"url": "<string>"
}
],
"speakers": [
{
"attribution_source": "<string>",
"confidence": 123,
"evidence": "<string>",
"label": "<string>",
"name": "<string>",
"role": "<string>",
"status": "<string>"
}
],
"status": "transcribed",
"title": "<string>",
"transcript": [
{
"end_ms": 123,
"screenshot_ids": [
"<string>"
],
"speaker": "<string>",
"start_ms": 123,
"text": "<string>"
}
],
"turns": [
{
"end_sec": 123,
"speaker": "Arthur Hayes",
"start_sec": 123,
"text": "<string>",
"voice": "spk 3"
}
],
"updated_at": "<string>",
"video_url": "<string>"
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}List YouTube video content
OpenAPI JSON Spec
Lists current YouTube video extraction results for configured channels. The update window is [updated_after, updated_before), ordered by updated_at then id; continue with pagination.cursor.
A channel that took over podcast shows (youtube_channel_id on /other/podcast/shows) lists only videos published at or after the earliest switched_at among those shows; earlier episodes stay with /other/podcast/transcripts. An earlier video is still listed when a listed video names it in duplicate_of. Fetching one video by id is not filtered.
With include_content, a transcript segment’s speaker is the voice that talks most during it: its name when the audio speaker identification is at least 0.4 sure of it, otherwise “spk N”. speakers has one entry per voice the identification listed, labeled as the segments are, with name, role, confidence and attribution_source; a name below 0.4 stays there. A video not yet identified keeps the captions’ own name labels. If no voice is named with confidence 0.4 or more, the captions’ own name labels are kept when they have any, and the segments show “spk N” when they have none.
updated_at is an RFC3339 UTC timestamp with millisecond precision.
The list endpoint rejects offset, including offset=0, because an update window is always required.
With include_content, turns and resolved_speakers are the audio transcript and who each voice is, in the /api/v1/persons/channel-commentary format without person_id; they are absent until speaker identification finishes. No person_id is served anywhere on this endpoint.
cover_url and screenshots[].url are public image URLs. The lane no longer takes screenshots: it downloads a video’s audio and captions only, so screenshots and screenshot_ids appear only on videos processed before it stopped.
duplicate_of is the id of another video that is the same recording: equal discovery captions, cue for cue, and equal duration. A row with status duplicate was not downloaded and has no content; the video it names has it.
See docs/api/youtube-videos-updates.md and docs/api/update-polling.md for the complete update-polling contract.
curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/other/youtube/videos \
--header 'X-API-Key: <api-key>'import requests
url = "https://data-tools.prd.arrays.org/api/v1/other/youtube/videos"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://data-tools.prd.arrays.org/api/v1/other/youtube/videos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data-tools.prd.arrays.org/api/v1/other/youtube/videos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-tools.prd.arrays.org/api/v1/other/youtube/videos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/other/youtube/videos")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/other/youtube/videos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"channel_id": "<string>",
"channel_name": "<string>",
"channel_url": "<string>",
"cover_object": "<string>",
"cover_url": "<string>",
"description": "<string>",
"duplicate_of": "<string>",
"duration_ms": 123,
"id": "<string>",
"published_at": "<string>",
"resolved_speakers": {},
"screenshots": [
{
"id": "<string>",
"is_cover": true,
"object": "<string>",
"reason": "<string>",
"timestamp_ms": 123,
"url": "<string>"
}
],
"speakers": [
{
"attribution_source": "<string>",
"confidence": 123,
"evidence": "<string>",
"label": "<string>",
"name": "<string>",
"role": "<string>",
"status": "<string>"
}
],
"status": "transcribed",
"title": "<string>",
"transcript": [
{
"end_ms": 123,
"screenshot_ids": [
"<string>"
],
"speaker": "<string>",
"start_ms": 123,
"text": "<string>"
}
],
"turns": [
{
"end_sec": 123,
"speaker": "Arthur Hayes",
"start_sec": 123,
"text": "<string>",
"voice": "spk 3"
}
],
"updated_at": "<string>",
"video_url": "<string>"
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}Authorizations
API Key authentication. Example: "your-api-key-here"
Query Parameters
Configured YouTube channel id
Inclusive update bound, Unix seconds
Exclusive update bound, Unix seconds
Page size, 1-500 (max 50 with include_content)
Opaque update-window continuation
Include transcript, speaker matches, description and, on videos processed before screenshots stopped, screenshots

