# Download Media from the OnlyFans CDN (/api-reference/media/download-media-from-the-only-fans-cdn)



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Downloads a file directly from `https://cdn*.onlyfans.com/*` URL. Use this endpoint to directly download a file from URL.

<APIPage document={"https://app.onlyfansapi.com/scribe-docs/openapi.yaml"} operations={[{"path":"/api/{account}/media/download/{cdnUrl}","method":"get"}]} />
