Docs

Limits and expiry

Links without an account last 1 hour; keep them free for 30 days with a free account. Uploads can be up to 50 MB and 1,000 files.

View as Markdown
Free
Upload size50 MB per upload (all files combined)
Files per link1,000
Lifetime without an account1 hour, unless you keep the link
Lifetime in a free account30 days from when the link is created
Number of linksNo fixed cap; uploads are rate limited to stop abuse
Video and audioAllowed
BadgeA small "Hosted on anyshare" pill: floating in the corner of HTML pages, in the top bar of file viewers
Search enginesNot indexed (X-Robots-Tag: noindex)
Custom slugYes: 3–63 lowercase letters, digits and single hyphens

The expiresAt field in every API response says exactly when a link goes away. anyshare list shows the expiry of every link you published from your machine, and marks the ones that still need keeping.

You never need an account to publish. A link published without one expires 1 hour after upload, unless someone keeps it:

  • The claim link. Every upload without an account returns a claimUrl (https://anyshare.ai/claim/{slug}#token=…). Open it, sign in or create a free account (email and password), and the link is yours. It then lasts 30 days, counted from the upload, not from when you kept it. The CLI prints the claim link, and agents are told to show it next to the URL.
  • Sign in first. Uploads from the website while you're signed in, from the CLI after anyshare login, or with an API key (Authorization: Bearer as_key_…) go straight into your account with the 30-day lifetime. There's nothing to claim.

A link can only be kept before it expires, and only into one account. Your links are listed at anyshare.ai/account.

What happens at expiry#

When a link expires it stops working and its files are deleted. There's no grace period and no way to restore it, so keep your own copy of anything important. To keep sharing, publish it again; you get a new link.

Updating doesn't change the address#

PUT /api/v1/sites/{slug} and anyshare update <slug> <path> replace the content but keep the URL, so links you've already sent keep working.

Bigger than the limits?#

  • Too large: share the build output rather than the project, and compress or shorten videos. Source maps and raw assets often account for most of a build's size.
  • Too many files: a build folder rarely has 1,000 files; a project with node_modules does. Share dist/, build/ or out/.

Pages with login forms or redirects#

Every uploaded web page is checked for phishing, including on every update.

  • Pages that ask for a password, card number, recovery phrase or similar, and pages that forward visitors to another site, are published as usual, but visitors first see a short warning ("Only continue if you trust whoever sent you this link") and continue with one click. The API response's notes says so. This is what a login-screen prototype gets.
  • Pages that look clearly like phishing, for example a copy of a well-known brand's sign-in that sends what people type to another site or to a Telegram bot, are refused with unsupported (422). The message lists what was found. For a genuine prototype, remove the form action or code that sends the fields elsewhere and upload again.

What anyshare doesn't do#

  • Run server code (PHP, Node, Python) or build steps. It hosts static files, and that's all.
  • Host files for phishing, malware or anything illegal (Acceptable Use Policy). Links that break the rules are taken down and show a "removed" page, and every free page carries a "Report" link in its badge.

Rate limits#

Uploads are rate limited per IP address. If you hit the limit, the API returns rate_limited with a 429 status. Wait a minute and retry; the CLI retries on its own.