YouTube Instagram
YouTube + Instagram

Social Media API

Access YouTube and Instagram data through a single REST API. Search videos, get channel stats, scrape profiles -- no official API keys or OAuth required. YouTube from $0.11/1K, Instagram from $0.58/1K.

Try for Free API Documentation
YouTube API

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/search

Video Details

Get full metadata for any video: title, description, views, likes, comments, tags, duration, and thumbnails.

GET /api/social/youtube/video

Channel Info

Retrieve channel statistics including subscriber count, total views, video count, description, and links.

GET /api/social/youtube/channel

Playlist Data

List all videos in a playlist with titles, thumbnails, durations, and positions.

GET /api/social/youtube/playlist
View Full YouTube API Docs
Instagram API

Public profile scraping

Profile Scraping

Get public profile data: username, bio, follower/following counts, post count, profile picture, and verification status.

GET /api/social/instagram/profile

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.

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
$0.11
per 1,000 requests -- YouTube endpoints (Scale tier)
$0.00011
Per YouTube request
Pay-as-you-go
No subscriptions
100 free
Trial requests

Choose the right platform for your needs

YouTube API
From $0.11/1K (Scale)
  • 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
View YouTube API details →
Instagram API
From $0.58/1K (Scale)
  • 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
View Instagram API details →

Start pulling social data in seconds

cURL - YouTube Search
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
}
Python - Instagram Profile
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']}")

Frequently asked questions

What social media platforms does Serpent API support?

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.

Do I need a YouTube Data API key to use this?

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.

How much does the Social Media API cost?

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.

What YouTube data can I access?

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.

What Instagram data can I access?

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.

Related pages