Back

API Documentation

Complete guide to MagicSec API

Fast Integration

Simple REST API with instant responses

Secure & Reliable

Military-grade obfuscation algorithms

Multi-Platform

Support for JS, Lua, FiveM, Roblox & CS:GO

Getting Started

Learn how to integrate MagicSec obfuscation into your applications

Base URL

https://magicsec.vip/api

Authentication

Free tier: Discord authentication required (login on website)
Premium API: API key in Authorization header

Rate Limits

Free
10 requests/hour
Premium
Unlimited requests

Rate Limit Headers: All responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers to track your usage.

Rate Limit Exceeded (429)

{
  "message": "Rate limit exceeded. You have used 10/10 requests...",
  "error": "rate_limit_exceeded",
  "limit": 10,
  "resetTime": "2024-01-09T15:30:00.000Z"
}