There's actually a (not yet documented) API available. If you curl curl https://www.pastesafely.com/api/paste/P73 you'll the paste and it's metadata in json. Would that work for your use case?
curl https://... | sh
would be valuable.
* You should support HTTP HEAD request
* You should infer MIME type from language selections and set Content-Type header as much as possible. If there is none, the default shall be text/plain not text/html
* You should set `Content-Security-Policy: sandbox` HTTP header so people cannot use your service to do malicious stuff
* You should set `Access-Control-Allow-Origin: *` so it can be used in pure client-side JAMStack applications