{
    "name": "RecHost.eu Public API",
    "version": "v1",
    "status": "operational",
    "documentation": "https:\/\/rechost.eu\/api-docs.php",
    "endpoints": {
        "\/v1\/status": {
            "method": "GET",
            "description": "Get real-time status of any game server",
            "parameters": {
                "ip": "Server IP address or hostname",
                "port": "Server port (1-65535)",
                "retries": "Optional: Number of retry attempts (1-5, default: 3)"
            },
            "example": "https:\/\/api.rechost.eu\/v1\/status?ip=mc.hypixel.net&port=25565"
        },
        "\/v1\/batch": {
            "method": "POST",
            "description": "Check multiple servers at once (up to 10)",
            "body": {
                "servers": [
                    {
                        "ip": "example.com",
                        "port": 25565
                    },
                    {
                        "ip": "1.2.3.4",
                        "port": 30120
                    }
                ]
            },
            "example": "POST to https:\/\/api.rechost.eu\/v1\/batch"
        },
        "\/v1\/lookup": {
            "method": "GET",
            "description": "Discover open ports on a server",
            "parameters": {
                "ip": "Server IP address to scan"
            },
            "example": "https:\/\/api.rechost.eu\/v1\/lookup?ip=example.com"
        },
        "\/v1\/serverinfo": {
            "method": "GET",
            "description": "Get detailed info about RecHost servers",
            "parameters": {
                "server_id": "RecHost server ID",
                "OR": "ip + port",
                "api_key": "Optional: API key for owner information"
            },
            "example": "https:\/\/api.rechost.eu\/v1\/serverinfo?server_id=123"
        }
    },
    "debug": {
        "path": "",
        "uri": "\/"
    }
}