Skip to content

awu0521/fifa2026

Repository files navigation

FIFA LOGO FIFA 2026 Banner

Node.js Express JavaScript Python

FIFA 2026 Live Match Tracker & Tournament Predictor API

As a soccer fan and software developer, I built this project to explore RESTful API development, third-party API integration, and predictive data modeling. The project serves real-time data for matches, teams, and stadiums using Node.js and Express, while incorporating an advanced Python-based predictive engine that forecasts knockout bracket outcomes using sequential Elo modeling and Monte Carlo simulations.

Live Demo

TBD

License Status API


Featured: 2026 World Cup Monte Carlo Forecast

You can explore the full data analysis, model validation, and simulation steps in the FIFA 2026 Predictor Notebook.

Using an engineered Elo rating engine calibrated with tournament-stage importance metrics ($K$-factors), this project includes a predictive pipeline that simulates the final stages of the tournament over 200,000 randomized paths to capture knockout variance. Dataset was pulled from Kaggle and FIFA.

Core Insights:

  • Validated Framework: The underlying baseline model was evaluated using strict chronological backtesting, achieving an honest 83.8% historical prediction accuracy across decisive tournament fixtures.
  • The Front-Runners: Argentina holds a slight statistical edge to lift the trophy at 27.2%, closely followed by Spain at 27.0%, France at 24.6%, and England at 21.2%.
  • The Predicted Final: The single most frequent matchup generated by the simulation is an Argentina vs. Spain final occurring in 28.0% of alternate realities, with an Argentina vs. France rematch close behind at 26.2%.

Summary Table

Team Semifinal Matchup Finalist Probability (%) Champion Probability (%) Tactical Playing Style
Argentina vs. England 54.1% 27.2% High Attacking Output
Spain vs. France 51.7% 27.0% Balanced / Possession
France vs. Spain 48.3% 24.6% High Attacking Output
England vs. Argentina 45.9% 21.2% Conservative / Defensive

Features

  1. Live FIFA 2026 match scores & tournament tracker
  2. Custom Monte Carlo predictive modeling pipeline
  3. Detailed team profile analytics
  4. Stadium venue information
  5. Clean, structured RESTful API endpoints

The Tech Stack

  • Backend Framework: Node.js & Express
  • Predictive Engine: Python (NumPy, Pandas, Matplotlib)
  • Deployment Platform: Render
  • Data Source: Live match feeds and localized mock tournament storage

Running Locally

# Clone the repo
git clone [https://github.com/awu0521/fifa2026-api.git](https://github.com/awu0521/fifa2026-api.git)
cd fifa2026-api

# Install backend dependencies
npm install

# Add api configurations to a local .env file
API_KEY=your_key
PORT=3000

# Start the local development server
npm run dev

API endpoints

TBD

Project structure

fifa2026-api/
├── server.js
├── routes/
│   ├── matches.js
│   ├── teams.js
│   └── stadiums.js
├── controllers/
│   ├── matchesController.js
│   ├── teamsController.js
│   └── stadiumsController.js
└── data/
    └── mockData.json

Built by awu0521

About

A Python-powered predictive engine utilizing dynamic Elo ratings and 200,000 Monte Carlo iterations to forecast tournament paths, integrated seamlessly with a Node.js and Express RESTful API that tracks live match metrics.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors