Documentation contents

VCP 1 Documentation›API Reference

Search

An optional catalog-wide search endpoint, returning the same video summaries as a collection listing.

Advertise the search keyword in your manifest'scapabilities to mount this route. No user identity is ever required.

GET/search?q={query}

The response has the exact shape ofa collection's items listing —items plus next_cursor — so clients reuse their summary rendering as-is. Match on title and tags at minimum; fuzzier matching is up to you.

curl "https://api.example.com/vcp/v1/search?q=arrival&limit=25" \
  -H "VCP-Service-Token: vcps_a81f42..."
200 OK
{
  "items": [
    {
      "id": "vid_88213",
      "title": "Episode 1 - Arrival",
      "duration": 1440,
      "thumbnail_url": "https://cdn.example.com/thumbs/88213.jpg",
      "updated_at": "2026-06-28T08:11:00Z"
    }
  ],
  "next_cursor": null
}

Remember that search queries are untrusted client-supplied input — treat them like any other, especially if they end up rendered on your website (see theprovider checklist).

Coming soon!

We're putting the finishing touches on VClarity. It'll be on the App Store and Google Play very soon.