Search, video details, channel info, and playlist data
YouTube Search
Search videos, channels, and playlists with filters for type, duration, order, country, and safe search.
GET /api/social/youtube/searchVideo Details
Get full metadata for any video: title, description, views, likes, comments, tags, duration, and thumbnails.
GET /api/social/youtube/videoChannel Info
Retrieve channel statistics including subscriber count, total views, video count, description, and links.
GET /api/social/youtube/channelPlaylist Data
List all videos in a playlist with titles, thumbnails, durations, and positions.
GET /api/social/youtube/playlistPublic profile scraping
Profile Scraping
Get public profile data: username, bio, follower/following counts, post count, profile picture, and verification status.
GET /api/social/instagram/profileWhy Serpent
Skip the complexity of official APIs
No Platform API Keys
No Google Cloud project, no YouTube Data API quota, no Instagram Graph API, no OAuth. Just one Serpent API key for everything.
Simple Pricing
YouTube from $0.11/1K, Instagram from $0.58/1K. No daily quotas, no rate limit tiers to worry about, no surprise bills.
Unified JSON Format
Consistent, clean JSON responses across all endpoints. No pagination tokens to manage, no nested resource structures.
Always Up-to-Date
We handle scraper maintenance, proxy rotation, and anti-bot evasion. You just call the API and get fresh data.
Developer Friendly
RESTful endpoints with query parameters. Works with any language, any framework, any platform. No SDKs required.
Reliable & Fast
Built on Google Cloud infrastructure with auto-scaling. Sub-second response times for cached data, under 5 seconds for fresh scrapes.
Pricing
Transparent pricing across all social endpoints
| Endpoint | Description | Price per 1K |
|---|---|---|
| /api/social/youtube/searchYouTube | Search YouTube videos, channels, playlists | $0.20 |
| /api/social/youtube/videoYouTube | Get video metadata, stats, tags | $0.20 |
| /api/social/youtube/channelYouTube | Channel info, subscriber count, stats | $0.20 |
| /api/social/youtube/playlistYouTube | List playlist videos and metadata | $0.20 |
| /api/social/instagram/profileInstagram | Public profile data and stats | $1.05 |
Platform Comparison
Choose the right platform for your needs
- Search videos, channels, playlists
- Video metadata (views, likes, tags, duration)
- Channel stats (subscribers, video count)
- Pagination with page tokens
- Filter by type, duration, country, order
- No Google API key or quota needed
- Public profile scraping (bio, stats)
- Follower and following counts
- Engagement rate calculation
- Recent posts with like/comment data
- Verification status and category
- No Instagram login or OAuth needed
Quick Start
Start pulling social data in seconds
curl "https://apiserpent.com/api/social/youtube/search?q=machine+learning+tutorial&num=5" \
-H "X-API-Key: YOUR_API_KEY"
# Response
{
"platform": "youtube",
"type": "search",
"query": "machine learning tutorial",
"results": [
{
"position": 1,
"title": "Machine Learning in 10 Minutes",
"url": "https://youtube.com/watch?v=abc123",
"channel": "Tech Academy",
"views": "2.4M views",
"published": "8 months ago",
"duration": "10:24",
"thumbnail": "https://i.ytimg.com/vi/abc123/hqdefault.jpg"
}
],
"total_results": 5
}
import requests
resp = requests.get(
"https://apiserpent.com/api/social/instagram/profile",
params={"username": "natgeo"},
headers={"X-API-Key": "YOUR_API_KEY"}
)
profile = resp.json()
print(f"Name: {profile['full_name']}")
print(f"Followers: {profile['followers']:,}")
print(f"Posts: {profile['post_count']:,}")
print(f"Bio: {profile['bio']}")
print(f"Verified: {profile['is_verified']}")
FAQ
Frequently asked questions
Serpent API currently supports YouTube (search, video details, channel info, playlist data) and Instagram (profile scraping). All endpoints return structured JSON data and require no official platform API keys.
No. Serpent API handles all data collection internally. You only need a Serpent API key -- no Google Cloud project, no YouTube Data API quota, and no OAuth setup required.
YouTube endpoints start from $0.11 per 1,000 requests (Scale tier) and Instagram endpoints start from $0.58 per 1,000 requests (Scale tier). There are no subscriptions or minimums. You get 100 free requests when you sign up.
You can search YouTube videos with filters (type, duration, order, country, safe search), get detailed video metadata (views, likes, description, tags), retrieve channel information (subscribers, video count, description), and list playlist contents.
The Instagram profile endpoint returns public profile data including username, full name, bio, follower count, following count, post count, profile picture URL, and whether the account is verified or private.
Start pulling social media data today
Sign up for free and get 100 trial requests. No credit card required to start.