Pasta - a free paste :)

Anonymous • Expiring • Zero-logging paste / file sharing service

Every paste automatically expires 12 hours after creation. No accounts, no tracking.

How to Use

1. Create a new paste

curl -X POST https://paste.mortezah.ir/create   -H "Content-Type: application/json"   -d '{"value": "Hello world! This will disappear in 12 hours."}'

Response:

{
  "key": "483920",
  "value": "Hello world! This will disappear in 12 hours.",
  "expireation": 1754524800
}

Shareable URL: https://paste.mortezah.ir/483920

2. Retrieve a paste

curl https://paste.mortezah.ir/483920

3. Delete a paste (if you have the key)

curl -X DELETE https://paste.mortezah.ir/483920

Returns the deleted value (or 404 if already gone).

API Reference

Method Path Description
GET / This page
POST /create Create new paste → returns JSON with key
GET /<key> Retrieve value (plain text)
DELETE /<key> Delete paste (returns deleted value)

Note: Keys are 6-digit numbers (100000–999999). Expiration is fixed at 12 hours from creation.

Perfect for