Cloud Storage & File Sharing — entry 013 of 18
Pastebin
Pastebin is a plain-text snippet-sharing site whose developer API lets registered apps create, read, and delete pastes, authenticating with a developer key exchanged for a user session token. A live POST with an Origin header against the real gateway, pastebin.com/api/api_post.php, returned a 422 with no Access-Control-Allow-Origin header, reconfirming cors as no and API-key auth over HTTPS. The API itself returns plain-text responses (a paste URL or an error string) rather than JSON. The free Basic tier covers public pastes with ads, while a paid PRO subscription removes ads and captchas and unlocks private pastes and direct file uploads.
GreatAPIs Score
Auth quickstart
- Sign up with the provider to get an API key.
- Send it on every request as a header
Authorization: <key> - The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.