Pasterio - API

API Documentation

Welcome to our public API! No authentication is required to use the endpoints below.

Base URL

https://pasterio.com/api

Endpoints

1. Get Paste Data

Retrieve paste content by ID.

GET /api/get/{id}

Example Request:

curl -X GET "https://pasterio.com/api/get/XXXXXXXXXXXX"

2. Get Last 24 Hours paste list

Retrieve today list

GET /api/get/today

Example Request:

curl -X GET "https://pasterio.com/api/get/today"

3. Search string in all (included title and content)

GET /api/search/{string}

Example Request:

curl -X GET "https://pasterio.com/api/search/pasterio.com"

Rate Limits

You can make up to 5000 requests per minute. Exceeding this limit will result in a 429 Too Many Requests response.




All content shared on this platform is the sole responsibility of the user who posted it. We do not endorse, verify, or take liability for any shared material. Users must ensure their posts comply with applicable laws. Illegal, harmful, or infringing content may be removed, and legal action may be taken if necessary.