Endpoints & Pricing
Three Video Engines, One API Key
Choose DuckDuckGo for the best value, Yahoo for dedicated video search, or Google for inline video results from web search. Pay only for what you use.
DDG Videos
- Dedicated video search (v.js)
- Thumbnails & embed URLs
- Duration & resolution data
- 72 region targeting
- Up to 60 results per request
- 10 automatic retries
Yahoo/Bing Videos
- Dedicated video search portal
- Up to 60 results per request
- 112 country targeting
- Title from image alt text
- Browser-scraped for accuracy
- 10 automatic retries
Google Videos
- Videos appear inline in web search
- Use
/api/searchwith Google engine - No dedicated video endpoint for Google
- Returned in
results.videosarray - YouTube & web video results
- Thumbnails, duration & source info
Quick Start
Search Videos in Seconds
A single API call returns structured video data with thumbnails, embed URLs, and duration. Perfect for video aggregation and research.
# Search for videos about machine learning tutorials curl "https://apiserpent.com/api/videos?q=machine+learning+tutorial&engine=ddg&num=20" \ -H "X-API-Key: YOUR_API_KEY"
{
"searchParameters": {
"q": "machine learning tutorial",
"engine": "ddg",
"type": "videos"
},
"videos": [
{
"title": "Machine Learning Full Course for Beginners",
"url": "https://www.youtube.com/watch?v=example123",
"thumbnailUrl": "https://i.ytimg.com/vi/example123/hqdefault.jpg",
"embedUrl": "https://www.youtube.com/embed/example123",
"duration": "3:42:15",
"source": "YouTube",
"views": "2.4M views"
}
],
"totalResults": 20,
"credits": { "used": 1, "remaining": 99 }
}
Data Fields
Rich Video Metadata from Every Engine
Each video endpoint returns structured JSON with all the metadata you need for video aggregation platforms, content tools, and research applications.
Video Fields
- videos[].title
- videos[].url
- videos[].thumbnailUrl
- videos[].embedUrl
- videos[].duration
- videos[].source
- videos[].views
- totalResults
Request Parameters
- q (search query)
- engine (google, yahoo, ddg)
- num (results count)
- country (localization)
- safe (SafeSearch on/off)
- page (pagination)
Engine Comparison
- DDG: $0.01/1K, v.js JSON API
- Yahoo: $0.04/1K, dedicated portal
- Google: included in web search
- All return thumbnails + URLs
- DDG + Yahoo: 60 results max
Use Cases
- Video content aggregation
- Educational platform curation
- Competitive video analysis
- Content research tools
- Video SEO monitoring
FAQ
Video Search API Questions
Try the Video Search API Free
100 free searches included. Test Google, Yahoo, and DuckDuckGo video search with no credit card required.
Try for Free