Development of a Real-time Airfare Price Index for India through Automated Web Scraping of Airline and Online Travel Aggregator Portals for Augmentation of the Consumer Price Index (CPI).
“The government needs to track how air ticket prices change every day to accurately calculate retail inflation (CPI) in India. Right now, officials collect prices manually, which misses dynamic online price surges, so we need to build an automated system to scrape, clean, and index flight fares from major airlines and travel websites.”
Deconstructed Problem Blueprint
WHAT TO BUILD?
An end-to-end automated web-scraping platform and analytics dashboard that extracts airfares, normalizes data, and calculates a real-time Airfare Price Index (APIx) across major Indian domestic routes.
WHO IS IT FOR?
MoSPI (Ministry of Statistics and Programme Implementation) and the National Statistical Office (NSO) are the owners/users, while the Reserve Bank of India (RBI) consumes the index for monetary policy. Everyday citizens benefit through more accurate inflation metrics.
WHY DOES IT EXIST?
Over 90% of tickets are bought online with dynamic pricing fluctuating 200-400% daily based on demand, advance booking, and fuel costs. Manual surveys are obsolete, slow, and fail to capture what consumers actually pay.
INPUT → PROCESS → OUTPUT ARCHITECTURE PIPELINE
Scheduled scraping configurations, list of representative city-pairs (DEL-BOM, etc.), advance-purchase windows (T+1 to T+45), and raw HTML/JSON responses from airline sites and OTAs.
Headless browser scraping with proxy/IP rotation, parsing and schema normalization, data cleaning (handling sold-out flights, separating base fares from taxes/fees), and index construction using weighted route baskets.
A cleaned time-series airfare database, route-wise heatmaps, lead-time elasticity curves, and a REST API for NSO/RBI consumption.
CONSTRAINTS
- Must comply with website terms of service and robots.txt using ethical rate-limiting
- Must handle complex JavaScript rendering, anti-bot mechanisms, and dynamic CAPTCHAs
- Must accurately separate base fare from user development fees and taxes
JURY METRICS
- Scraping success rate and uptime under anti-bot constraints
- Accuracy of data extraction and de-duplication pipeline
- Performance and reliability of the index-construction calculation module
- UI/UX clarity and responsiveness of the dashboard for policymakers
CORE BOTTLENECK
Bypassing sophisticated airline/OTA anti-bot firewalls (Cloudflare, Akamai) without getting IP addresses permanently blocked or flagged.
Why You Should Choose This PS (Pros)
- Extremely high national economic importance with direct government utility (MoSPI & RBI)
- Clear deliverables: scraping engine, database, calculation formula, and dashboard
- Great potential for a live visual dashboard that instantly wows judges
Challenges & Risks to Watch (Cons)
- Airlines frequently update their frontend DOM structures, breaking brittle scrapers
- Aggressive anti-scraping protections can cause high failure rates during live evaluation
- Requires careful handling of proxy pools and rate-limiting

