Skip to content
Lottery Feed API

Lottery Feed API

ResultsPersonalAPI DocsPricingContact
Sign inJoin the Free Beta
  1. Home
  2. /
  3. API docs
  4. /
  5. Get Lottery Results

API documentation

Get Lottery Results

Returns latest or historical draw rows with filters for date, state, ball count, and game code.

Section

23 / 27

OpenAPI JSON
01Introduction02Quickstart03Polling and integration04Sandbox fixtures05SDK starter06Embeddable widgets07API playground08OpenAPI spec09Postman collection10API changelog11Authentication12API key scopes13Freshness levels14Source confidence15Status monitoring16Rate limiting17Get countries18Get states19Get lotteries20Get lottery21Get schedules22Draw years23Lottery results24History export25Number frequency26Result checker27Error handling

Live API examples

Jump from the docs to real public pages that use the same read models.

Lottery API polling and cache guideUse schedule windows, bounded result requests, retry headers, and the correct cache surface for each integration.
Browse latest lottery resultsInspect the same compact latest-result rows customers receive from the API.
Maryland Pick 3 result pageOpen a concrete result page with draw date, numbers, source confidence, and API links.
Maryland Pick 3 lottery pageSee the canonical lottery detail page that links back to latest results and integration examples.
OpenAPI results contractUse the machine-readable contract for latest and history result endpoints.

Latest results

Fetch current latest rows with stored winning numbers. Missing-result rows are not returned to customers.

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
Lottery Feed API

Normalized lottery draw results, history, schedules, source-confidence metadata, and descriptive analytics for integrations and personal analysis.

Independent software and data service. We do not sell lottery tickets, accept bets or player funds, operate draws, determine outcomes or pay prizes.Lottery names and trademarks belong to their respective owners. Lottery Feed API is an independent data service and is not affiliated with, endorsed by, sponsored by or operated by any lottery authority.
LotteriesDaily ArchiveCountriesStatesStatusResponsible UseAcceptable UseReport incorrect resultCompanyTermsPrivacyAccount