← Back to Dashboard

Pastebin

Cloud Storage & File SharingActiveUnknownAuth: API KeyDoc: HTML
Visit Website ↗

Description

Plain Text Storage

✨ AI Summary

Pastebin is a plain text storage website where users can store text online for a set period of time via a developer API.

Code Example

import requests

url = "https://pastebin.com/api/api_post.php"
api_dev_key = "YOUR_API_KEY"
paste_content = "YOUR_PASTE_CONTENT"

data = {
    'api_dev_key': api_dev_key,
    'api_option': 'paste',
    'api_paste_code': paste_content,
    'api_paste_private': '0', # 0 = Public, 1 = Unlisted, 2 = Private
    'api_paste_name': 'My New Paste',
    'api_expire_date': '1H', # 10M, 1H, 1D, 1W, 2W, 1M, 6M, 1Y
    'api_paste_format': 'text'
}

response = requests.post(url, data=data)

print(response.text)

Live Health Metrics

Last 50 checks (10 min intervals)