Sumvid Public Videos API
The public-videos API from Sumvid, for public-videos.
The public-videos API from Sumvid, for public-videos.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sumvid-app:sumvid-app-public-videos-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: summarize-vid Public Videos API
description: YouTube video transcript summarizer (Claude Haiku).
version: 0.6.0
x-guidance: 'Paid agent calls are POST /v1/summarize, POST /v1/transcript, POST /v1/channel/new, and POST /v1/json/format. Send the request with no authorization to receive HTTP 402. The payment requirements are in the PAYMENT-REQUIRED header and the JSON body. Retry with a PAYMENT-SIGNATURE header. Prices are on each operation under x-payment-info. Discovery documents: GET /.well-known/x402 and GET /.well-known/x402.json.'
tags:
- name: public-videos
paths:
/videos/ids:
get:
tags:
- public-videos
summary: List Video Ids
description: 'Enumerate summarized-video ids with last-summarized timestamps, for the
frontend sitemap. Public, unauthenticated. Declared ABOVE
`/videos/{video_id}` — Starlette matches routes in declaration order, so
the literal `ids` path segment must be matched here first, otherwise it
would be captured by `{video_id}` and auth-gated.'
operationId: list_video_ids_videos_ids_get
parameters:
- name: limit
in: query
required: false
schema:
type: integer
default: 1000
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
default: 0
title: Offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VideoIdsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/videos/recent:
get:
tags:
- public-videos
summary: List Recent Videos
description: 'Recent summarized videos with titles, for the frontend to build
human-readable link hubs (`/videos/ids` returns bare ids, useless for
link text). Public, unauthenticated. `channel` (exact name) backs the
frontend''s channel pages and same-channel links; `tag` (a summary''s
category tag, case-insensitive) backs the library''s tag filter. `lang` is the reader''s language:
titles come from the summary in that language when one exists (else
English, else YouTube''s). Reads never generate translations. Declared ABOVE `/videos/{video_id}`
— same Starlette route-ordering requirement as `/videos/ids`: the
literal `recent` path segment must be matched here first, otherwise it
would be captured by `{video_id}` and auth-gated.'
operationId: list_recent_videos_videos_recent_get
parameters:
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
default: 0
title: Offset
- name: lang
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Lang
- name: channel
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Channel
- name: tag
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Tag
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RecentVideosResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/videos/tags:
get:
tags:
- public-videos
summary: List Video Tags
description: 'The most common summary tags in the reader''s language (English when
that language has none yet), for the frontend''s browse-by-tag chips. Each
links to `/videos/recent?tag=`, which matches the tag in any language.
Public; cached like the stats. Declared ABOVE `/videos/{video_id}`.'
operationId: list_video_tags_videos_tags_get
parameters:
- name: lang
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Lang
- name: limit
in: query
required: false
schema:
type: integer
default: 24
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TopTagsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/channels/uploads:
get:
tags:
- public-videos
summary: List Channel Uploads
description: 'A known channel''s ~15 latest YouTube uploads (its public RSS feed),
each flagged with the languages we already have a summary in. Backs the
frontend''s /c/ "Latest uploads". Public; never enqueues work.
Only channels with at least one video in our DB resolve (404 otherwise),
so callers can''t make us fetch arbitrary channels. The feed is cached
30 min per channel; summary flags are read fresh every call.'
operationId: list_channel_uploads_channels_uploads_get
parameters:
- name: channel
in: query
required: true
schema:
type: string
title: Channel
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ChannelUploadsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/videos/{video_id}/summary:
get:
tags:
- public-videos
summary: Get Public Video Summary Endpoint
description: 'Read an available summary without generating work.
Pass the reader''s preference as `lang` (default English). Prefer that
language, then English, then the newest available summary. The response
reports fallback and translation availability, without private job ids.
Poll this read after requesting a translation; it always reflects the DB.'
operationId: get_public_video_summary_endpoint_videos__video_id__summary_get
parameters:
- name: video_id
in: path
required: true
schema:
type: string
title: Video Id
- name: lang
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Lang
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicVideoSummary'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
RecentVideosResponse:
properties:
requested_language:
type: string
title: Requested Language
default: en
items:
items:
$ref: '#/components/schemas/RecentVideoEntry'
type: array
title: Items
limit:
type: integer
title: Limit
offset:
type: integer
title: Offset
type: object
required:
- items
- limit
- offset
title: RecentVideosResponse
TagCount:
properties:
tag:
type: string
title: Tag
videos:
type: integer
title: Videos
type: object
required:
- tag
- videos
title: TagCount
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
ChannelUploadsResponse:
properties:
channel:
type: string
title: Channel
channel_id:
type: string
title: Channel Id
uploads:
items:
$ref: '#/components/schemas/ChannelUpload'
type: array
title: Uploads
type: object
required:
- channel
- channel_id
- uploads
title: ChannelUploadsResponse
ChannelUpload:
properties:
youtube_video_id:
type: string
title: Youtube Video Id
title:
type: string
title: Title
published_at:
type: string
format: date-time
title: Published At
summary_languages:
items:
type: string
type: array
title: Summary Languages
type: object
required:
- youtube_video_id
- title
- published_at
- summary_languages
title: ChannelUpload
TopTagsResponse:
properties:
language_code:
type: string
title: Language Code
tags:
items:
$ref: '#/components/schemas/TagCount'
type: array
title: Tags
type: object
required:
- language_code
- tags
title: TopTagsResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
VideoIdEntry:
properties:
youtube_video_id:
type: string
title: Youtube Video Id
channel:
anyOf:
- type: string
- type: 'null'
title: Channel
last_summarized_at:
type: string
format: date-time
title: Last Summarized At
languages:
items:
type: string
type: array
title: Languages
default: []
type: object
required:
- youtube_video_id
- last_summarized_at
title: VideoIdEntry
RecentVideoEntry:
properties:
youtube_video_id:
type: string
title: Youtube Video Id
title:
anyOf:
- type: string
- type: 'null'
title: Title
original_title:
anyOf:
- type: string
- type: 'null'
title: Original Title
channel:
anyOf:
- type: string
- type: 'null'
title: Channel
language_code:
anyOf:
- type: string
- type: 'null'
title: Language Code
last_summarized_at:
type: string
format: date-time
title: Last Summarized At
type: object
required:
- youtube_video_id
- last_summarized_at
title: RecentVideoEntry
PublicVideoSummary:
properties:
youtube_video_id:
type: string
title: Youtube Video Id
video_url:
type: string
title: Video Url
title:
anyOf:
- type: string
- type: 'null'
title: Title
original_title:
anyOf:
- type: string
- type: 'null'
title: Original Title
channel:
anyOf:
- type: string
- type: 'null'
title: Channel
thumbnail_url:
anyOf:
- type: string
- type: 'null'
title: Thumbnail Url
duration_seconds:
anyOf:
- type: integer
- type: 'null'
title: Duration Seconds
first_transcribed_at:
type: string
format: date-time
title: First Transcribed At
published_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Published At
summary:
type: string
title: Summary
provider:
type: string
title: Provider
model:
type: string
title: Model
summarized_at:
type: string
format: date-time
title: Summarized At
language_code:
anyOf:
- type: string
- type: 'null'
title: Language Code
requested_language:
anyOf:
- type: string
- type: 'null'
title: Requested Language
available_languages:
items:
type: string
type: array
title: Available Languages
default: []
translation_status:
type: string
enum:
- available
- missing
- in_progress
title: Translation Status
default: available
is_fallback:
type: boolean
title: Is Fallback
default: false
request_count:
type: integer
title: Request Count
type: object
required:
- youtube_video_id
- video_url
- first_transcribed_at
- summary
- provider
- model
- summarized_at
- request_count
title: PublicVideoSummary
VideoIdsResponse:
properties:
videos:
items:
$ref: '#/components/schemas/VideoIdEntry'
type: array
title: Videos
count:
type: integer
title: Count
type: object
required:
- videos
- count
title: VideoIdsResponse
securitySchemes:
HTTPBearer:
type: http
scheme: bearer