Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.leaf7.fun/llms.txt

Use this file to discover all available pages before exploring further.

Leaf7 API Documentation

The Leaf7 HTTP API gives vendors full programmatic control over their projects, script keys, blacklists, and analytics. Use it to build custom dashboards, integrate with payment processors, automate key distribution via Discord bots, and more.
The Leaf7 API is not a public API. It is accessible only by registered Leaf7 vendors with a valid API key.

Things to remember ✅

The Content-Type header must be set to application/json in all requests that include a body.
Rate limits apply to all endpoints. In general you can make 60 requests per minute. Exceeding this will result in a 429 Too Many Requests response.
Parameter Types:
TypeExample
Pathhttps://auth.leaf7.fun/api/vendor/projects/PROJECT_ID/...
Queryhttps://auth.leaf7.fun/api/vendor/keys/active?project_id=abc123
Body{ "name": "My Script" }
HeaderAuthorization: Bearer YOUR_API_KEY

Base URL

All API requests are made to:
https://auth.leaf7.fun

What can you do?

Manage Projects

Create, update, delete projects and upload script source code.

Manage Keys

Generate buyer keys, manage active keys, ban/unban users, reset HWIDs.

Blacklist

Block IPs and HWIDs from accessing your scripts.

Analytics

Fetch execution stats, security events, and system health.

Need help?

Join our Discord server and open a ticket or contact us via mail support@leaf7.fun — we’re always happy to help.