REST API for calculating official taxi fares in Duitama, Boyacá — Decreto 033 de 2026
The Duitama Taxi Pricing API calculates official taxi fares based on origin and destination neighborhoods in Duitama, Boyacá, Colombia. Send a pair of neighborhood names and the API returns the applicable fare, fare type (day or night), sector classification, and any active surcharges — all derived from the official rate table.The time and date used for fare calculation are taken automatically from the server clock in the Colombia timezone (UTC-5). You do not need to pass a timestamp.
All fares are established by Decreto 033 del 16 de enero de 2026, issued by the municipal government of Duitama. The API implements the complete fare matrix from that decree, including:
General sector table (primer sector through cuarto sector)
Terminal de Transporte table (different sector assignments for trips involving the bus terminal)
Special fixed-rate routes (rutas especiales únicas)
Holiday and year-end surcharge of $600 COP (Jueves/Viernes Santo and December 16–31)
AWS API Gateway REST (with caching on GET endpoints in production)
The Express application runs inside an AWS Lambda function. The API Gateway stage prefix (/qa, /staging, /production) is automatically stripped before requests reach Express, so routes behave identically across all environments.