Skip to content
API documentation

Lottery Results API: Latest Draws and History

Query latest and historical lottery results by game, jurisdiction and draw date. Explore JSON responses, source-confidence labels and API examples.

On this page

Latest results

Use the latest endpoint for the most recent stored results available to your key. Filter by game code, state or ball count and set a limit to keep responses bounded. Plan delivery delay can affect which draw is visible; the response timestamp is not the draw date. Games without stored numbers are omitted.

GET https://api.lotteryfeedapi.com/v1/results/latest?state=MD&ball_count=3&short=1&limit=25

History by date

Use date filters for stored daily archives. Add q for name/code search and limit for bounded UIs. Empty games, not-yet-published rows, and dates without a stored archive snapshot are not returned in the compact API response.

GET https://api.lotteryfeedapi.com/v1/results/history?date=2026-05-25&state=MD&q=Pick%203&limit=25

Response

History rows preserve customer-safe source and insertion timestamps. Use returned_count, total_count, limit, and has_more to keep archive UIs bounded. history_snapshot identifies a stable stored snapshot, sandbox fixture, or reviewed fallback snapshot. The limit defaults to 100 and is capped at 1000.

{
  "generated_at": "2026-05-26T12:00:00Z",
  "filters": { "date": "2026-05-25", "state": "MD" },
  "count": 1,
  "returned_count": 1,
  "total_count": 1,
  "limit": 100,
  "has_more": false,
  "history_snapshot": {
    "kind": "archive_snapshot",
    "draw_date": "2026-05-25",
    "archived": true,
    "fetched_at": "2026-05-26T12:00:00Z",
    "generated_at": "2026-05-26T12:00:00Z",
    "draw_count": 42,
    "cache_hint": "Stable history snapshot. Safe for customer-side date caching until the next published correction."
  },
  "data": [
    {
      "game_code": "md-pick3-midday",
      "name": "Maryland Pick 3 Midday",
      "state": "Maryland",
      "draw_date": "2026-05-25",
      "numbers": ["2", "3", "6"],
      "numbers_formatted": "2-3-6",
      "numbers_string": "2-3-6",
      "source": "mdlottery.com",
      "inserted_at": "2026-05-25T17:45:26Z",
      "source_confidence": {
        "level": "official",
        "label": "Official source",
        "policy": "Numbers were published from the official or canonical lottery source path."
      },
      "links": {
        "canonical": "/results/md-pick3-midday/2026-05-25",
        "lottery": "/lotteries/md-pick3-midday",
        "api": "/v1/results/latest/md-pick3-midday",
        "api_docs": "/api-docs/results",
        "api_integration": "/lotteries/md-pick3-midday/api-integration",
        "schedule_api": "/v1/schedules?game_code=md-pick3-midday&date=2026-05-25",
        "history": "/v1/results/history?date=2026-05-25&game_code=md-pick3-midday",
        "history_page": "/results/md-pick3-midday/2026-05-25"
      }
    }
  ]
}

Source confidence labels

Customer responses expose compact confidence labels: official, verified, observer, fallback, manual, or unknown. An official label requires verified official evidence. When public correction evidence exists, the optional correction object adds prior numbers, version count, correction time, reviewer label, and a sanitized reason.


Next: History export