无须注册的云盘平台anonfile

AnonFile是一个提供免费、匿名文件上传服务的平台,支持最大20GB的文件大小,实际上传限制未知。虽然网速较慢,但提供了开发者友好的API,允许直接从账户上传文件并返回JSON格式的URL。关联网站BayFiles功能类似。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最近发现一个匿名免费的云盘平台 anonfile。感觉说不定什么时候可能就用得着,在这里记录一下。
https://anonfile.com/

匿名上传您的文件,并在AnonFiles上免费上传
我们为您提供20 GB的文件大小限制和无限带宽

虽说官网写的是20GB的大小限制,但是既然是匿名的,那就没办法统计每个用户上传的大小,所以我猜这个20GB的限制,应该也是不存在的。
唯一的缺点就是网速太慢,即使挂上梯子也没快多少。

截图

这个网站还有面向开发者的上传api。

我试了一下,非常简单.

curl -F "file=@Downloads/timg.jpeg" https://anonfile.com/api/upload
{"status":true,"data":{"file":{"url":{"full":"https://anonfile.com/U4WbBb44n7/1_jpg","short":"https://anonfile.com/U4WbBb44n7"},"metadata":{"id":"U4WbBb44n7","name":"1.jpg","size":{"bytes":37201,"readable":"37.2 KB"}}}}}%

打开full或者short对应的链接就能访问:https://anonfile.com/v0XbBb47n3/timg_jpeg

API文档原文如下:

API Documentation
Want to upload straight to your account using our API? Please login for account API keys and more information on how to upload files to your account using our API.

UPLOAD
You send us files with POST and we will store them and return an url for you in JSON.

Request Example
curl -F "file=@test.txt" https://anonfile.com/api/upload
Successful Response
{
    "status": true,
    "data": {
        "file": {
            "url": {
                "full": "https://anonfile.com/u1C0ebc4b0/file.txt",
                "short": "https://anonfile.com/u1C0ebc4b0"
            },
            "metadata": {
                "id": "u1C0ebc4b0",
                "name": "file.txt",
                "size": {
                    "bytes": 6861,
                    "readable": "6.7 KB"
                }
            }
        }
    }
}
Error Response
{
    "status": false,
    "error": {
        "message": "The file is too large. Max filesize: 5 GiB",
        "type": "ERROR_FILE_SIZE_EXCEEDED",
        "code": 31
    }
}
Error Codes & Types
(10) ERROR_FILE_NOT_PROVIDED
(11) ERROR_FILE_EMPTY
(12) ERROR_FILE_INVALID
(20) ERROR_USER_MAX_FILES_PER_HOUR_REACHED
(21) ERROR_USER_MAX_FILES_PER_DAY_REACHED
(22) ERROR_USER_MAX_BYTES_PER_HOUR_REACHED
(23) ERROR_USER_MAX_BYTES_PER_DAY_REACHED
(30) ERROR_FILE_DISALLOWED_TYPE
(31) ERROR_FILE_SIZE_EXCEEDED
(32) ERROR_FILE_BANNED
(40) STATUS_ERROR_SYSTEM_FAILURE
INFO
You can send us a GET request to grab info about a file. We respond with a JSON array.
Hint: Use the "status" key (true/false) if you want to check if a file exists.
Also, if the requested file does not exist, the response will be sent as a 404.

The URL format is:

https://anonfile.com/api/v2/file/{id}/info
Example Request
curl https://anonfile.com/api/v2/file/u1C0ebc4b0/info
INFO Response
{
    "status": true,
    "data": {
        "file": {
            "url": {
                "full": "https://anonfile.com/u1C0ebc4b0/file.txt",
                "short": "https://anonfile.com/u1C0ebc4b0"
            },
            "metadata": {
                "id": "u1C0ebc4b0",
                "name": "file.txt",
                "size": {
                    "bytes": 6861,
                    "readable": "6.7 KB"
                }
            }
        }
    }
}
Info Error Response
{
    "status": false,
    "error": {
        "message": "The file you are looking for does not exist.",
        "type": "FILE_NOT_FOUND",
        "code": 404
    }
}

  • 另外还有个它的关联网站,写着"Visit our friends: BayFiles"。看起来和anonfile除了样式上不一样以外,其他全都一样,可能只是改了下css就发布到另一个服务器上了。
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值