API & Developers
10 questions in this category
API access, documentation, and integration
API access is available on Pro and Enterprise plans. Go to Dashboard > API > Generate Key. You'll receive an API key starting with "7AZ_". Keep this key secureāit provides access to all API endpoints based on your plan.
Our API includes: Security Scanner API (initiate scans, get results), Speed Test API (run tests, retrieve history), URL Shortener API (create/manage links), URL Lookup API (check URL safety), and Encryption API (encrypt/decrypt data).
Rate limits depend on your plan: Pro (100 requests/minute, 5000/day), Enterprise (1000/minute, unlimited/day). Exceeding limits returns HTTP 429. Use the X-RateLimit headers to track your usage.
Full API documentation is at 7azzani.com/api/docs/. Includes endpoints, authentication, request/response formats, code examples in Python, JavaScript, PHP, and cURL. Interactive API playground available.
Include your API key in the Authorization header: "Authorization: Bearer 7AZ_your_key_here". Alternative: Pass as query parameter "?api_key=7AZ_your_key_here" (less secure, avoid in production).
Yes! In API settings, add allowed IP addresses or CIDR ranges. Requests from non-whitelisted IPs will be rejected. This adds security by ensuring only your servers can use the key.
All endpoints return JSON by default. Add "Accept: application/xml" header for XML responses where supported. Responses include status codes, data, pagination info, and error details when applicable.
Errors return appropriate HTTP status codes: 400 (bad request), 401 (unauthorized), 403 (forbidden), 404 (not found), 429 (rate limited), 500 (server error). Response body contains error code, message, and details.
Enterprise plans include webhook support. Configure webhook URLs in settings. We'll POST events like scan completions, URL clicks, or subscription changes to your endpoint in real-time.
We provide official libraries for Python, JavaScript/Node.js, and PHP. Find them on our GitHub (github.com/7AZZANI) or install via pip, npm, or composer. Community libraries available for other languages.