We are looking for other examples! If you have one, please submit it using the Contact form

The API has been ported to the following languages:


Save the code from this paste in a file, then include it

Example Usage:

$api = new PastebinApi();

$data = $api->paste("Testing API", "Test", "php");

echo "Link: " . $data['paste']['link'];
Last modified on February 7, 2017 at 11:15:50 am