# MediaFire Downloader โ€” Zapi reference > MediaFire file downloader โ€” retrieve direct download link, file metadata, and size info from any public MediaFire share URL. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/downloader/mediafire - Endpoint catalog: https://zpi.web.id/category/downloader - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## MediaFire Downloader **Category:** downloader ยท **Slug:** `mediafire` **Detail page:** https://zpi.web.id/api/downloader/mediafire MediaFire file downloader โ€” retrieve direct download link, file metadata, and size info from any public MediaFire share URL. **Tags:** downloader, file, storage ### Download - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/downloader:mediafire/download` - **Cache TTL:** 360s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `url` | string | query | yes | URL halaman MediaFire (bukan link download langsung) | **cURL:** ```bash curl "https://api.zpi.web.id/v1/downloader:mediafire/download?url=https%3A%2F%2Fwww.mediafire.com%2Ffile%2Frutx9o67641wjm9%2FMediaFire_-_Getting_Started.pdf%2Ffile" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/downloader:mediafire/download?url=https%3A%2F%2Fwww.mediafire.com%2Ffile%2Frutx9o67641wjm9%2FMediaFire_-_Getting_Started.pdf%2Ffile", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/downloader:mediafire/download?url=https%3A%2F%2Fwww.mediafire.com%2Ffile%2Frutx9o67641wjm9%2FMediaFire_-_Getting_Started.pdf%2Ffile", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "fileId": "rutx9o67641wjm9", "fileName": "MediaFire+-+Getting+Started.pdf", "fileSize": "372.37KB", "fileType": "application/pdf", "thumbnail": "https://static.mediafire.com/images/filetype/download/pdf.jpg", "downloadUrl": "https://download2389.mediafire.com/do04ru3p1loghjdnGs4W9K2W0ef_N_CpzbMTzfG_fkDFJ0KmoMIVAJ2NoMr-Uj2Mr1ho9n05iwVGxQVwypSk2pcySKAGWcPKBI9dlGisI1OuYYridrDNVWvBgMg8Pk2W1qLWai1Y1I7Trwqahi9REtn2GO556a97eR9IpzTNIYvb/rutx9o67641wjm9/MediaFire+-+Getting+Started.pdf" } ``` --- _Generated: 2026-08-02T14:29:49.943Z_