Skip to content

MediaFire Downloader

This API provides the direct download link from a MediaFire file page. It bypasses the landing page and returns the raw file link, name, and size, allowing you to trigger downloads programmatically.

POST /api/v1/mediafire

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
urlstringYesThe MediaFire sharing URL (e.g., https://www.mediafire.com/file/...).
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/mediafire \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"url": "https://www.mediafire.com/file/xk3..."}'
{
"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"
}
}