Skip to main content
GET
/
media
/
available
Get available media
curl --request GET \
  --url https://api.example.com/media/available
{
  "id": "<string>",
  "snippet": {
    "resourceId": {
      "kind": "<string>",
      "videoId": "<string>"
    },
    "title": "<string>",
    "thumbnails": {}
  },
  "contentDetails": {
    "duration": "<string>",
    "regionRestriction": {
      "blocked": [
        "<string>"
      ]
    },
    "contentRating": {}
  },
  "statistics": {
    "viewCount": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://opendonationassistant.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

query
string | null

Search query for YouTube videos

playlistId
string | null

YouTube playlist ID to retrieve videos from

videoId
string | null

Specific YouTube video ID

Response

List of available videos

YouTube video data

id
string | null

Video ID

snippet
object

Video snippet with title, description, thumbnails

contentDetails
object

Content details like duration

statistics
object

Video statistics (views, likes, etc.)