Technical Documentation

LottoGuru Smart-Algorithm API v1.0

← Back to LottoGuru

Introduction

The LottoGuru API allows developers to integrate our Balanced-Filter Algorithm into their own applications. Our engine uses a triple-pass validation system to ensure numbers meet historical probability standards.

GET /api/v1/generate?game={game_id}&count={number}

Request Parameters

ParameterTypeRequiredDescription
gameStringYesOptions: sat_lotto, power_au, mega_usa
countIntegerNoNumber of lines to generate (Max 10).

Algorithm Logic: The "Smart Pass"

Every generated set is validated against our Median Sum Rule. For a standard 6/45 draw, the sum must fall between 106 and 170. This ensures the numbers are not "statistically extreme."

JSON Response Example

{
  "status": "success",
  "algorithm": "balanced_v1",
  "results": [
    {
      "numbers": [4, 15, 22, 31, 38, 42],
      "metrics": {
        "sum": 152,
        "high_low_ratio": "3:3"
      }
    }
  ]
}