Developers & AI
Built for agents, not just browsers.
The REST API and MCP server are live. Authenticate with an API key — created in your account under Settings → Developer — or with OAuth 2.1: Brollvia runs its own authorization server, which is how ChatGPT and Claude connectors sign in (no key pasting). Both credential kinds share the same scopes, plan quotas and licence receipts as the website. Errors use one envelope: {"error": {"code": "…", "message": "…"}}, and every response carries X-RateLimit-* headers.
REST API — endpoints
| Endpoint | Scope | What it does |
|---|---|---|
| GET /api/v1/search | read | Search with all web filters (natural language is parsed). Cursor pagination via meta.next_cursor. |
| GET /api/v1/assets/curated · /assets/trending | read | Curated and most-downloaded lists. |
| GET /api/v1/assets/{id} · /assets/{id}/similar | read | Full metadata and similar assets. |
| POST /api/v1/assets/{id}/download | download | Licence-checked download → signed 15-minute URL + licence record. Plan rules enforced (caps, HD vs original, Pro library). |
| GET /api/v1/licences/{id} | read | Licence certificate data; add ?format=pdf for the PDF. |
| GET/POST /api/v1/collections · GET /collections/{id} | read / collections:write | Your collections and shot lists. |
| POST /collections/{id}/assets · DELETE /collections/{id}/assets/{asset_id} | collections:write | Add or remove assets. |
| GET /api/v1/topics · /contributors/{id} · /me · /me/usage | read | Topics, contributor stats, your account + plan, usage counters. |
OpenAPI 3 spec (JSON) Join free, then get a key
Webhooks (v1.4)
Register an HTTPS endpoint in Settings → Developer → Webhooks (site admins can also register global ones) and Brollvia POSTs a signed JSON event when things happen to your assets. Events: asset.approved (your upload passed moderation), download.created (someone licensed one of your assets), payout.sent (a contributor payout was transferred to you). Deliveries retry up to 3 times with backoff via the cron queue and every attempt is logged on the Developer page.
Answer with any 2xx within ~10 seconds. Use the Test ping button on the Developer page to see a live webhook.test delivery. Keep the secret private — anyone holding it can forge events that look like ours.
The same call, four languages
MCP server — connect your assistant
Server URL: https://brollvia.com/mcp · Streamable HTTP, stateless — no local install, no daemon. Discovery: https://brollvia.com/.well-known/mcp
SDKs (v1.6)
Thin, dependency-light wrappers over the REST API — the same licence-checked download flow, plan quotas and error envelope, without hand-rolling HTTP. Both SDKs are versioned with the site (SDK 1.6.0, API v1) and are free to use in your projects.
Download the JavaScript SDK (.zip) Download the Python SDK (.zip)
Writes from the SDKs (collections) need a key with the collections:write scope; downloads need download. Keys are scoped, quota'd and revocable — create and manage them under Settings → Developer. Editing inside Premiere Pro or DaVinci Resolve? See the editor panels. Building an agent or app on Brollvia? List it in the agent gallery.
Why it matters
Licences an agent can prove.
Every download — by a person, a script or a model — writes the same licence record with the asset hash and timestamp. When a client asks “are we cleared to use this shot?”, the answer is a certificate, not a shrug.