List Videos

Returns the profile videos the owner added in the dashboard, oldest first, with the parsed YouTube id, embed URL and thumbnail. This list is public and read-only.

GET/v1/videos

Authentication

Public key?key=pk_…

Public key in the `key` query parameter. No OAuth, no secret.

Edge cache: 5 s

Query Parameters

keystring
required

The site's public key (pk_…). It selects the account. Safe to ship to the browser.

Responses

200Success
application/json
videosarray[object]

Errors

401Missing or invalid public key
403TENANT_INACTIVE: the account has no active subscription (body also carries `code`)

Notes

  • `youtubeId`, `embedUrl` and `thumbnail` are `null` when the saved URL is not a recognizable YouTube link; use `url` as is in that case.
  • The list is `[]` when the owner has no videos.
Request
curl --request GET \
--url "https://api.pandaidx.com/v1/videos?key={{public_key}}"
Response200 OK
{
"videos": [
{
"title": "Welcome to Miami",
"url": "https://www.youtube.com/watch?v=aB3dE5fG7hI",
"youtubeId": "aB3dE5fG7hI",
"embedUrl": "https://www.youtube.com/embed/aB3dE5fG7hI",
"thumbnail": "https://i.ytimg.com/vi/aB3dE5fG7hI/hqdefault.jpg"
}
]
}