GET /api/v2026/barrios — Retrieve all neighborhoods grouped by sector
Returns every neighborhood in the fare database, grouped by sector. The response contains two tables: general (standard fare table) and terminal (fares that apply when the trip involves Terminal de Transporte or Carrera 42).
Use this endpoint to build autocomplete inputs or to validate neighborhood names before calling /calculate-fare. The names returned here are the canonical spellings the API expects. Matching is still accent- and case-insensitive, but autocomplete should display these canonical forms.
Mapping of sector labels to sorted arrays of neighborhood names. These are the neighborhoods used for all trips that do not involve Terminal de Transporte or Carrera 42.Keys are human-readable sector labels (e.g., "primer sector", "cuarto sector"). Values are sorted string arrays.
Mapping of sector labels to sorted arrays of neighborhood names for the Terminal de Transporte fare table. A neighborhood may appear here with a different sector than in general.Keys are human-readable sector labels. Values are sorted string arrays.
Some neighborhoods appear in both general and terminal with different sectors. For example, Sauna La Frontera is tercer sector in the general table but cuarto sector in the terminal table. The API automatically applies the correct table based on whether the trip involves Terminal de Transporte or Carrera 42.