
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
TikTok / YouTube / Instagram video download API CLI — direct links and metadata. Hosted alternative to running yt-dlp yourself.
TikTok / YouTube / Instagram video download API — as a CLI.
Give it a social video URL, get direct media links and metadata back. No yt-dlp to host, no proxies, no scraping stack.
Website · Docs · Get 500 free credits · npm
npm i -g soclip-cli
soclip config set-key <your-api-key> # key from https://soclip.dev
soclip "https://www.tiktok.com/@user/video/…" --quality best
Package name is soclip-cli. The command it installs is soclip.
Machine-readable docs for agents: https://soclip.dev/llms.txt
yt-dlp is excellent on a laptop. In a worker, a bot, or an MCP tool it means maintaining extractors, IP rotation, and breakage. soclip is the same job as an HTTP API: URL in, JSON + direct links out. $0.002 per call, 500 free credits, credits never expire.
Get your API key at https://soclip.dev (GitHub login), then save it:
soclip config set-key <your-api-key>
This writes to ~/.soclip/config.json.
Alternatively, set the SOCLIP_API_KEY environment variable:
export SOCLIP_API_KEY="your-api-key"
The CLI uses the first key it finds:
SOCLIP_API_KEY environment variable — highest priority, overrides the config file~/.soclip/config.jsonHandy for CI or for running one command against a different account without touching your saved config.
soclip "https://www.tiktok.com/@scout2015/video/6718335390841801990"
Output:
Title: Scout's favorite game!
Source: tiktok
Duration: 15s
Thumbnail: https://p16-sign-va.tiktokcdn.com/obj/tos-maliva-p-0068/123456789.jpg
Qualities (2):
- 1080p [1080x1920]
- 720p [720x1280]
Use --quality best|worst|<height> to get a direct link, or --json for the full response.
--quality)soclip "https://www.tiktok.com/@scout2015/video/6718335390841801990" --quality best
Output:
https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068c001/ogB...
Accepted values:
| Value | Meaning |
|---|---|
best | Highest available resolution |
worst | Lowest available resolution |
<height> | A number, e.g. 720 or 1080 |
Numeric matching is nearest-match, not exact. If you ask for
720and the video only offers 480p and 1080p, you get 480p — no error, no warning. Run--jsonfirst if you need to know which resolutions actually exist.
Direct links redirect to a CDN and the signed URL carries no usable filename, so
follow redirects with -L and name the output explicitly with -o:
curl -L -o video.mp4 "$(soclip "<url>" --quality best)"
Do not use
curl -Ohere. Without-Lit saves a 0-byte file (it stores the redirect, not the video), and-Ocannot derive a filename from a signed CDN URL.
soclip balance
Output:
Balance: 100 credits
soclip "https://www.tiktok.com/@scout2015/video/6718335390841801990" --json
Same account, same key:
curl -X POST https://api.soclip.dev/v1/media \
-H "Authorization: Bearer sc_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
Landing pages: TikTok · YouTube · Instagram
1 credit = $0.001. Each successful media extraction costs 2 credits ($0.002). Credits never expire. Get started with free trial credits at https://soclip.dev.
{
"mcpServers": {
"soclip": {
"command": "npx",
"args": ["-y", "soclip-mcp"],
"env": { "SOCLIP_API_KEY": "sc_live_your_api_key" }
}
}
}
If you already ran soclip config set-key, the env block can be omitted.
soclip-mcpMIT License © 2026 soclip
FAQs
TikTok / YouTube / Instagram video download API CLI — direct links and metadata. Hosted alternative to running yt-dlp yourself.
The npm package soclip-cli receives a total of 2 weekly downloads. As such, soclip-cli popularity was classified as not popular.
We found that soclip-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.