patchBay

12306 Train Tickets vs Uber

If you need a Transportation API that's easy to integrate, go with 12306 Train Tickets.

12306 Train Tickets

China Railway 12306 — train ticket availability, pricing, and schedule queries

Uber

Uber ride requests and price estimation

12306 Train Tickets

  • No authentication required
  • HTTPS supported
  • Currently flagged as inactive

Uber

  • HTTPS supported
  • CORS enabled for frontend use
  • Requires OAuth setup
  • Currently flagged as inactive
Feature12306 Train TicketsUber
AuthenticationNoneOAuth
HTTPSYesYes
CORSUnknownYes

When to use which?

12306 Train Tickets is the better choice for quick prototypes and hackathons since it requires no authentication. Uber works directly from the browser with CORS enabled, making it better for frontend-only apps.