API Docs

Only CineVault has a public read API today. The other products (nbbalbb Drive, English) use private APIs that require an account and a session; they are not documented here. If you need access to something that is not listed, write to contact@nbbalbb.top.

CineVault catalog API

Base URL: https://cinevault.nbbalbb.top/api. All responses are JSON. No key is required for the read endpoints.

List clips

GET /api/clips — returns the clip catalog: id, title, genre, location, format, resolution, duration, poster and preview URLs, source, author, license, prices, and the current view and download counts.

GET https://cinevault.nbbalbb.top/api/clips

Record a view

POST /api/clips/{id}/view — records one view for a clip and returns the updated view count. Call it when a preview starts playing.

POST https://cinevault.nbbalbb.top/api/clips/aquitaine-coast/view

Download a clip

GET /api/clips/{id}/download — records one download and redirects (302) to the clip file. Use this link for downloads so the count stays accurate.

GET https://cinevault.nbbalbb.top/api/clips/aquitaine-coast/download

Submit a license request

POST /api/license — JSON body with name, email, clip_id, tier (0 = Web & social, 1 = Commercial, 2 = Broadcast), and project. Returns {"ok": true, "ref": "CV-…"} with the stored reference number.

{
  "name": "Jane Producer",
  "email": "jane@example.com",
  "clip_id": "aquitaine-coast",
  "tier": 1,
  "project": "Documentary"
}

Submit footage

POST /api/contribute — JSON body with name, email, and link (reel or portfolio URL). Returns {"ok": true, "ref": "CV-C-…"}.

Health check

GET /api/health — returns {"ok": true, "service": "cinevault-api"}.