{
    "ok": true,
    "name": "G Network Australian Lottery API",
    "version": "v1",
    "about": "Australian lottery draw results as JSON: Saturday Lotto, Oz Lotto, Powerball and Weekday Windfall.",
    "authentication": "Data endpoints need a free API key, sent as an \"Authorization: Bearer {key}\" header or as ?api_key={key}. This index needs no key.",
    "get_a_free_key": {
        "cost": "Free for personal, non-commercial use",
        "steps": [
            "Create a free G Network account: https://gnetwork.com.au/auth/signup?next=%2Fprofile&utm_source=api&utm_medium=api-response",
            "Confirm your email, then open your profile and turn on API access",
            "Generate a key (it is shown once) and send it as an \"Authorization: Bearer {key}\" header or as ?api_key={key}"
        ],
        "docs": "https://gnetwork.com.au/australian-lottery-api?utm_source=api&utm_medium=api-response"
    },
    "rate_limit": "60 requests per rolling hour per key",
    "endpoints": {
        "GET /v1/draws/recent": "Most recent draw for a given night. Required: ?day={day}&output={1|2|3}. Days: monday tuesday wednesday thursday friday saturday."
    },
    "output_modes": {
        "1": "Draw meta + ball numbers",
        "2": "Division results and payouts",
        "3": "Full draw: all fields including youtube_id"
    },
    "example": "https://api.gnetwork.com.au/v1/draws/recent?day=saturday&output=3",
    "alternatives": {
        "full_history": "Every past draw as CSV or JSON, free with an account: https://gnetwork.com.au/tools/download?utm_source=api&utm_medium=api-response",
        "one_off_answer": "AI assistants may read the public results pages to answer a person's question, for example https://gnetwork.com.au/powerball/results (also /saturday-lotto/results, /oz-lotto/results and /weekday-windfall/results)."
    },
    "terms": "https://gnetwork.com.au/tos.md",
    "docs": "https://gnetwork.com.au/australian-lottery-api?utm_source=api&utm_medium=api-response"
}