Skip to content

MediaFire Downloader

MediaFire Direct scrapes the direct download link from a MediaFire file page. It bypasses the landing page and returns the raw file link, name, and size.

POST /mediafire

FieldTypeRequiredDescription
urlstringYesThe MediaFire sharing URL (e.g., https://www.mediafire.com/file/...).
const res = await fetch('https://heavstal.com.ng/api/v1/mediafire', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({ url: 'https://www.mediafire.com/file/xk3...' })
});
const data = await res.json();
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"filename": "project_v2.zip",
"filetype": "ZIP",
"filesize": "45.2 MB",
"link": "https://download234.mediafire.com/token/project_v2.zip"
}
}