MZScripts API

These endpoints are open and ready to call from any client. Just send HTTPS requests and respect the rate limits below.

Usage & Limits

No API key is required. All routes are public-read and respond to standard HTTP GET requests.

Rate limit: 60 requests / minute per IP. Include a descriptive User-Agent so we can reach out if you hit issues.

GET

Fetch Scripts

List public scripts. Filter by id or search query.

/api/public/scripts

Params

id Optional. Script id to fetch a single script.

q Optional. Search in title/description.

limit Optional. Default 10, max 20.

offset Optional. Pagination offset.

Example

curl "https://www.mzscripts.com/api/public/scripts?limit=5"

GET

Fetch Profiles

Fetch a public profile by username.

/api/public/profiles

Params

username Required. Username to fetch.

Example

curl "https://www.mzscripts.com/api/public/profiles?username=mastersmz"