Spanish Lottery Scraper 🎰 - Bonoloto & Primitiva Results avatar

Spanish Lottery Scraper 🎰 - Bonoloto & Primitiva Results

Pricing

from $0.50 / 1,000 draw results

Go to Apify Store
Spanish Lottery Scraper 🎰 - Bonoloto & Primitiva Results

Spanish Lottery Scraper 🎰 - Bonoloto & Primitiva Results

Get the latest Spanish lottery results (Bonoloto, Primitiva, Euromillones) including winning numbers, complementary number, refund, Joker, prize breakdown, and draw date. Updated daily. Perfect for analytics, journalism, betting apps, and LLM training data.

Pricing

from $0.50 / 1,000 draw results

Rating

0.0

(0)

Developer

TikitakaClaw Pikipiki

TikitakaClaw Pikipiki

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

9 days ago

Last modified

Share

Spanish Lottery Scraper 🎰

Get the latest Spanish lottery results in structured JSON format β€” Bonoloto, Primitiva, and (coming soon) Euromillones. Perfect for analytics dashboards, journalism, betting apps, and LLM training data.


What you can scrape

GameScheduleFormat
πŸ€ BonolotoDaily (Mon-Sun)6 numbers from 1-49 + complementario + reintegro
🎯 PrimitivaThu + Sat6 numbers from 1-49 + complementario + reintegro + Joker (7-digit)
πŸ’Ά EuromillonesTue + Fri5 numbers from 1-50 + 2 lucky stars from 1-12 (coming soon)

Each result includes:

  • Draw date (ISO 8601 format)
  • Draw number (sequential)
  • Winning numbers (sorted)
  • Complementario (bonus number, where applicable)
  • Reintegro (0-9 refund number)
  • Joker (7-digit number, Primitiva only)
  • Prize breakdown (categories, winners, amounts)
  • Source URL (for verification)

Input

{
"lottery": "bonoloto",
"includeHistorical": 0
}

Field reference

FieldTypeDefaultDescription
lotteryenumbonolotoWhich lottery to scrape: bonoloto, primitiva, euromillones, or all
includeHistoricalinteger0Number of historical draws to include (0 = latest only)

Output

Bonoloto example

{
"lottery": "bonoloto",
"drawDate": "2026-07-04",
"drawNumber": 185,
"numbers": [7, 10, 25, 45, 46, 48],
"complementario": 1,
"reintegro": 3,
"prizes": [
{"category": 1, "name": "6 Aciertos", "winners": 1, "amountEur": 5731134.13},
{"category": 2, "name": "5 Aciertos+C", "winners": 4, "amountEur": 51026.32}
],
"source": "loteriabonoloto.info"
}

Primitiva example

{
"lottery": "primitiva",
"drawDate": "2026-07-04",
"drawNumber": 80,
"numbers": [19, 25, 28, 43, 44, 48],
"complementario": 16,
"reintegro": 8,
"joker": 4249108,
"prizes": [...],
"source": "laprimitiva.info"
}

Pricing

Pay per event:

EventCost
Draw result extracted$0.001

ℹ️ Apify's platform usage is passed through to you β€” no markup. You only pay the per-event fee on top of CU (which is typically <$0.0001 per run).

Example: scraping all 3 lotteries once a day for a month = 90 events Γ— $0.001 = $0.09/month to run as a daily job. Add your own analytics or app on top and you save hours of development time.


Use cases

  1. πŸ“Š Analytics dashboards β€” show "hot/cold" numbers, frequency analysis, distribution
  2. πŸ“° News & journalism β€” auto-publish results to your blog/newsletter
  3. πŸ€– LLM training data β€” fine-tune models on historical Spanish lottery data
  4. πŸ“± Telegram/Discord bots β€” daily notifications to your community
  5. 🎰 Betting strategies β€” backtest number selection algorithms
  6. πŸ” Compliance/audit β€” verify your tickets against official results

Technical notes

  • Engine: Python 3.11 + httpx + BeautifulSoup + impit (Chrome TLS impersonation)
  • Sources: loteriabonoloto.info (Bonoloto), laprimitiva.info (Primitiva)
  • Data refresh: daily, ~2-5 seconds per request
  • Build time: ~30s
  • Memory: 256 MB typical
  • No proxies needed: the source sites don't block us (we have fallback stealth if they do)

Changelog

  • 0.1.0 (2026-07-05) β€” Initial release. Bonoloto + Primitiva working. Euromillones coming soon.

Support

  • πŸ› Report issues: Apify Console β†’ this Actor β†’ Issues tab
  • πŸ’¬ Questions: Apify Discord
  • πŸ“§ Author: @tikitakaclaw on Apify

License

MIT License. Data sourced from public Spanish lottery information aggregators. Use responsibly and verify with official sources for any financial decisions.