v8

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-2526602.8 MB
Media

Download Media from the OnlyFans CDN

Downloads a file directly from a https://cdn*.onlyfans.com/* URL. When the file is already cached on our CDN, this endpoint returns a 302 redirect to a https://cdn.fansapi.com/* URL. Most HTTP clients follow redirects automatically (curl requires -L). Otherwise, the file is streamed through our proxies and queued for caching.

get/api/{account}/media/download/{cdnUrl}