Skip to content

API: Catalog

List the platforms a video can be downloaded from

The closed list. A URL outside it is refused before yt-dlp is started, so this service cannot be used to fetch an arbitrary address.

GET/api/v1/download-platforms

Authentication#

No key is needed. This route is public.

Responses#

200 OK#

Content type application/json. Schema: PlatformList.

NameTypeRequiredDescription
dataarray of PlatformView-Every platform a URL may belong to

Any other status#

Content type application/problem+json. Error (RFC 9457 problem details). Schema: Problem.

The error follows RFC 9457. See Errors.

curl -X GET "http://localhost:3000/api/v1/download-platforms"

Response examples

{
  "data": [
    {
      "hosts": [
        "youtube.com",
        "youtu.be",
        "youtube-nocookie.com"
      ],
      "label": "YouTube",
      "name": "youtube"
    }
  ]
}

The examples are built from the schemas, so every value is a placeholder of its type. The tables above hold the fields that carry the real values.