DEV Community

Ajey Watson
Ajey Watson

Posted on

How I Built a Real-Time Vehicle Inspection Lookup Tool for Colombia (2026)

A few months ago, a friend asked me how to check if his car had passed its mandatory technical inspection. I told him to go to the RUNT portal — but the experience was slow, confusing, and nearly unusable on mobile. So I started digging into how the data actually works.

What I found surprised me. The information is public, it exists, and with a bit of work it can be consumed in a far more useful way.

The Real Problem

In Colombia, every vehicle must pass a Revisión Técnico-Mecánica (RTM) — a mandatory safety and emissions inspection carried out by authorized Centros de Diagnóstico Automotor (CDA). The government stores this data in the RUNT (Registro Único Nacional de Tránsito).

The problem isn't that the data doesn't exist. The problem is that querying it is:

  • Slow, with frequent timeouts

  • Unintuitive for non-technical users

  • Nearly unusable on mobile devices

  • Zero alerts, zero reminders

And the consequences of falling behind are real.

What Happens When the RTM Expires?

  • $633,111 COP fine (Infracción C35, 2026 rates)

  • Immediate vehicle impoundment

  • Additional towing and impound fees depending on the city

  • The infraction is registered in SIMIT — visible to traffic authorities nationwide

For a poorly managed 5-vehicle fleet, that can exceed $3,000,000 COP in a single quarter — in entirely avoidable fines.

What I Built

A lightweight lookup interface that takes a plate number as input and returns:

  • RTM expiry date

  • Current status (vigente / vencida)

  • Days remaining or overdue

  • Associated SOAT status

async function checkRTM(plate) { const res = await fetch(`/api/runt?placa=${plate}`); const data = await res.json(); return { status: data.rtm_vigente ? 'Vigente' : 'Vencida', expiry: data.rtm_fecha_vencimiento, daysLeft: calcDaysLeft(data.rtm_fecha_vencimiento) }; }

The Node.js proxy handles CORS restrictions from the official portal, and the vanilla JS frontend keeps the bundle minimal — loads in under 1 second even on slow mobile connections.

Why This Matters for Fleets and Businesses

For fleet managers, delivery companies, or any business running more than one vehicle — manually tracking RTM dates in spreadsheets is an accident waiting to happen.

One impounded vehicle on a delivery day doesn't just cost the fine. It costs the tow truck, the impound fees, the lost operational day, and the unhappy customer. All at once.

Automating the lookup and setting alerts 45 days before expiry eliminates that risk entirely.

Data Reference Used

To build the validation logic, deadlines by vehicle type, and 2026 fine structure, we used this tecnomecánica 2026 consulta guide as our primary reference — it covers CDA costs, deadlines for cars and motorcycles, early payment discounts, and the full step-by-step process.

Stack

  • Frontend: Vanilla JavaScript

  • Backend: Node.js (CORS proxy for RUNT)

  • Deploy: Vercel

  • Zero external dependencies — no frameworks, no npm bloat

What's Next

  • WhatsApp or email alerts before expiry

  • Multi-plate support for fleet management

  • Consultation history dashboard

Happy to open source this if there's interest — drop a comment with your use case and I'll publish it on GitHub.

Have you worked with RUNT data or similar vehicle registry systems in other countries? I'd love to hear how you approached it.

Top comments (0)