Build with
AnonPaste
Store pastes, encrypted snippets, and files via a clean REST API.
Free tier available — no credit card required.
Three API Groups
Paste Lite
FreeLightweight key-value paste storage. Create, retrieve, and delete short-lived snippets. Available on all tiers. No auth beyond your API key.
- ✓ Create & retrieve
- ✓ Optional password protection
- ✓ Burn after read
- ✓ Search your pastes (free)
Full Pastes
Pro+Full AnonPaste experience via API. Rich text, hashtags, expiry controls, and full CRUD. Pastes appear on your user account.
- ✓ Full paste management
- ✓ Hashtags & rich metadata
- ✓ Never-expire option
- ✓ Linked to your account
File Storage
Pro+Upload and serve files via the AnonPaste file API. Server-side or presigned direct-upload. Up to 50MB per file.
- ✓ Image, PDF, text, JSON…
- ✓ Presigned PUT uploads
- ✓ Instant CDN delivery
- ✓ 50MB max file size
Monthly Request Limits
Requests beyond the limit spend credits. List/Search is always free.
| Endpoint | Free | Pro | Max |
|---|---|---|---|
| Paste Lite | |||
| pasteLite.create | 100 | 5k | 20k |
| pasteLite.get | 500 | 10k | 100k |
| pasteLite.delete | 50 | 2k | 10k |
| Full Pastes (Pro+) | |||
| paste.create | — | 500 | 10k |
| paste.get | — | 3k | 50k |
| paste.update | — | 500 | 10k |
| paste.delete | 10 | 500 | 5k |
| File Storage (Pro+) | |||
| file.upload | — | 100 | 1k |
| file.get | — | 500 | 5k |
| file.delete | — | 200 | 2k |
Need more? Upgrade to Pro or Max.
Quickstart
1. Get your API key
- 1Sign up or log into AnonPaste
- 2Go to your Developer Dashboard
- 3Click "Generate API Key"
- 4Send key as
x-api-keyheader
Authentication
Send your key in either header:
# Option A: x-api-key header x-api-key: YOUR_API_KEY # Option B: Authorization header Authorization: Bearer YOUR_API_KEY
Base URL: https://api.anonpaste.com
Code Examples
cURL
# Create a paste
curl -X POST https://api.anonpaste.com/api/dev/paste-lite/create \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"My snippet","data":"Hello from the API!"}'
# Response
{ "ref": "abc123:def", "expire": null }JavaScript / TypeScript
const res = await fetch(
'https://api.anonpaste.com/api/dev/paste-lite/create',
{
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ name: 'My snippet', data: 'Hello!' }),
}
);
const { ref } = await res.json();Ready to build?
Free tier, no credit card required. Upgrade when you need higher limits.
Initializing...
Preparing the app. This may take a moment before app is ready.