Media
[Deprecated] Scrape media from the OnlyFans CDN
Changed on⚠️ This is a deprecated endpoint. Please use the new "Download media from the OnlyFans CDN" endpoint! Scrapes a https://cdn*.onlyfans.com/* URL or Vault Media ID, and uploads it to the OnlyFans API CDN, where you can view or download the file. Max file size is 500MB
post/api/{account}/media/scrape
Request
- Base URLhttps://app.onlyfansapi.com
- URLhttps://app.onlyfansapi.com/api/{account}/media/scrape
- AuthHTTP bearer
Request body
Example request
{
"url": "https://cdn2.onlyfans.com/files/e/e5/123/600x400_123.jpg?Tag=2&u=123&Policy=123&Signature=signature&Key-Pair-Id=123",
"media_id": 1234567890,
"file_type": "full",
"expiration_date": "2025-01-01 00:00:00"
}Response
Example response
{
"temporary_url": "https://ofapi-media-prod.nyc3.digitaloceanspaces.com/123/600x400_123.jpg",
"expiration_date": "2025-01-01T00:00:00.000000Z"
}Changes
- breaking
the response property
/became nullable for the status - info
api operation id
scrapeMediaFromTheOnlyFansCDNremoved and replaced withDeprecatedScrapeMediaFromTheOnlyFansCDN - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
request body became optional
- info
the request property
became nullable - info
the request property
became optional
- breaking