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
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
| Feature | 12306 Train Tickets | Uber |
|---|---|---|
| Authentication | None | OAuth |
| HTTPS | Yes | Yes |
| CORS | Unknown | Yes |
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.