Media
[Deprecated] Scrape media from the OnlyFans CDN
⚠️ 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 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"
}