crawlfetch
Media API for developers · YouTube, TikTok, Instagram

The media API for apps that work with video.

Send a public video URL and get back clean metadata and a stored copy your app can use, for content you own or have permission to use. One GET request, plain JSON, and you only pay when it works.

Works with
bash — crawlfetch
$
{ "title": "Big Buck Bunny", "durationSec": 635, "bestQuality": "360p",
"downloadUrl": "https://media.crawlfetch.com/grabcast/youtube/aqz-KE-bpKQ/360p.mp4",
"credits": 40, "formats": [ { "label": "360p", "container": "mp4", "sizeMb": 24.6 } ] }

How it works

No SDK to install and no webhooks to wire up. A request goes in, a file URL comes out.

  1. 1
    Send the link

    Call /v1/youtube, /v1/tiktok or /v1/instagram with the video URL and your API key.

  2. 2
    We fetch the file

    The first request downloads the video at the quality you asked for and saves it to our storage.

  3. 3
    Use the download URL

    You get title, duration, formats and a downloadUrl that keeps working. Repeat requests come straight from storage.

Try it with your own link

Paste a public YouTube, TikTok or Instagram Reel URL and it opens in the Playground, the same code path your app will call.

Opens the Playground in your account. New accounts get 1,000 free credits, no card.

Built for apps that need the actual file

Getting a title and a thumbnail is easy. Getting a file you can keep is the hard part, so that is what we focus on.

A link that keeps working

Every response has a downloadUrl on our storage, not a platform CDN link that expires in a few hours. Save it, send it to a user or copy the file to your own bucket.

GET /v1/tiktok?url=…
200 OK · 15 credits
"downloadUrl": "https://…"
Choose the quality

Ask for 360p up to 4K, depending on your plan, or audio only as m4a. The /formats endpoint shows what a video has before you download it.

mp4m4a
Fast on repeat
Plain REST
Respects creators

Public videos only, with title and channel kept in every response so you can credit the creator. Rights holders can ask us to remove a file.

Pay for downloads that work

Failed requests cost nothing. New accounts get 1,000 credits ($1) free, plus 500 every month on the Free plan. No card needed.

One request per video

A GET with the video URL and your key. You get JSON back. It works the same from curl, a Node or Python server, or a serverless function.

  • →Pass a YouTube (watch, Shorts, youtu.be, embeds), TikTok or Instagram (Reels, video posts) URL.
  • →Ask for a quality with res=720p, or audio with format=m4a. Leave both out to get the best your plan allows.
  • →Get back JSON with a downloadUrl served from our storage (Cloudflare R2).
  • →Each successful call costs a few credits, and every charge shows up in your dashboard.
curl "https://api.crawlfetch.com/v1/resolve?url=https%3A%2F%2Fyoutu.be%2Faqz-KE-bpKQ&format=mp4&res=1080p" \
-H "Authorization: Bearer $CRAWLFETCH_KEY"

Pricing

Pay in credits. 1 credit = $0.001, and failed calls are free.

Free
$0/mo
500 credits / month

For side projects and trying things out.

  • 1,000 credits ($1) on signup
  • 500 credits every month
  • ≈ 62 YouTube clips or 55 TikToks a month
  • Up to 720p
  • 1 API key
Start free
Starter
$19/mo
19,000 credits / month

For a first app in production.

  • 19,000 credits every month
  • ≈ 2,375 YouTube clips or 2,100 TikToks
  • Up to 1080p + audio-only
  • 3 API keys
  • Top up any time
Choose Starter
Most popular
Pro
$49/mo
49,000 credits / month

For production apps with real traffic.

  • 49,000 credits every month
  • ≈ 6,100 YouTube clips or 5,400 TikToks
  • Up to 4K + audio-only
  • 5 API keys, scoped
  • Top up any time
Choose Pro
Scale
$200/mo
200,000 credits / month

For platforms that live on video.

  • 200,000 credits every month
  • ≈ 25,000 YouTube clips or 22,200 TikToks
  • Up to 4K + audio-only
  • Unlimited API keys
  • Top up any time
Choose Scale

Need more than 200,000 credits a month? Talk to us about Enterprise. Ran out mid-month? Top up from $10 ($1 = 1,000 credits, valid 12 months).

FAQ

Three live services: YouTube (videos and Shorts), TikTok and Instagram (Reels and video posts). Each has its own endpoint (/v1/youtube, /v1/tiktok, /v1/instagram), and /v1/resolve detects the platform from the URL. Facebook, X, Vimeo, Dailymotion, Reddit and Pinterest are on the roadmap.

Content you own or have permission to use: your own uploads, your clients' videos, licensed or Creative Commons material. Private, members-only and paid content is not supported. See the Acceptable Use Policy.

Yes. The first resolve of a video copies the file to our storage (Cloudflare R2) and returns a public URL to that copy, so the link works from any network. Later resolves of the same video are served from the stored copy.

The downloadUrl points at our stored copy, so it does not expire after a few hours like a raw CDN link. The first resolve of a video takes longer while it is copied; repeat resolves are nearly instant.

Video comes as mp4, from 360p up to 4K depending on your plan and on what the video has. Audio-only is an m4a file (Starter plan and up). Call /v1/<platform>/formats to see the options for a video before downloading it.

Every plan comes with monthly credits, and 1 credit = $0.001. A successful download costs a platform base plus credits for each MB of the file: YouTube 4 + 1.46 per MB, Instagram and TikTok 3 + 1.46 per MB (rounded up). A 10 MB YouTube video is 19 credits and a 1 GB file is 1,500 credits ($1.50). Failed calls cost nothing, and every charge is listed on the Credits tab.

Calls answer 402 insufficient_credits until you add more. Buy a top-up from $10 ($1 = 1,000 credits, valid 12 months) or move to a bigger plan from the dashboard. Plan credits reset every month and do not roll over.

Not yet. The API is plain REST, so any HTTP client works, and the docs have ready-to-copy examples for cURL, Node.js and Python.

Built for content you're allowed to use

CrawlFetch is infrastructure for developers, not a public download site.

Content you have the rights to

Your own uploads, your clients' videos, licensed or Creative Commons content. You confirm you have the rights before you request a file.

Public videos only

No private, members-only or paid content, and no getting around a platform's access controls.

We act on copyright notices

Rights holders can ask us to remove a stored file. Accounts with repeated valid notices are closed.

Read the Acceptable Use Policy and Copyright & DMCA policy.

Sign up and get $1 of credits free

1,000 credits on signup plus 500 every month. That is roughly 180 YouTube clips to start, with no card.

Create free account