Video search
Video search results as JSON.
GET /v1/videosRequires a valid API key, an active membership, and available API credit.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
q |
string | yes | — | The search query. |
safe |
string | no | moderate |
Safe-search level: off, moderate, or strict. |
gl |
string | no | (auto) | Two-letter region/country code (e.g. us, gb). |
hl |
string | no | (auto) | Two-letter language code (e.g. en, de). |
time |
string | no | any |
Recency filter: any, hour, day, week, month, year. |
num |
integer | no | (provider default) | Desired result count. Clamped to 5–100 (out-of-range → 20). |
Response
{
"query": "how to make pasta",
"kind": "video",
"results": [
{
"title": "Perfect Fresh Pasta in 10 Minutes",
"url": "https://video.example.com/watch?v=abc123",
"description": "A quick guide to homemade pasta…",
"thumbnail": "https://video.example.com/abc123/thumb.jpg",
"price": null,
"meta": "Example Kitchen",
"extra": "10:32"
}
]
}
| Field | Type | Description |
|---|---|---|
query |
string | The query that was executed. |
kind |
string | Always video for this endpoint. |
results[].title |
string | Video title. |
results[].url |
string | Video / watch-page URL. |
results[].description |
string | null | Description, when available. |
results[].thumbnail |
string | null | Thumbnail image URL. |
results[].meta |
string | null | Channel / source. |
results[].extra |
string | null | Duration, when available. |
results[].price |
string | null | Not used for videos. |
Examples
curl -G "https://api.neuji.com/v1/videos" \ -H "Authorization: Bearer $NEUJI_API_KEY" \ --data-urlencode "q=how to make pasta"
using var http = new HttpClient(); http.DefaultRequestHeaders.Authorization = new("Bearer", Environment.GetEnvironmentVariable("NEUJI_API_KEY")); var url = "https://api.neuji.com/v1/videos?q=" + Uri.EscapeDataString("how to make pasta"); Console.WriteLine(await http.GetStringAsync(url));
const res = await fetch( "https://api.neuji.com/v1/videos?q=" + encodeURIComponent("how to make pasta"), { headers: { Authorization: `Bearer ${process.env.NEUJI_API_KEY}` } }, ); const data = await res.json(); for (const r of data.results) console.log(`${r.title} [${r.extra}] — ${r.meta}`);