Quick pastes
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)
Store pastes, encrypted snippets, and files via a clean REST API.
Free tier available — no credit card required.
Lightweight key-value paste storage. Create, retrieve, and delete short-lived snippets. Available on all tiers. No auth beyond your API key.
Full AnonPaste experience via API. Rich text, hashtags, expiry controls, and full CRUD. Pastes appear on your user account.
Upload and serve files via the AnonPaste file API. Server-side or presigned direct-upload. Up to 50MB per file.
x-api-key headerSend 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_KEYBase URL: https://api.anonpaste.com
# 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 }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();Requests beyond the limit spend credits. List/Search is always free.
Need more? Upgrade to Pro or Max.
| Endpoint | Free | Pro | Max |
|---|---|---|---|
| Quick pastes | |||
pasteLite.create | 100 | 5k | 20k |
pasteLite.get | 500 | 10k | 100k |
pasteLite.update | 50 | 2k | 10k |
pasteLite.delete | 50 | 2k | 10k |
| Rich 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 |
Free tier, no credit card required. Upgrade when you need higher limits.