v2

latestOpenAPI 3.1.02026-08-07262688.0 KB
Videos

Search N videos

Do simple video listing or do advanced video search with filters, sorting, pagination, facets and counting

get/vids

Query parameters

qstring

Query filtering formula, must be url-encoded. Similarity uses i~, i~~, i~~~ for semantic similarity search and i=, i==, i=== for visual duplicate-detection search. i==== requests an additional, more precise duplicate-verification pass on the top candidate, slightly slower than the other comparisons; this mode is currently restricted to selected tenants.

Query filtering formula, must be url-encoded. Similarity uses i~, i~~, i~~~ for semantic similarity search and i=, i==, i=== for visual duplicate-detection search. i==== requests an additional, more precise duplicate-verification pass on the top candidate, slightly slower than the other comparisons; this mode is currently restricted to selected tenants.

pageinteger

Page number. 1 is the first page.

Page number. 1 is the first page.

limitinteger

Maximum number of videos to return per page

Maximum number of videos to return per page

sort_by'' | 'id' | 'src' | 'title' | 'headline' | 'date' | 'date_jdn' | 'duration_secs' | 'height' | 'width'

Sorting criterion. Note that sort_by=similarity only works if there are present "similary filters" on the Query Filtering Formula.

Sorting criterion. Note that sort_by=similarity only works if there are present "similary filters" on the Query Filtering Formula.

sort_order'asc' | 'desc'

Ascending or descending sorting.

Ascending or descending sorting.

fieldsstring[]

Array of fields to retrieve. Example: fields=image_id&fields=src

Array of fields to retrieve. Example: fields=image_id&fields=src

facetsstring[]

Array of facets to retrieve. Example: facets=author&facets=keywords

Array of facets to retrieve. Example: facets=author&facets=keywords

countboolean

Include total hit count?

Include total hit count?

lang'ml' | 'en' | 'es'

Language code.

Language code.

Response

Successful Response

countinteger required
facetsobject required

Example response

{
  "results": [
    {
      "thumbnail_url": "https://cdn.example.com/video/thumb.jpg",
      "preview_url": "https://cdn.example.com/video/preview.mp4",
      "img_src": "https://cdn.example.com/video/thumb.jpg",
      "img_zoom": "https://cdn.example.com/video/preview.mp4",
      "date": "2024-10-19"
    }
  ]
}