Concepts
Storage & caching
Files are stored once and served from storage after that.
The first request#
The first request for a video fetches it at the quality you asked for and stores a copy. For long videos this can take a few minutes. cached is false in the response.
Repeat requests#
Later requests for the same video and quality are answered from storage in milliseconds, with cached: true. They are charged by the same credit rule.
Timeouts and retries#
- Set your HTTP timeout to about 300 seconds.
- Two identical requests at the same time share one download, so retrying after a timeout never fetches twice.
- Failed requests are free, so retrying a
502costs nothing.
Removal#
Stored files can be removed at any time, for example after a valid copyright notice. See the Copyright & DMCA policy. If you need a file long-term, copy it to your own storage.