# Panda Video Library API

**Canonical:** https://apis.io/apis/pandavideo-com/pandavideo-com-library-api/  
**Provider:** Panda Video — https://apis.io/providers/pandavideo-com/  
**Base URL:** https://api-v2.pandavideo.com  
**Documentation:** https://docs.pandavideo.com/reference

Panda Video Library API is one of 73 APIs that [Panda Video](https://apis.io/providers/pandavideo-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Library. The published artifact set on APIs.io includes an OpenAPI specification.

<br /> # Library A **library** is the root organization container in Panda — it owns videos, defines the qualities they will be encoded at, controls which playback resolutions reach end-users, and holds the per-account security settings (referer policy, anti-download). Most users have **one library**, automatically created on signup. Sub-accounts can have additional libraries linked to the parent. ## Concepts | Term | Description | |---|---| | `library_id` | UUID v4 — primary identifier of a library | | `video_library_id` / `pullzone_id` | Numeric IDs that map the library to Bunny CDN infrastructure | | `encoding` | Resolutions the transcoding pipeline will generate (write-once per video) | | `playback` | Resolutions exposed to the player (subset of `encoding` expected) | | `keep_original_files` | If `true`, the uploaded master is preserved in storage | | `compression_mode` | `size` / `balanced` / `quality` — encoder preset trade-off | | `block_none_refer` | If `true`, the CDN rejects requests without an allowed referer | | `block_download` | Library-wide anti-download flag (HLS-only delivery) | ## Endpoints in this section | Method | Path | Page | |---|---|---| | GET | `/library` | Get user library | | GET | `/library/{library_id}` | Get library details or referrers | | PUT | `/library/{library_id}` | Update qualities and processing settings (Video Qualities) | ## Business rules - Quality changes are **not retroactive** — `encoding` / `playback` updates affect new videos only. - `playback` should be a subset of `encoding`. The API does not reject violations; misconfigured combinations produce unavailable streams. - `block_none_refer` is **not** updatable through `PUT /library/{library_id}`. Use `POST /library/{library_id}?action=referValidation` instead. - Mutations sync to Bunny CDN asynchronously and invalidate memcache (`getLibraryById_*`, `getVerifyIfHasLibraryId_*`). ## Related sections - **Referrer Management** — manage the allowed-domain whitelist and the global refer policy. - **Block Download** — toggle the library-wide download blocker.

## Operations (10)

| Method | Path | Summary |
|---|---|---|
| GET | `/library` | Get user library |
| GET | `/library/{library_id}` | Get library details or referrers |
| PUT | `/library/{library_id}` | Videos Qualities |
| GET | `/library/{library_id}/hls-encryption` | Get HLS encryption status |
| PUT | `/library/{library_id}/hls-encryption` | Update HLS encryption status |
| GET | `/library/{library_id}?action=folder_refer` | List folder referrers |
| POST | `/library/{library_id}?action=folder_refer` | Add a folder referrer |
| DELETE | `/library/{library_id}?action=folder_refer` | Remove a folder referrer |
| GET | `/library/{library_id}?action=folder_refer_inherited` | List inherited folder referrers |
| GET | `/library/{library_id}?action=refer_all` | List all referrers (consolidated) |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/pandavideo-com/openapi/pandavideo-com-library-api-openapi.yml

## Other Panda Video APIs (12)

- [analytics-api](https://apis.io/apis/pandavideo-com/analytics-api/)
- [Panda Video AI Generation API](https://apis.io/apis/pandavideo-com/pandavideo-com-ai-generation-api/)
- [Panda Video AI Images API](https://apis.io/apis/pandavideo-com/pandavideo-com-ai-images-api/)
- [Panda Video AI Package API](https://apis.io/apis/pandavideo-com/pandavideo-com-ai-package-api/)
- [Panda Video AI Resource Files API](https://apis.io/apis/pandavideo-com/pandavideo-com-ai-resource-files-api/)
- [Panda Video Analytics API](https://apis.io/apis/pandavideo-com/pandavideo-com-analytics-api-api/)
- [Panda Video App API](https://apis.io/apis/pandavideo-com/pandavideo-com-app-api/)
- [Panda Video Assist Ai API](https://apis.io/apis/pandavideo-com/pandavideo-com-assist-ai-api/)
- [Panda Video Assistants API](https://apis.io/apis/pandavideo-com/pandavideo-com-assistants-api/)
- [Panda Video Audios API](https://apis.io/apis/pandavideo-com/pandavideo-com-audios-api/)
- [Panda Video Audit Logs API](https://apis.io/apis/pandavideo-com/pandavideo-com-audit-logs-api/)
- [Panda Video Block Download API](https://apis.io/apis/pandavideo-com/pandavideo-com-block-download-api/)

## Tags

Library

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pandavideo-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/pandavideo-com/pandavideo-com-library-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pandavideo-com/.
