What it returns
Results of Spain's Lotería de Navidad (Sorteo Extraordinario de Navidad, "El Gordo", drawn every December 22) and El Niño (January 6) from Loterías y Apuestas del Estado (SELAE). Each top prize comes with its winning number and the prize per ticket. You can send ticket numbers and get back the exact prize each one won, or get the towns and lottery outlets that sold each top prize. On draw day the results are live: the API reads SELAE's provisional results while the draw is running and the final results once SELAE closes it.
Used by news sites, lottery-check apps, ticket-sharing groups (peñas, companies and associations that split décimos) and anyone who wants the numbers in a spreadsheet the moment they are drawn.
Request
POST https://api.pushbuild.com/spanish-christmas-lottery-results/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
draw | string: navidad, nino | Which extraordinary draw. Default: "navidad". |
years | list of strings | Draw years, e.g. [2024, 2025]. Default: the latest draw held (the current year's once it has started). |
numbers | list of strings | 5-digit ticket numbers. Returns the prize per décimo and per series for each. Leave empty to list the winning numbers. |
includeWhereSold | boolean | Add the towns, provinces and outlets that sold each top prize. Default: false. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/spanish-christmas-lottery-results/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.80 per 1,000 rows. No charge for errors or empty searches.
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/spanish-christmas-lottery-results. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.comWant this data inside your own app or CRM? API integrations and data sync