{
  "openapi": "3.1.0",
  "info": {
    "title": "Zapi — Downloader",
    "description": "Every Downloader endpoint on Zapi. Rendered catalog: https://preview.zapi.ink/category/downloader",
    "version": "1.0.0",
    "license": {
      "name": "Zapi Terms of Service",
      "url": "https://preview.zapi.ink/terms"
    }
  },
  "servers": [
    {
      "url": "https://api-preview.zapi.ink"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "schemas": {
      "Envelope": {
        "type": "object",
        "required": [
          "status",
          "message"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "success",
              "error"
            ]
          },
          "message": {
            "type": "string"
          },
          "content": {}
        }
      }
    },
    "responses": {
      "Error": {
        "description": "Invalid key, rate limit, or upstream failure",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Envelope"
            }
          }
        }
      }
    }
  },
  "externalDocs": {
    "url": "https://preview.zapi.ink/category/downloader/llms.txt"
  },
  "paths": {
    "/v1/downloader:bilibili/download": {
      "get": {
        "operationId": "downloader_bilibili_download",
        "summary": "Get Video",
        "description": "",
        "tags": [
          "Bilibili Downloader"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/bilibili#reference-download"
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "URL video bilibili.tv",
            "schema": {
              "type": "string",
              "example": "https://www.bilibili.tv/id/video/4799525516221440"
            }
          },
          {
            "name": "quality",
            "in": "query",
            "required": false,
            "description": "Kualitas video yang diinginkan. Default 480P",
            "schema": {
              "type": "string",
              "enum": [
                "240P",
                "360P",
                "480P",
                "720P",
                "1080P"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "aid": "4799525516221440",
                    "like": "42",
                    "type": "video/mp4",
                    "cover": "https://p.bstarstatic.com/ugc/4638ca63eff73252f3744ffc9b96fc11.jpg?x-oss-process=image%2Fresize%2Cw_600%2Fcrop%2Cmid%2Cw_600%2Ch_315%2Fformat%2Cwebp%2Fquality%2CQ_90%2Fwatermark%2Cimage_bWFuYWdlbWVudC80ZmVhODYxNzM0OGZmNDIzMDg0ZmRiNjE5MTJkZWEyZC5wbmc_eC1vc3MtcHJvY2Vzcz1pbWFnZS9yZXNpemUsUF8yMA%2Cshadow_70%2Cg_ne%2Cx_22%2Cy_16%2Fwatermark%2Cimage_bWFuYWdlbWVudC8yM2FkMzc5ODYxNjZhMGQwY2Y5NjAwZDI1NWE4OWNmNC5wbmc_eC1vc3MtcHJvY2Vzcz1pbWFnZS9yZXNpemUsUF8yMA%2Cg_center",
                    "title": "PENERBANGAN TERAKHIR 2026 Bahasa Indonesia",
                    "views": "3.9K",
                    "quality": "480P",
                    "audioUrl": "https://upos-sz-mirrorcosbstar1.bilivideo.com/iupxcodeboss/q7/ay/n260513ad2a0k8sq8xwcueeimr1oayq7-1-1d1301000022.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&mid=0&os=cosbstar1bv&oi=1275924703&trid=29827210a90240d49ec42713b18b81b9i&platform=pc&uipk=5&nbs=1&deadline=1779502144&gen=playurlv3&upsig=fb1478143aa54c3e67d3d0be2ac1d77b&uparams=e,mid,os,oi,trid,platform,uipk,nbs,deadline,gen&bvc=vod&orderid=0,2&logo=00000000&f=i_0_0",
                    "inputUrl": "https://www.bilibili.tv/id/video/4799525516221440",
                    "videoUrl": "https://upos-sz-mirrorcosbstar1.bilivideo.com/iupxcodeboss/q7/ay/n260513ad2a0k8sq8xwcueeimr1oayq7-1-131210110000.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&os=cosbstar1bv&oi=1275924703&trid=29827210a90240d49ec42713b18b81b9i&uipk=5&nbs=1&deadline=1779502144&gen=playurlv3&mid=0&platform=pc&upsig=20d8ca232a3e3a8d9c8498037e79cc18&uparams=e,os,oi,trid,uipk,nbs,deadline,gen,mid,platform&bvc=vod&orderid=0,2&logo=00000000&f=i_0_0",
                    "description": " ",
                    "availableQualities": [
                      "720P",
                      "480P",
                      "360P",
                      "240P",
                      "144P",
                      "720P",
                      "480P",
                      "360P",
                      "240P",
                      "144P"
                    ]
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/v1/downloader:ddsfds/sodas": {
      "post": {
        "operationId": "downloader_ddsfds_sodas",
        "summary": "sdsadas",
        "description": "",
        "tags": [
          "dsdsdfsf"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/ddsfds#reference-sodas"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "id": "chatcmpl-BXjEhhXRsueXCjs6hRB2e",
                    "model": "copilot",
                    "usage": {
                      "total_tokens": 64,
                      "prompt_tokens": 35,
                      "completion_tokens": 29
                    },
                    "object": "chat.completion",
                    "choices": [
                      {
                        "index": 0,
                        "message": {
                          "role": "assistant",
                          "content": "Halo, aku Copilot, pendamping AI dari Microsoft yang hadir untuk membantu memperluas pengetahuan dan pemahamanmu."
                        },
                        "finish_reason": "stop"
                      }
                    ],
                    "created": 1779400479
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "messages": {
                    "type": "array",
                    "default": [
                      {
                        "role": "system",
                        "content": "You are a helpful assistant. Respond in Bahasa Indonesia."
                      },
                      {
                        "role": "user",
                        "content": "Halo, perkenalkan dirimu dalam 1 kalimat."
                      }
                    ]
                  },
                  "stream": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/downloader:ddsfds/endpoint-2": {
      "post": {
        "operationId": "downloader_ddsfds_endpoint_2",
        "summary": "Endpoint 2",
        "description": "",
        "tags": [
          "dsdsdfsf"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/ddsfds#reference-endpoint-2"
        },
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": null
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "image"
                ],
                "properties": {
                  "image": {
                    "type": "string",
                    "format": "binary",
                    "example": "photo.jpg"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/downloader:fuckingfast/download": {
      "get": {
        "operationId": "downloader_fuckingfast_download",
        "summary": "Download",
        "description": "",
        "tags": [
          "FuckingFast Downloader"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/fuckingfast#reference-download"
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "URL atau ID file fuckingfast.co",
            "schema": {
              "type": "string",
              "example": "https://fuckingfast.co/wajys77edcwh"
            }
          },
          {
            "name": "trackDownload",
            "in": "query",
            "required": false,
            "description": "Tambahkan hitungan download di counter file. Default false",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "fileId": "wajys77edcwh",
                    "tracked": false,
                    "fileName": "FBUP9910win-yasir252.rar",
                    "downloads": 0,
                    "sizeBytes": 105906176,
                    "sizeHuman": "101.0MB",
                    "viewerUrl": "https://fuckingfast.co/wajys77edcwh",
                    "downloadUrl": "https://dl.fuckingfast.co/dl/jMNp74cyhi3lZGR-5vwP7sO2OtMk_xENqawqoTXHpoROg6lWj519aPEqHHZiWhy-OimuCizRAGyY3cVeqMTW2he6s9VCFIfXOVGu8-1QPaTZqCuWVs_8fWnhEPk"
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/v1/downloader:google-drive/download": {
      "get": {
        "operationId": "downloader_google_drive_download",
        "summary": "Download",
        "description": "",
        "tags": [
          "Google Drive Downloader"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/google-drive#reference-download"
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "URL atau ID file/folder Google Drive",
            "schema": {
              "type": "string",
              "example": "https://drive.google.com/file/d/1CaJig7lPfOqKGtsv34jWophJ1Q1LLhJC/view?usp=sharing"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "id": "1CaJig7lPfOqKGtsv34jWophJ1Q1LLhJC",
                    "name": "image.jpeg",
                    "size": "237.61 KB",
                    "type": "file",
                    "viewUrl": "https://drive.google.com/file/d/1CaJig7lPfOqKGtsv34jWophJ1Q1LLhJC/view",
                    "mimeType": "image/jpeg",
                    "downloadUrl": "https://drive.usercontent.google.com/download?id=1CaJig7lPfOqKGtsv34jWophJ1Q1LLhJC&export=download&authuser=0"
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/v1/downloader:mediafire/download": {
      "get": {
        "operationId": "downloader_mediafire_download",
        "summary": "Download",
        "description": "",
        "tags": [
          "MediaFire Downloader"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/mediafire#reference-download"
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "URL halaman MediaFire (bukan link download langsung)",
            "schema": {
              "type": "string",
              "example": "https://www.mediafire.com/file/rutx9o67641wjm9/MediaFire_-_Getting_Started.pdf/file"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "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/o2umon6c0irgzrcDZyPxmyOHdt05n5NnvITfnGlw0UfvVMpJTzRacaEWPqedDBQ4sAqv1FGwcfUCByy8ouPTFim1e5mcvIvt6jqbywHreLMbDWa6gEorgcCg1jl4RwcnL_J0h5YVaJP3M2MtZhK-5R9hrFiDIPUrddgOkWrZftIj/rutx9o67641wjm9/MediaFire+-+Getting+Started.pdf"
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/v1/downloader:mega-nz/download": {
      "get": {
        "operationId": "downloader_mega_nz_download",
        "summary": "Download",
        "description": "",
        "tags": [
          "Mega.nz Downloader"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/mega-nz#reference-download"
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "URL file Mega.nz (format /file/ atau /#!)",
            "schema": {
              "type": "string",
              "example": "https://mega.nz/file/EntxADbJ#UCXeVEZbEo0ci9xKBFJzgMPol39MfFecwoB-TXfp1yc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "fileId": "1q4gRaLa",
                    "fileName": "Bahlul Berhala.jpg",
                    "fileSize": "65.53 KB",
                    "mimeType": "image/jpeg",
                    "downloadUrl": "https://gfs270n078.userstorage.mega.co.nz/dl/4qIW2QsEZxy-1QKpJaTF8MTR7M8Y-qt8DEYdnKsex4YI1F8nrTDRiH5OIdvvrjk-rBn_nZlfeBDpg9J1ixuJHkO7ma-8hTzr5YcQ-ztPsW-ZUuUso7VFYjik33Nbbw",
                    "fileSizeBytes": 67105
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/v1/downloader:pixeldrain/download": {
      "get": {
        "operationId": "downloader_pixeldrain_download",
        "summary": "Download",
        "description": "",
        "tags": [
          "Pixeldrain Downloader"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/pixeldrain#reference-download"
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "URL halaman Pixeldrain (/u/<id>) atau ID file saja (mis. 5UZcgpfV)",
            "schema": {
              "type": "string",
              "example": "https://pixeldrain.com/u/5UZcgpfV"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "views": 119,
                    "fileId": "5UZcgpfV",
                    "sha256": "d004d510c52de2389e515eb4e3b96cfdb90c006b0af53c7e22b773b7e9f771b7",
                    "showAds": true,
                    "fileName": "APPR2622win-yasir252.rar",
                    "mimeType": "application/x-rar-compressed",
                    "abuseType": "",
                    "downloads": 122,
                    "sizeBytes": 4419530686,
                    "sizeHuman": "4.12 GB",
                    "viewerUrl": "https://pixeldrain.com/u/5UZcgpfV",
                    "uploadedAt": "2026-05-10T17:38:00.677Z",
                    "canDownload": true,
                    "downloadUrl": "https://pixeldrain.com/api/file/5UZcgpfV?download",
                    "lastViewedAt": "2026-05-23T03:53:56.808Z",
                    "thumbnailUrl": "https://pixeldrain.com/file/5UZcgpfV/thumbnail",
                    "abuseReporter": "",
                    "bandwidthUsed": 416134591598,
                    "deleteAfterDate": "0001-01-01T00:00:00Z",
                    "allowVideoPlayer": true,
                    "downloadSpeedLimit": 0,
                    "deleteAfterDownloads": 0
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/v1/downloader:send-now/download": {
      "get": {
        "operationId": "downloader_send_now_download",
        "summary": "Download",
        "description": "",
        "tags": [
          "Send.now Downloader"
        ],
        "externalDocs": {
          "url": "https://preview.zapi.ink/api/downloader/send-now#reference-download"
        },
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "URL Send.now — folder (/s/<id>/<name>) atau file tunggal (/fileCode atau kode saja)",
            "schema": {
              "type": "string",
              "example": "https://send.now/s/AbCdEf/folder-name"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                },
                "example": {
                  "status": "success",
                  "message": "Success",
                  "content": {
                    "type": "folder",
                    "files": [
                      {
                        "fileCode": "m55o6z8wd97y",
                        "fileName": "GENPv4.0.0.rar",
                        "viewerUrl": "https://send.now/m55o6z8wd97y",
                        "downloadUrl": "https://dl1534.usercdn.com/d/oryvddps6cosj4l4evrvdh7d2dfhn3xj622vxape3lhhpzwtdhy53multtys46s4qo7kmona/GENPv4.0.0.rar",
                        "fileSizeHuman": "1.4 MB"
                      },
                      {
                        "fileCode": "keo1dswk0fjl",
                        "fileName": "GENPv3.7.1.rar",
                        "viewerUrl": "https://send.now/keo1dswk0fjl",
                        "downloadUrl": "https://dl1112.usercdn.com/d/ibywhqwn6cosj4l4jfqvzhf4qonusp52qkic75iwuy57gbsl2hxjpj7rnkocci6b7stritf2/ GENPv3.7.1.rar",
                        "fileSizeHuman": "2.7 MB"
                      }
                    ],
                    "fileCount": 2,
                    "folderName": ""
                  }
                }
              }
            }
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    }
  }
}