REST API
Social Media Downloader API
One REST endpoint to download videos and photos from Instagram, TikTok, YouTube, Facebook, X, Pinterest, RuTube and Likee — plus Shazam recognition. Send a link, get JSON with direct file URLs.
Every major network, one API
The same request shape across all platforms — only the endpoint changes.
Send a link, get direct URLs
https://api.interapi.dev/api/v1/tiktok?url=https://www.tiktok.com/@user/video/7260000000000000000{
"media": [
{
"type": "video",
"url": "https://cdn.example.com/video_hd.mp4",
"quality": "hd",
"width": 1080,
"height": 1920
}
],
"video_url": "https://cdn.example.com/video.mp4",
"thumbnail": "https://cdn.example.com/cover.jpg",
"duration": 14.2
}
Why developers pick InterAPI
- One JSON shapeInstagram, TikTok, YouTube and the rest return the same media array — write your parser once.
- Direct file URLsYou get ready-to-download video and photo links, HD variants and thumbnails — no scraping, no HTML.
- Pay per requestNo subscription. Credits start at 5 per request and never expire. 1,000 free to try.
- Fast and documentedLive in-browser test on every endpoint, code for curl, Python, JavaScript and PHP.
FAQ
Which platforms does the social media downloader API support?
Instagram, TikTok, YouTube, X (Twitter), Facebook, Pinterest, RuTube and Likee for media, plus YouTube Search and Shazam music recognition — ten endpoints in one API.
What does the API return?
JSON with a media array (type, direct URL, quality), the primary video_url, an HD variant when available, and a thumbnail. No HTML parsing on your side.
Is there a free tier?
Yes — every account gets 1,000 free credits. After that you pay per request from 5 credits, and credits never expire.
How do I authenticate?
Send your key in the X-API-Key header. Create a key in the dashboard after signing up; the first 1,000 credits are free.