crawlfetch

Offline playback in mobile apps

Mobile apps should never hold your API key. The secure pattern: the app asks your backend for a link, your backend calls CrawlFetch, and the app downloads the file with the platform's background download APIs.

Flow

  1. App → your backend: POST /offline { url } (authenticated user).
  2. Backend → API: GET /v1/resolve with the server-side key; return downloadUrl and metadata.
  3. App downloads with URLSession background tasks (iOS), DownloadManager/WorkManager (Android) or a background plugin (Flutter).
  4. Store the file in app-private storage and play it with the native player.

FAQ

Why not call the API from the app?

Keys in apps can be extracted from the binary. Keep it on a server and add per-user limits there.

Related

Last updated 2026-10-25

Add video downloads to your product today.

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

Create free account