When to pick widget vs iframe vs API
Widget — best default. One script tag, matches your site's fonts and colours, mobile-responsive, opens the fare quote inline. Works on 95% of platforms. Iframe — for platforms that block third-party JavaScript (some corporate intranets, older CMSes). Slightly heavier but 100% compatible. REST API — when you want full custom UI in your existing React/Vue/Angular app, or you're building an OTA/hotel-concierge integration. Same backend, same dispatch queue for all three.